Play->Play Settings menu item enables you to do the following:
Set the speed with which the recorded test cases will be played
The maximum time for which Web tester needs to wait for playing a recorded operation.
To playback the scripts with the desired locale.
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,
Click the check-box "Use Configured Host & Port" option, so that QEngine replays the recorded scripts with the configured host name and port number.
Click the More button to add a new row.
In the Host field, enter the existing host name in the recorded URL.
In the Change To field next to the Host field, enter the new host name to be fetched dynamically and replayed.
In the Port field, enter the existing port number in the recorded URL.
In the Change To field next to the Port field, enter the new port number to be fetched dynamically and replayed.
Click the OK button to save the changes. To add more configurations, you can click the More button.
The above configuration will dynamically fetch the configured host name and port number and replays the recorded URLs with the specified values.