Web Element Path Locator for Dynamic Pages

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing tools for determining web element paths in dynamic web pages are inefficient and prone to failure due to frequent changes in class, ID, and absolute paths, making web testing and automation fragile and labor-intensive.

Innovation Solution

An information processing system that determines web element paths relative to static web elements, using a web element path locator system to parse web pages, identify static elements, and calculate traversal paths to dynamic elements, thereby providing stable and reliable paths.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If existing tools use absolute paths, class names, or ID attributes to locate web elements, then path determination may work for static web pages, but the paths become fragile and prone to failure when web pages are dynamically updated

Engineering Contradiction:
Improvepath stabilityVSAvoidadaptability to dynamic web pages
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent introduces an intermediary approach by using static web elements as reference points or mediators between the testing system and dynamic web elements. Instead of directly locating dynamic elements through their changing attributes (ID, class, absolute paths), the system uses stable static elements as intermediaries to establish relative paths. This mediator approach allows the system to adapt to dynamic content changes while maintaining reliable path determination through the stable reference framework provided by static elements.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Extent of automation

If manual methods are used to determine web element paths in dynamic web pages, then some level of automation is achieved, but the process remains labor-intensive and time-consuming

Engineering Contradiction:
Improveautomation capabilityVSAvoidtime for path determination
Core Design Contradiction:
Extent of automationVSLoss of time

Solution Approach 1:

The system implements self-service by automatically parsing web pages, identifying static and dynamic elements, and generating relative paths without requiring manual intervention. The automated process includes: parsing the web page to identify elements, determining which elements are static versus dynamic, automatically calculating relative paths from static to dynamic elements, and maintaining the path database. This self-service automation eliminates the labor-intensive manual path determination process while significantly reducing the time required for path determination.

Inventive Principle:
Principle #25Self-service

3Productivity

If existing tools attempt to locate dynamic web elements using traditional methods, then they can find elements in static pages, but they fail or require frequent updates when page structure changes

Engineering Contradiction:
Improvetesting efficiencyVSAvoidpath reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies dynamics by creating a hybrid path determination system that combines static reference points with dynamic element targeting. The system dynamically adapts to web page changes by: continuously parsing web pages to identify updated elements, maintaining a database of static elements as stable references, and dynamically generating relative paths that can accommodate structural changes. This dynamic approach allows the system to maintain high productivity in web testing while ensuring path reliability even when page structures change, as the relative paths from static to dynamic elements remain valid despite dynamic content updates.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11200369B2Web element path location in dynamic web pages
Publication Date: 2021.12.14 EMC IP HLDG CO LLC
  • US11200369B2 patent drawing
  • US11200369B2 patent drawing
  • US11200369B2 patent drawing

AI summary

An apparatus comprises at least one processing device configured to perform steps of receiving a request to determine a path to a given web element of a web page of a web application and parsing the web page to detect web elements of the web page including the given web element and one or more additional web elements. The at least one processing device is also configured to perform steps of identifying one or more of the additional web elements having designated characteristics and selecting one of the identified web elements based at least in part on locations of the identified web elements, relative to the given web element, in a tree structure of the web page. The at least one processing device is further configured to perform the step of determining the path to the given web element from the selected web element.