AI Locator Mapping for Automated UI Test Scripts

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Software automation testing requires extensive code inputs and element control method definitions, which can be cumbersome and resource-intensive, especially for complex user interfaces.

Innovation Solution

A computer server system that defines a class with generic element control methods, generates unique names for elements, maps these names to locators, and executes test scripts using an artificial intelligence engine to automate testing across various user interfaces.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional manual testing methods are used, then testing accuracy can be maintained, but testing efficiency and resource utilization deteriorate significantly

Engineering Contradiction:
Improvetesting efficiencyVSAvoidcomputing resources consumed
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The system enables self-service through AI-driven automated test script generation. The AI engine analyzes user interface elements and automatically creates test scripts without requiring manual programming, allowing the system to serve itself rather than requiring extensive human intervention for test script preparation

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces manual mechanical testing processes with AI-based automation. Instead of manually writing and executing test scripts, the system uses AI engines to generate, map, and execute tests automatically, substituting human labor with intelligent automation that consumes significantly fewer computing resources

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Reliability

If comprehensive element control method definitions are provided, then testing coverage is improved, but test script complexity increases

Engineering Contradiction:
Improvetesting coverageVSAvoidtest script complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system segments the testing process into distinct components: AI engine analysis, element identification, locator generation, and test execution. This segmentation allows comprehensive testing coverage to be achieved through modular AI processing rather than complex manual scripting, reducing overall test script complexity while maintaining thorough coverage

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an AI engine as an intermediary between the test script and the user interface elements. This intermediary automatically handles the complex tasks of analyzing elements, generating locators, and mapping controls, thereby maintaining comprehensive testing coverage while simplifying the test script itself

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of time

If AI engine is engaged to generate locators automatically, then test script preparation time is reduced, but system complexity increases

Engineering Contradiction:
Improvetest script preparation timeVSAvoidsystem complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The system performs preliminary action by having the AI engine analyze user interface elements and generate locators before test execution begins. This preliminary AI processing eliminates the need for manual locator creation during test script preparation, significantly reducing preparation time while the modular architecture keeps system complexity manageable

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20250307128A1System and method for executing a test script
Publication Date: 2025.10.02 THE TORONTO DOMINION BANK
  • US20250307128A1 patent drawing
  • US20250307128A1 patent drawing
  • US20250307128A1 patent drawing

AI summary

A computer server system comprises at least one processor; and a memory coupled to the at least one processor and storing processor-executable instructions which, when executed by the at least one processor, configure the at least one processor to define a class that includes at least one generic element control method; implement the class for a specific user interface type that requires the at least one generic element control method; generate a unique name for at least one element on a user interface of the specific user interface type; map the unique name to a locator for the at least one element; and execute a test script to perform automation testing on the user interface based at least on the mapping and the implemented class.