Web Element Handler Classes for Automated Locator Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing web application testing methods require significant manual effort and expertise to create accurate locators for test automation, making the process tedious and inefficient.

Innovation Solution

Automated generation and management of locators for web elements by analyzing the Document Object Model (DOM) structure to identify elements, remove duplicates, and create XPaths and CSS Selectors, which are then used to generate handler classes, stored in a central repository, and accessed through a user interface.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If manual methods are used to create locators for web elements, then accuracy can be achieved, but significant manual effort and expertise are required making the process tedious and inefficient

Engineering Contradiction:
Improvetest automation creation efficiencyVSAvoidmanual effort required
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The system enables self-service by automatically generating locators through DOM analysis without requiring manual intervention. The automated locator generation service analyzes web application pages, identifies elements, and creates accurate locators autonomously, eliminating the need for test automation engineers to manually create locators while maintaining high accuracy

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the mechanical manual process of locator creation with an automated computational system. The DOM analysis service uses automated algorithms to parse web page structures, identify elements, and generate locators, substituting human manual effort with machine-based automation that is both efficient and accurate

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

2Extent of automation

If automated locator generation is implemented, then manual effort is reduced, but complexity in managing multiple accessibility methods (CSS Selectors, XPath) increases

Engineering Contradiction:
Improvelocator generation automationVSAvoidlocator management complexity
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The system implements universality by generating multiple types of locators (CSS Selectors, XPath expressions) through a single automated service. The locator generation service is designed to produce heterogeneous locator types that can be used across different test automation tools and frameworks, making the system versatile and reducing the need for separate tools for each locator type

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

Solution Approach 2:

The patent introduces an intermediary layer (the automated locator generation service) that manages the complexity of creating and maintaining multiple locator types. This service acts as a mediator between the web application structure and the test automation requirements, handling the complexity of DOM analysis and locator creation internally while presenting a simplified interface to users

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If multiple accessibility methods are created for each element, then versatility and test coverage increase, but the amount of data to be stored and managed in the central repository increases

Engineering Contradiction:
Improveelement accessibility optionsVSAvoiddata volume in repository
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The system merges multiple locator types for the same web element into a single centralized repository entry. Each element in the repository contains consolidated information including the element identifier, multiple accessibility methods (CSS Selectors, XPath), and associated metadata, reducing redundancy and simplifying data management while maintaining full versatility

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent performs preliminary organization of locator data during the automated generation process. The system pre-structures the repository entries with all necessary accessibility methods and metadata before they are stored, eliminating the need for subsequent data consolidation and reducing the overall data management burden

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12511343B2Heterogenous multi-tenant web application elements handler
Publication Date: 2025.12.30 DELL PROD LP
  • US12511343B2 patent drawing
  • US12511343B2 patent drawing
  • US12511343B2 patent drawing

AI summary

An example methodology includes, by a computing device, analyzing an application to identify one or more elements in the application and, for each element of the one or more elements, an attribution of the element. The method also includes, for each element of the one or more elements, by the computing device, determining an attribute of the element which is a non-duplicate attribute, creating a first accessibility to the element by the non-duplicate attribute, creating a second accessibility to the element by XPath, and storing the first accessibility and the second accessibility created for the element within a central repository. The method may also include, by the computing device, generating a handler class for an element of the one or more elements in the application, wherein the handler class contains code for accessing the element, and providing the generated handler class to another computing device.