Running a Windows test
To verify that a Windows application works as designed, you must run the recorded Windows test. You can choose to run 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 run the Windows test on the local computer, you can directly run the Windows test. However, when you want to run 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 run the test:
- For the local computer, double-click the test, which you want to run, in the Test Navigator view.
- For a remote computer, perform the following steps:
- Go to tab.
- Select the Host check box.
- Specify the following details:
- The IP address of the remote computer in the Host field.
- Port number of the UI Test Agent that is running on the remote computer in the Port field.
- Double-click the test, which you want to run, 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 run the Windows test successfully. After the playback is completed, a unified report is generated for the Windows test.