Attribute-Based Web Automation Framework for No-Code Test Creation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing automation testing tool frameworks are complex, require additional programming, and are not intuitive, making it difficult for users without programming expertise to automate testing of web-based applications, especially when the application undergoes changes.
Innovation Solution
A lightweight automation testing tool framework that allows users to define test procedures using simple, user-friendly steps without requiring programming knowledge. The framework uses action, element, and value attributes to generate instructions for the web-driver to execute on the web-based application, enabling automation testing without additional coding.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Extent of automation
If existing automation testing tool frameworks are used, then testing automation capability is achieved, but the framework complexity increases and requires additional programming knowledge
Solution Approach 1:
The patent introduces an intermediary layer between the user and the web application consisting of a test procedure file with high-level steps and an automation testing tool framework that translates these steps into executable instructions. This intermediary abstracts away the complexity of direct programming, allowing users to define tests using simple, readable steps while the framework handles the complex translation and execution logic.
Solution Approach 2:
The automation testing tool framework performs self-service by automatically generating executable instructions from the test procedure file without requiring user programming. The framework identifies action handlers based on action attributes, generates appropriate instructions, modifies them based on value attributes, and executes them through the web driver, all autonomously based on the user-defined test steps.
2Extent of automation
If existing automation testing tool frameworks are used, then testing automation capability is achieved, but ease of operation deteriorates due to requiring programming expertise
Solution Approach 1:
The test procedure file serves as an intermediary that allows users to define test procedures using simple, high-level steps that do not require programming knowledge. The automation testing tool framework acts as a mediator that translates these user-friendly steps into the complex instructions needed for automation execution, thereby improving ease of operation while maintaining automation capability.
Solution Approach 2:
The patent changes the parameter of test definition from requiring programming code to using simple attribute-based steps with action attributes, element attributes, and value attributes. This parameter change makes test script creation accessible to users without programming expertise while the framework handles the transformation into executable automation instructions.
3Reliability
If traditional automation testing approaches are used, then testing can be performed, but adaptability decreases when the web application changes
Solution Approach 1:
The patent segments the testing approach into distinct components: test procedure definition, action handler identification, instruction generation, and execution. This segmentation allows each component to be independently adjusted when the web application changes, improving adaptability while maintaining reliable testing functionality through the structured framework.
Solution Approach 2:
The automation testing tool framework implements dynamics by allowing flexible modification of test procedures and automatic adaptation to application changes. The framework can identify and adjust action handlers, regenerate instructions, and reexecute tests based on changes in the web application, maintaining both reliability and adaptability.
Data Source
AI summary
A method of testing a web-based application comprising: at a computing device: receiving a test procedure, the web-based application having an associated web-based application code, the test procedure including at least one testing step comprised of at least an action attribute and an element attribute; for each of the at least one testing steps: identifying an action handler based on the action attribute; generating at least one instruction, by the action handler, and in accordance with a determination that the testing step is an interaction testing step and that there is a value attribute associated with the interaction testing step, modifying the at least one instruction based on the value attribute associated with the interaction testing step; and causing the web-driver to execute the at least one instruction on an identified section of web-based application code corresponding to the element attribute to perform an operation on the web-based application.


