Test Generation

A GUI is made up by GUI elements.
A user interacts with these GUI elements to use the application.
There are at least three classes of GUI elements. The GUI element classes are:

  • Information
  • Input
  • Action

Information GUI elements are labels, imagines, etc.. Their purpose is to give meaning to the application but no functionality.

Input GUI elements are text fields, checkboxes, drop down lists etc.. Input GUI elements are used to bring data into the application, to select from data, to split between different application routes etc.. Input GUI elements allow the user to interact with the application. The data belonging to each Input GUI element has a certain range e.g. a text field can contain a string of the length 0 to 20, a checkbox is true or false and so on.

Action GUI elements are mainly buttons. Action GUI elements are used to trigger an action in the application.

An application is build using these three GUI element classes. Thereby the GUI elements are grouped together.
A Desktop application usually consists of a main window. The main window usually contains a menu. Starting from the main window all task of the application can be done by using the menu. Thereby different windows will be opened allowing the user to enter data dependent on the task which should be performed.
A Web application usually consists of several web pages. The user interacts with the application by filling in forms and clicking buttons.

In case all the Input and Action GUI elements are known it is possible to use the application by connecting the inputs with the actions. This connection can be made by the use of the business logic of the applications.

MyITest4U allows you to use the above considerations to build tests automatically. Thereby it is recommended to split the test generation into the generation of the test steps and the generation of test data for each generated test.