Editing Test Sequences


When you use WAPT Pro Recorder, the program records the steps of your activity in browser as you navigate through a web site and puts all recorded pages to the selected profile in the Navigation Pane.

You can add page URLs to the test sequence manually. For this, select a profile in the Navigation Pane and click Add -> Request on the program toolbar. Or you can right-click on any profile and select the New Request option on the context menu.

If you click on any request in the Navigation Pane, you will see its properties in the right pane. Here you can view and modify request properties.

You can duplicate any request in the test sequence: right-click on a desired request in the Navigation Pane and select Duplicate on the context menu. The new request will have the same properties as the original one.

You can delete any request from the test sequence: right-click on a request in the Navigation Pane and select Delete on the context menu.

You can change the order of requests in the test sequence: simply drag&drop pages in the Navigation Pane to form a desired sequence. You can also drag&drop pages between different profiles.

You can add more reality to your tests using the Loop operator. Add a loop to the recorded sequence and put pages that should be repeated several times during a user session to that loop. So the session of each virtual user can be divided into 3 parts:

Initial actions - for example, login or registration. This part consists of pages that are performed once at the beginning of user session.

Main Loop - iterative actions like surfing a product catalog or forum, searching for a specific product or topic and so on.

Final actions - for example, finalizing a purchase or logout. This part consists of pages that are performed once at the end of user session.

If you organize the test sequence of some profle in this way, then the session of each virtual user of that profile will include a single execution of Initial actions, then the repeat of Main Loop, and at the end a single execution of Final actions.

Pages included in the loop will be repeated the number of times specified in loop properties.

You can use other WAPT Pro operators to manage the behaviour of virtual users during tests. See the topic Operators for Managing the Behaviour of Virtual Users for details.

Next page