Browse Prior Art Database

WYSIWYG Parametrical Automation Test Script Generation Method

IP.com Disclosure Number: IPCOM000198172D
Publication Date: 2010-Jul-29
Document File: 7 page(s) / 105K

Publishing Venue

The IP.com Prior Art Database

Abstract

This invention introduces a framework that provides a WYSIWYG GUI that the tester can make the control or values parameterized when recording.

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 45% of the total text.

Page 1 of 7

WYSIWYG Parametrical Automation Test Script Generation Method

This invention introduces a framework that provides a WYSIWYG GUI that the tester can make the control or values parameterized when recording. There are two kinds of input that can be parameterized. The user input text and the control that raises event (hereinafter referred to as "event control") in the testing. As to user input text, the tester uses a special token to indicate what he types should be parameterized in an input area such as a text box .

Figure 1 shows a possible embodiment of the token to indicate parameterization. The token is a pair of @@ and the text within the pair is indicated to be a parameter value . It is recognized as a parameter internally and the actual recorded value will be passed on .

Figure 1 A sample of user input text with tokens

As to the event control, the tester drags and drops the control he wants to parameterize into a perception region when recording. On receiving the input, the framework analyzes the control and lists its available properties such as text value, control class and hyperlink, etc. The tester chooses the properties that he wants to parameterize and assign them a unique name each. All the parameterized user input text and event controls will be recordedin a parameter entry file for the framework to interpret and generate a well organized structural test scripts.

Figure 2 shows a possible embodiment of event control parameterization. Take the hyperlink in a web page as an example and the rest parts such as Windows / Linux native GUI controls are almost the same. The tester get a detailed property list of the target event control by dragging and dropping the control into the control receiver, which may be a floating icon window. Then the tester can pick relative property values and parameterize them. Sometimes, one control's property depends on another control's property. The tester can do the drag and drop action twice and select the relative properties from two controls property lists .

1

[This page contains 1 picture or other non-text object]

Page 2 of 7

Figure 2 A sample of event control parameterization

This invention brings the following benefits :
1. The environment dependent resources is recognized and isolated from the invariant ones as early as possible which greatly reduce the cost and risk of script reflection later on. The tester no longer needs to find out the values he wants to parameterize in a plain source code, which brings considerable efforts and risks .
2. The control can be parameterized easily .

2

[This page contains 1 picture or other non-text object]

Page 3 of 7

3. The parameterization is displayed visually. Unlike code reflection, the tester can have a clear image of what and where his operation is parameterized.
4. The generated test scripts are more flexible and robust .
5. The invention shortens the automated test script development cycles .

1

1.

. Architecture of Functional Modules

Figure 3 sho...