Absent Member.. vzamoraz Absent Member..
Absent Member..

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:

Can QuickTest Professional (QTP) or Unified Functional Testing (UFT) GUI scripts replay on a locked or logged off machine?



HP support
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.



Labels (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.