Restoring the test environment before playback
The state of both the environment and the application-under-test can affect script playback. If the recorded environment and the playback environment are different, playback problems can occur.
About this task
Before playing back a script, verify that your application-under-test is in the same state that it was in when you recorded the script. Any applications and windows that were open, displayed, or active when you started recording the script must be open, displayed, or active when you start playback. In addition, restore any relevant network settings, active databases, and system memory to the same state as when the script was recorded.
Also, ensure that the scale and layout in the display settings of the system match with the settings used to create the test. The zoom level must always be 100%.
As part of your test process, you might want to do cross-JVM testing to verify that your applications run correctly under various JVMs. For information about supported JVMs, see Java Support.
Procedure
- Enable your web browsers and Java™ environments.
- Use the Configuration Editor to configure your applications for recording and playback.
- Set the appropriate playback preferences.Note: The license validation also happens during the functional test script playback. If you are using floating or token licenses, ensure that the required licenses to work with Rational® Functional Tester are available.