Playing back a Windows test
To verify that a Windows application works as designed, you must play back the recorded Windows test. You can choose to play back the Windows test either on the local computer or on a remote computer.
Before you begin
- Recorded a Windows test.
- Specified your preference for capturing the screen during the playback from tab, if necessary.
About this task
When you want to play back the Windows test on the local computer, you can directly play back the Windows test. However, when you want to play back on a remote computer, you must first specify the details of a remote computer before you play back the Windows test.
To workaround this missing action, you must update the test case to ensure that there is a test step to click on the embedded browser prior to the test steps interacting with the controls contained within the Add-in application window.
Some of these Add-In embedded browsers can have multiple containers and you can determine the correct container by using a trial and error method.
You can try the different available containers by highlighting this test step and clicking on the different containers available in the SmartShot View, and then right-click and choose Use this element as the step target. You can playback the test to check if the interactions are highlighted correctly. If not, you can repeat with a different container until the playback displays the interactions.
Procedure
-
Perform the following steps based on your choice to play back the test:
- For the local computer, double-click the test, which you want to play back, in the Test Navigator view.
- For a remote computer, perform the following steps:
- Go to tab.
- Select the Appium server host checkbox.
- Specify the following details:
- The IP address of the remote computer in the Appium server host field.
- Host number of the Appium server that is running on the remote computer in the Port field.
- Double-click the test, which you want to play back, in the Test Navigator view.
-
Click Run Test in the test editor.
The test recorded on the Windows application is played back.
Results
You have played back the Windows test successfully. After the play back is completed, a unified report is generated for the Windows test.