Self-Curative Automate for Adaptive UI Testing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Automated test scripts for web-based applications fail when UI elements undergo changes, requiring re-recording of tests, which is inefficient and time-consuming.

Innovation Solution

A self-curative testing interface that identifies changes in UI elements' properties during execution and generates modifications based on ranking, allowing for automatic adaptation and continued testing without the need for re-recording.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If automated test scripts are used for web-based applications, then testing efficiency is improved, but the scripts fail when UI elements undergo changes requiring re-recording

Engineering Contradiction:
Improvetesting efficiencyVSAvoidscript execution reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements dynamic property selection for UI element identification. Instead of relying on fixed UI element properties that may change, the system dynamically selects and adapts to available properties during test execution. When a UI element's properties change, the system can switch to alternative properties or adjust its identification strategy, allowing the automated tests to continue executing reliably without requiring complete re-recording.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameters used for UI element identification based on the current state of the application. By monitoring which properties are available and stable across different application versions, the system adapts its identification parameters dynamically. This allows the same automated test script to work across multiple versions of the application even when UI elements undergo changes.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If UI element properties change during application updates, then application functionality is improved, but automated testing requires manual re-recording which is time-consuming

Engineering Contradiction:
Improveapplication update flexibilityVSAvoidtime for re-recording tests
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system performs preliminary analysis of UI element properties before test execution to identify stable, reliable properties for identification. By pre-establishing a hierarchy of preferred properties and having backup options ready, the system is prepared in advance to handle property changes without requiring manual intervention during testing updates.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The automated testing system serves itself by automatically adapting to UI changes without requiring manual re-recording. The system monitors property changes, selects alternative properties autonomously, and adjusts its identification strategy independently, eliminating the need for manual test maintenance and significantly reducing the time required to accommodate application updates.

Inventive Principle:
Principle #25Self-service

3Productivity

If traditional automated testing is used, then initial test execution is efficient, but continuous maintenance becomes complex and time-consuming

Engineering Contradiction:
Improveinitial test execution efficiencyVSAvoidtesting system maintenance complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system implements feedback mechanisms that monitor the success and failure of UI element identification during test execution. When identification fails due to property changes, the system learns from this feedback and automatically adjusts its property selection strategy. This continuous feedback loop simplifies maintenance by enabling the system to self-correct without complex manual intervention while preserving initial execution efficiency.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11281569B2Self-curative computer process automates
Publication Date: 2022.03.22 SAP SE
  • US11281569B2 patent drawing
  • US11281569B2 patent drawing
  • US11281569B2 patent drawing

AI summary

Systems, methods, and products, are described herein for self-curative computer process automates. Execution of an automate for testing of an application is initiated. The application includes a plurality of user interface elements, each user interface element having a plurality of properties. A change to a user interface element of the plurality of user interface elements during the execution of the automate is identified based on a change to at least one property of the plurality of properties associated with the user interface element. A modification to the plurality of properties associated with the user interface element is generated based on a ranking of the plurality of user interface elements, the generated modification curing the change to the at least one property. The generated modification is caused to display on a graphical user interface for further acceptance of the generated modification to the automate.