Subscribe to SoftLogica
Newsletter to get 10% discount on newly
released products!
Editing Page Requests
Editing Page Requests
All requests of user profile are displayed in Navigation Pane - in Initial,
Main or Final folders (test
sequences).
The properties specified for current profile will be used for all its requests.
However, you can change some of these properties for individual
requests.
Click on any request in Navigation Pane and its properties will be displayed
in the right pane on the Properties tab.
Name:
Here you can change page name. For example, instead of default names
page_1, page_2, you can type names with the certain meaning (for example,
"Login", "Catalog", "Forum" etc).
Server:
Here you can modify server name and port number.
Secure:
Mark this checkbox if you wish to test pages that require SSL connection.
URL address of such pages will start with https://.
URI:
You can use either recorded URI, or get it dynamically at run-time.
To get URI dynamically, you should use variables. First, you will need
to define variables, and
then click the Use Variable... button and in the displayed dialog,
select desired variable.
Method:
Select GET or POST request method.
When GET method is used, parameters are transmitted in page request
string.
When POST method is used, parameters are transmitted implicitly
(they are not specified in page request string).
Encoding:
Here you can select another encoding that will be used during test runs
for request parameters containing text strings.
You will need this option for testing multilingual web sites. When WAPT
records a page, it uses the encoding specified in Internet Explorer
options. During test runs, WAPT uses the
encoding selected in Encoding combo-box. Default encoding here
corresponds to the default locale in your Regional Options (Start
-> Settings -> Control Panel -> Regional Options). However,
you can select any other encoding for your requests, and it will be
used during test runs.
User
think time: This option is enabled only in case you have chosen
the option As in request for user think time in properties of
current profile.
In other cases (Disable or Random from range options of
user profile), you won't be able to modify delays for individual requests.
Specify 2 values: minimum and maximum values of delay. Then the delay
for current page request will be taken from the specified range at random.
You can set some constant delay: for this, specify equal limits of range.
Parameters:WAPT provides you with a number of functions
for dynamic calculation
of request parameter values at run-time. The resulted value can be also
calculated as the concatenation of results of some functions. See Advanced
Tasks for detailed description of functions and functions editor.
Add..: Opens the Edit Parameter dialog where you
can define a new parameter and a function for its calculation.
Remove: Removes selected parameter from the list.
Edit..: Opens the Edit Parameter dialog where you
can modify properties of selected parameter: name and function for
its calculation.
Variables:
You can use variables to calculate parameters and URIs. To define a variable,
you can use functions that parse actual HTML code of response at run-time.
Add..: Opens the Edit Variable dialog where you
can define a new variable and a function for its calculation. Note
that created variable will be available only in subsequent requests.
Remove: Removes selected variable from the list.
Edit..: Opens the Edit Variable dialog where you
can modify properties of selected variable: name and function for
its calculation.
Load
images: This option is enabled only in case the corresponding checkbox
Load images is enabled in profile
properties. If this option is disabled in profile properties, then
all pages of current user profile will be loaded without images. Load images checkbox is identical to Show pictures checkbox
in advanced Internet Explorer options. If you clear this checkbox, then
the current page will be loaded without images.
You can see the list of image URL addresses. If the Load images
option is enabled for current page, then all images that are checked
in the list will be requested during test run. Click on image checkbox
to check/uncheck it. You can edit URL addresses of images: click on
desired address in the list, modify it and press Enter.
Add..: Adds a new string to the end of the list. Specify
URL of desired image and press Enter.
Remove: Removes selected image URL from the list.
Select All: Selects all image URLs in the list.
Select None: None of image URLs will be selected.
HTTP
Headers..: Enables to edit custom strings in HTTP header of current
page request.
By default, HTTP headers specified for the whole user profile will be
used for all its requests. However, you can change HTTP header for individual
requests.
Add: Adds a new custom string to the list. Specify string
name and value.
Remove: Removes selected custom string from the list.