A method for generating appium scripts from annotated variants
By adding specific syntax annotations to Appium scripts and using Xtext and Xtend code to generate new scripts, the problem of wasting time writing a large number of similar scripts in software testing and machine learning is solved, and the efficient generation of similar but different test scripts is achieved.
CN114936165BActive Publication Date: 2026-07-24NANJING UNIV
1 Cites 0 Cited by
Patent Information
- Application Number
- CN202210655506.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2026-07-24
- Estimated Expiration
- 2042-06-10
AI Technical Summary
Technical Problem
In software testing and machine learning, a large number of similar but different test scripts and training samples need to be written, resulting in wasted time.
Method used
Design a method for generating Appium scripts through annotation mutation. By adding specific syntax annotations to existing scripts, new scripts that meet user needs can be generated using Xtext and Xtend code.
Benefits of technology
It enables the rapid generation of a large number of similar but different test scripts, saving time on repetitive tasks in software testing and machine learning.
✦ Generated by Eureka AI based on patent content.
Abstract
The application is a method for generating Appium script from annotated variations, adding annotations to an Appium script code in a specific syntax to express the number of repetitions of a certain script line and variable requirements; inputting the annotated script into Xtext syntax to generate an Xtext syntax tree; inputting the Xtext syntax tree into Xtend code to process different components differently, and finally generating a new Appium script that meets the user's requirements expressed in the annotations. The application mainly consists of three parts: Appium script code annotation syntax, Xtext syntax for parsing annotated scripts, and Xtend syntax for generating new scripts from Xtext syntax trees. The application realizes the generation of a large number of similar codes from the original code with simple annotations, effectively solving the time-consuming and laborious problem of writing a large number of similar test scripts.
Need to check novelty before this filing date? Find Prior Art