Configuring Play Settings and Host-Port Settings

Play Settings

 

Play->Play Settings menu item enables you to do the following:

Configuring Play Settings Options

 

Normal - To play the recorded Web test cases with same speed as that of recording time, select "Normal".
Fast
- To play the recorded Web test cases fast so that as soon as one task is over the other one starts immediatey, select "Fast".

Timeout for Waiting - You can enter the time in seconds which will be assumed as the Timeout value for certain operations so that while replaying the test cases control does not wait indefinetely.

Locale Settings - Select the check box "Locale Needed" and select the "Language" and "Country" to replay the recorded scripts with the desired locale.

 

Configuring Host and Port Settings

 

You can dynamically change the host and port configuration during playback using the Host-Port Settings UI. This UI is invoked by clicking the Play->Play Settings menu option. Assume you have multiple scripts in a suite where the recorded URLs in each of the script includes the host and port details such as launchApplication("http://test-server:8080/homepage/index.html",2). To test the same set of scripts with  different servers and port numbers, you need to manually change the host or server name and port number in all of these recorded URLs which will be a tedious task. To ease this process, you can use the Host-Port Settings UI to specify the existing host name and port number in the recorded URLs and the new host name and port number to be tested. This will dynamically playback the recorded URLs with the configured host name and port number. This will enable you to test the recorded scripts with different host name and port number without re-recording.

 

In the Host-Port Settings UI,

The above configuration will dynamically fetch the configured host name and port number and replays the recorded URLs with the specified values.


Copyright © 1999-2004, AdventNet Inc. All Rights Reserved.