Browse Prior Art Database

GUI automation test system: automatically generate efficient, accurate, robust test scripts for a web application

IP.com Disclosure Number: IPCOM000191746D
Original Publication Date: 2010-Jan-14
Included in the Prior Art Database: 2010-Jan-14
Document File: 3 page(s) / 184K

Publishing Venue

IBM

Abstract

Disclosed is to provide a tool / plug-in which can generate test scripts automatically. These scripts can cross languages, builds and adapt strings or translation change. It also improves the accuracy and efficiency of the object recognition. The accurate object recognition is one of the most important characters of a successful GUI automation test system. The core idea of the invention is to have a plug-in to install on RFT (Rational Functional Tester). This plug-in not only generate test script easily and quickly but also improve the accuracy and efficiency while testing. Furthermore, just one scripts can execute for all language versions without extra work. This script is easily maintain and troubleshooting with high flexibility.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 51% of the total text.

Page 1 of 3

GUI automation test system: automatically generate efficient, accurate, robust test scripts for a web application

1. Automation test is quite popular as its reliability, efficiency, consistency. The two comment strategies to create GUI test scripts are "script writing" and "record-playback". The two developing ways both have limitation. 1.1 Scripting writing:

a. Require long development time and high tech skills. The code require maintain and update. b. The developers usually select the properties which can display on UIs, like "text", "title" or "name", etc to recognize an object. By using those kind of unique properties to recognize an object, the recognition rate is very accurate but can't accommodate to different languages test. 1.2. Record-playback: Record the script by using RFT (Rational Functional Tester), generate Object map. Implement some functions to generate Object recognize code by the object map structure. a. Record-Playback can generate test scripts easily but the re-usability is bad. Any UI change or build change require re-work. b. The object map use all proprieties of an object to recognize the object. One script can't test different language version. c. hard to maintain and low flexibility.
2. The main idea of this invention is to provide a tool / plug-in which can generate test scripts automatically. These scripts can cross languages, builds and adapt strings or translation change. It also improves the accuracy and efficiency of the object recognition. The accurate object recognition is one of the most important characters of a successful GUI automation test system. The tool / plug-in analyzes the structure of the application and categorizes the objects under one web page, then create a tree structure which contents the containers that the objects belong to. When using dynamic searching an object, the tool can narrow down the searching scope layer by layer according to "the container tree" it created. This method can greatly improve the efficiency and accuracy of object recognition. Because the search scope has narrowed by "the container tree", the scripts don't need to adopt the properties which unique display on UIs and still can catch the target object and operate it. It allows users to select the properties which are constant between builds, browsers, languages, even releases as the objects recognition attributes. So only one script can execute across builds, languages, browsers and releases. Small UI change and strings or translation update won't effect the accuracy of the scripts. This invention will discuss about a concept called, cont...