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

You must have completed the following tasks:
  • Started the WinAppDriver or the Appium server and it must be running on the computer while you play back the Windows test.
  • Recorded a Windows test.

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.

Important: You must not lock the computer screen or minimize the application while you play back the Windows test. Otherwise, the playback is interrupted.

Procedure

  1. 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:
      1. Go to Windows > Preferences > Test Execution > Web UI Playback > Mobile Device tab.
      2. Select the Appium server host check box.
      3. 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.
      4. Double-click the test, which you want to play back, in the Test Navigator view.
  2. Click Run Test in the test editor.

    The test recorded on the Windows application is played back.

Results

The test recorded on the Windows application is played back. After the play back is completed, a unified report is generated for the Windows test.