Browse Prior Art Database

Method for updating changed graphic user interface (GUI) objects in the test script automatically

IP.com Disclosure Number: IPCOM000210885D
Publication Date: 2011-Sep-14
Document File: 6 page(s) / 257K

Publishing Venue

The IP.com Prior Art Database

Abstract

In the field of test automation, more than 95% time of the lifecycle of a test script is in the maintenance phase. However, in the maintenance phase, traditional automation frameworks could not update the test scripts automatically and require huge human efforts on scripts updating work. Therefore, the infinite maintenance efforts on test scripts updating work already becomes to the biggest obstacle for sponsors to adopt test automation methodology. Actually, many changes of test scripts are the changes of GUI objects of AUT. And, many changes of GUI objects are always minor and regular. For this reason, the automation framework could automatically detect the most of changes and update the test script accordingly. This disclosure presents a method for updating recognition information of changed GUI objects in test script automatically, which could reduce the maintenance effort considerably and increase the probability of success for test automation greatly.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 37% of the total text.

Page 01 of 6

Method for updating changed graphic user interface (GUI) objects in the test script automatically

In the traditional way, by the execution engine, a test script is executed on the application under test (AUT). During execution, if the test script requires interaction with the graphic user interface (GUI) object of the AUT, the test script attempts to recognize the GUI object of AUT by its recognition information which has been recorded in the test script in advance. Without correct recognition information in test script, the GUI object of AUT could not be found precisely by execution engine. Actually, almost all software always keeps evolving and their GUI objects are changing accordingly all the time. However, in the traditional methodologies, a test script for the AUT won't get updated according to the changes of GUI objects automatically; therefore its execution will fail because its recognition information of the GUI objects of AUT is outdated. In this case, for ensuring the continuous validity and reusability of test script, the only way to update the test script is that the tester updates the recognition information for the changed GUI objects in the test script manually.

Chart 1: Traditional Automation Framework

(This page contains 00 pictures or other non-text object)

Chart 2: Traditional Execution Workflow

1



Page 02 of 6

(This page contains 00 pictures or other non-text object)

At present, many test automation tools are using this traditional methodology.

The major disadvantages of the traditional method are:

Passively face the continuous evolution of AUT and could not automatically update the changed GUI objects in the test scripts;

Requires quite a lot of human's efforts on maintenance work for updating the test scripts (This already becomes to the biggest obstacle for sponsors to adopt test automation methodology.)

Actually, many changes of test scripts are the changes of GUI objects of AUT. And, many changes of GUI objects are always minor and regular. For this reason, the

2



Page 03 of 6

automation framework could automatically detect the most of changes and update the test script accordingly. This disclosure presents a method for updating recognition information of changed GUI objects in test script automatically, which could reduce the maintenance effort considerably and increase the probability of success for test automation greatly.

The disclosure could bring following advantages to the automation field:

Provides a brand new method to actively detect the changes of GUI objects and automatically update related test scripts;

Requires much less human's efforts on maintenance work for updating the test scripts and this will increase the probability of success for test automation greatly.

This disclosure provides a method for updating recognition information of changed GUI objects in test script automatically, instead of the traditional solutions which mainly depends on manual work. In this disclosure, during execution...