Unable to play back tests when the computer is locked

The functional test script fails to identify the correct control and the playback fails if your computer is locked during the playback.

Cause

The playback fails because the inputChars() or inputKeys()methods that are used in the test script do not place the cursor at the correct text entry point to enter the text when the computer is locked or inactive.

Resolution

You must perform the following steps:
  1. Replace click() & inputChars() and click() & inputKeys() with the setText() api method in the test script.
  2. Save the script, and then run the test.