Parameterization Settings


WAPT Pro can automatically search for dynamic data during recording. On the Parameterization tab of program settings you can specify the search options. There are 2 ways of search for dynamic data in WAPT Pro.

1. Search for strings between specified boundaries
If you know that some dynamic value is always surrounded by the certain strings on the left and on the right, you can specify those strings and organize the search. For example, you know that session IDs on your site are always placed between the same delimiters: "SessionID=" on the left, and "&" on the right. To organize the search, you should check the option "Search for strings between specified boundaries" and specify the boundaries. In this example, the left boundary is "SessionID=" and the right boundary is "&".

2. Extract to variables values of hidden fields in HTML forms
If you know that dynamic data on your site is kept mainly in the hidden fields of HTML code, you should check the option "Extract to variables values of hidden fields in HTML forms". Then the program will look through all hidden fields of HTML pages during recording to find the dynamic data there.

If WAPT Pro finds dynamic values in responses during recording, it automatically creates the corresponding variables. Variables are further used to calculate values of parameters in subsequent requests and also correct URL paths of subsequent requests depending on page content.

This feature considerably simplifies the design of tests for pages with dynamic content. For details, see the topic Automatic Parameterization of Requests.

Search for strings between specified boundaries: If this option is enabled, WAPT Pro will search for dynamic data located between the certain strings - left and right boundaries during recording.

Add: Adds a new parameter to the list of parameters for search.

Name: Here you can change the name of parameter.
Left boundary: Enter the text string which is the left boundary of the searched dynamic value.
Right boundary: Enter the text string which is the right boundary of the searched dynamic value.

Delete: Deletes selected parameter from the list.

Move Up: Moves selected parameter one step up in the list.

Move Down: Moves selected parameter one step down in the list.

Extract to variables values of hidden fields in HTML forms: If this option is enabled, WAPT Pro will look through all hidden fields of HTML pages during recording to find the dynamic data there.

Do not create variables for unused values: If this option is enabled, WAPT Pro will create variables only for used values. For example, if some hidden value in the form is not used anywhere in test scenario, WAPT Pro will not create a variable for it.

Next page