QTP/UFT support tip: When running Bitmap checkpoints on locked session returns black image
The problem is because QTP and UFT don’t support locked or non-logged sessions
When running QTP scripts (or UFT GUI scripts) on a remote machine using a Remote Desktop Connection session (RDC) or using Citrix, if the remote session is minimized during the run session, or if the computer on which the application is being tested is logged off or locked, the following problems may occur:
- the test or component run session may fail
- steps that contain keyboard or focus operations may fail
- the Test Results still image capture and/or the Screen Recorder may display a black screen
- Steps for which the device level replay is configured to use the mouse (instead of browser events) to run mouse operations may fail. (You set the device level replay using a Setting.WebPackage("ReplayType") statement or by setting the Replay type option in the Advanced Web Options dialog box.)
Workaround: If you are using Citrix or a Remote Desktop Connection session to run a test or component, do not minimize the session window, and make sure that the computer on which the application is being tested is not logged off or locked.
For more information visit the KB article below:
If you find that this or any post resolves your issue, mark it as an accepted solution.
Note: The Opinions expressed in my post are mine alone, and do not reflect the opinions of my employer. No warranties express or implied for any answered posted.