UI Control Property Segmentation for Test Automation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing desktop UI test automation tools face challenges in compatibility with multiple technologies for creating user interfaces, leading to inefficiencies in capturing and utilizing the properties of UI controls for testing purposes.
Innovation Solution
A method and system that detect and retrieve property values of selected UI controls, generate a control file with UI control definitions, and create a repository class with handles to facilitate efficient UI test automation across multiple technologies.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If existing desktop UI test automation tools are used, then functional testing can be performed, but compatibility with multiple UI technologies is poor and the tools capture excessive information leading to inefficiency
Solution Approach 1:
The patent segments the UI control properties into essential and non-essential categories. The system selectively captures only the essential properties needed for test automation across different UI technologies, rather than capturing all properties. This segmentation enables multi-technology compatibility while maintaining testing efficiency by reducing unnecessary data processing.
2Loss of information
If all properties of UI controls are captured, then complete information is obtained, but unnecessary information increases complexity and reduces efficiency
Solution Approach 1:
The patent extracts only the essential properties of UI controls that are necessary for test automation functionality. By taking out and capturing only these critical properties rather than all properties, the system maintains complete necessary information while reducing the complexity of the test automation process and improving overall efficiency.
3Reliability
If manual test case creation is performed, then testing can be conducted, but the process is time-consuming and labor-intensive
Solution Approach 1:
The patent performs preliminary action by automatically generating test cases and control files based on the captured essential UI control properties. This preliminary automated generation of test artifacts significantly reduces the time required for test case creation while maintaining comprehensive testing coverage, eliminating the need for manual test case writing.
4Measurement precision
If comprehensive UI control information is captured, then accurate testing is achieved, but the data processing burden increases
Solution Approach 1:
The patent applies partial action by capturing only the essential properties of UI controls rather than all properties. This selective capture maintains accurate identification and measurement precision of UI controls while significantly reducing the computational resources and data processing burden required to handle the information.
Data Source
AI summary
A method, comprising: detecting a selection of one or more user interface (UI) controls in a user interface of an application; retrieving a respective property value set for each of the selected UI controls, the respective property value set for any of the selected UI controls including respective values of one or more properties of the selected UI control; generating a control file, the control file including one or more UI control definitions, each of the UI control definitions corresponding to a different one of the selected UI controls, each of the UI control definitions being generated based on the respective property value set for the UI control that corresponds to the UI control definition; and generating a repository class including one or more handles, each of the handles being configured to return an object corresponding to a different one of the selected UI controls.


