Processing automation scripts of software
AssigneeInternational Business Machines Corporation
InventorsXue Shen, Qi Wei Zhang
Life of this patent
Estimating the term…
Abstract
Processing automation scripts used for testing pages includes running the automation scripts using a processor, searching for an element on the page according to locating information in an instruction of the automation scripts, collecting element-related information of the element in response to finding of the element on the page according to the locating information, and associating the collected element-related information of the element with the instruction of the automation scripts. The element-related information associated with the instruction is saved.
Claims10
1-15. (canceled)
A method of processing an automation script used for testing a page, the method comprising:
- executing the automation script;
- searching for an element on the page according to locating information contained within an instruction of the automation script;
- collecting, responsive to finding the element on the page according to the locating information, element-related information;
- determining, according to the collected element-related information, that a better instruction for performing the searching exists;
- and
- updating, using the better instruction, the automation script.
A system configured to process an automation script used for testing a page, comprising:
- a hardware processor configured to initiate the following executable operations:
- executing the automation script;
- searching for an element on the page according to locating information contained within an instruction of the automation script;
- collecting, responsive to finding the element on the page according to the locating information, element-related information;
- determining, according to the collected element-related information, that a better instruction for performing the searching exists;
- and
- updating, using the better instruction, the automation script.
A computer program product for processing automation scripts used for testing a page, comprising:
- a computer hardware storage device having stored thereon program code,
- the program code, which when executed on a computer hardware device, causes the computer hardware device to perform:
- executing the automation script;
- searching for an element on the page according to locating information contained within an instruction of the automation script;
- collecting, responsive to finding the element on the page according to the locating information, element-related information;
- determining, according to the collected element-related information, that a better instruction for performing the searching exists;
- and
- updating, using the better instruction, the automation script.
Dependencies are inferred from the claim text.