UI Map Manager for Duplicate Locator Validation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Automation testing of user interface (UI) controls in object repositories (OR) lacks the ability to accurately verify the accuracy of locator values, leading to potential errors in UI functionality, as incorrect locator values can result in incorrect actions being triggered.

Innovation Solution

An OR testing system that includes a UI map manager to check for duplicate locator values, automatically regenerate lists, and update the OR in real-time, ensuring each UI control has a unique locator value, thereby enhancing the accuracy of UI control testing and the health of the OR.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If automation testing is performed without checking locator value accuracy, then testing speed is maintained, but testing reliability deteriorates due to potential errors in UI functionality

Engineering Contradiction:
Improvetesting reliabilityVSAvoidtesting system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs preliminary validation of locator values by checking for duplicates in the object repository before automation testing executes. The UI map manager scans the UI map to identify duplicate locators and prevents test execution until duplicates are resolved, ensuring testing reliability without adding complex validation layers during test execution.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a UI map manager as an intermediary component between the object repository and the automation testing framework. This mediator scans the UI map for duplicate locators and manages the validation process, separating the complexity of locator validation from both the object repository structure and the test execution logic.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If duplicate locator checking is implemented, then locator accuracy is improved, but testing time increases due to additional validation steps

Engineering Contradiction:
Improvelocator value accuracyVSAvoidtesting time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs duplicate locator checking as a preliminary step before test execution. By validating all locator values in advance and generating a report of duplicates, the system ensures locator accuracy is verified once upfront rather than repeatedly during test execution, minimizing time loss.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The UI map manager autonomously scans the UI map, identifies duplicate locators, and generates validation reports without requiring manual intervention. The system self-validates the locator values and provides clear guidance on duplicates found, reducing the time investment required from testers.

Inventive Principle:
Principle #25Self-service

3Reliability

If comprehensive OR health checking is performed, then testing reliability is enhanced, but system complexity increases due to additional checking mechanisms

Engineering Contradiction:
ImproveOR healthVSAvoidchecking system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the OR health checking functionality into a separate, dedicated UI map manager component. This extraction isolates the complexity of health validation logic from the core automation testing framework and object repository management, allowing comprehensive checking without proportionally increasing overall system complexity.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The UI map manager serves multiple functions: it manages the UI map structure, validates locator values for duplicates, generates health reports, and prevents test execution when issues are detected. By consolidating these diverse functions into a single multi-functional component, the system achieves comprehensive OR health checking without proportionally increasing system complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11176022B2Health diagnostics and analytics for object repositories
Publication Date: 2021.11.16 BANK OF AMERICA CORP
  • US11176022B2 patent drawing
  • US11176022B2 patent drawing
  • US11176022B2 patent drawing

AI summary

A method for checking a plurality of user interface (“UI”) controls implemented in a UI map of a web application is provided. The method may include creating the UI map. The UI map may include the plurality of UI controls and corresponding locator values, each stored in an object repository (“OR”). The UI map may also include attributes associated with the UI controls. The method may include analyzing and checking the structure of the UI map prior to testing the web application. The analyzing may include checking the structure of the UI controls and of the associated attributes. The analyzing may also include searching for duplicate locator values assigned to the UI controls. Checking the structure and searching for duplicate locators may be performed at each of the root level, browser level and page level of the UI map.