Browse Prior Art Database

Method of Self-learning GUI(Graphical User Interface) Automation Test based on Application State and Business Process

IP.com Disclosure Number: IPCOM000249463D
Publication Date: 2017-Feb-28
Document File: 7 page(s) / 143K

Publishing Venue

The IP.com Prior Art Database

Abstract

For recent way of GUI(Graphical User Interface) test is not much intelligent and only can cover parts of test cases. Once the customer requirements are changed, the reusability is not ideal. This disclosure can generate the state transition diagram based on first time automatically discovery and record, then the further test cases can be run with the random state nodes combination as the reliant sequence. After the initial test cases and paths are generated, it needs to input the business process, so the automation running test cases can learn the business process timely, even though there are changes during the development cycle, the user can be adjusted the business process so that the automatically system can learn the changes and adaptively and automatically run the new test cases. Using this way,it can save the maintain cost of test cases and test scripts, it also can improve the flexibility.

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

1

Method of Self-learning GUI(Graphical User Interface) Automation Test based on Application State and Business Process

It is common challenge of GUI(Graphical User Interface) application test for all testers especially when wanting to run an intelligent,

sufficient, efficient, quantificational test. For current ways of GUI test are not much intelligent and only can cover parts of test cases. Once the

customer requirements are changed, the reusability is not ideal. This disclosure can generate the state transition diagram based on first time

automatically discovery and record, then the further test cases can be run with the random state nodes combination as the reliant sequence. After

the initial test cases and paths are generated, it needs to input the business process, so the automation running test cases can learn the business

process timely, even though there are changes during the development cycle, it can be adjusted the business process so that the automatically

system can learn the changes and adaptively and automatically run the new test cases. Using this way, it can save the maintain cost of test cases

and test scripts, it also can improve the flexibility.

For this kind of finite-state machine, this system can automatically discover the following steps based on business process.

The traditional recording tools do not support capturing more information. What's more, it can't decide how the problem will be executed with

intelligence. So the key point to to make the program more smart and self-adaptive, capturing more information during the recording stage such

as the state of the program, the data related with the business process, etc. Then the program can cover more scenarios during playback in

addition to those recorded.

Innovation point: Customize the execution path of the program with intelligence

The path may not be covered by human being. Merge multiple graphs, and generate new execution path automatically.

This disclosure can generate the state transition diagram based on first time automatically discovery and record,

All the automation running test cases can learn the business process timely, even though there are changes during the development cycle, 

the user can adjust the business process so that the automatic system can learn the changes and adaptively and automatically run the new

test cases. Using this way, it can save the maintain cost of test cases and test scripts, it also can improve the flexibility.

If all the application state and transition information is recorded, then it can automatically traverse all related application path which the 

user cares. If you give a specific state, then it can start from this state node ,and traverse the all possible paths in the flowing steps based on

logical sequence. So that it can cover most of the important test cases and functions based on newest Business Process.

2

Figure 1 The process of state and process based recording and self learning

3

Below is the flowchart:

1. A...