Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Execute the QTp scripts when i lock my computer
#4
Solved: 8 Years, 3 Months ago
Hi Omkar,

I Would like to bring to your notice that QTP may not replay consistantly on a locked machine.

Quick Test Professional 9.5:
When running Quick Test 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.


Quick Test Professional 9.2:
When attempting to run a test from MDRV/Quality Center on a computer with an incompatible execution environment (such as a locked computer), Quick Test Professional 9.2 will not run the test and displays one of the following error messages:

The Quick Test Professional computer is locked or logged off.
Quick Test Professional was launched without permission to interact with the desktop.
The following registry key which enables you to run tests on a remote computer, even on an incompatible execution environment:
HKEY_CURRENT_USER\Software\Mercury Interactive\Quick Test Professional\MicTest\SkipEnvironmentChecks

Set the registry key to 1 to prevent the remote execution checks, and 0 to perform the checks.

Important note:
Note that tests may fail when run on a computer with incompatible execution environment. For more information, refer to the Non-version specific information section below.

Quick Test Professional 9.1:
When attempting to run a test from MDRV/Quality Center on a computer with an incompatible execution environment (such as a locked computer), Quick Test Professional 9.1 will not run the test and displays one of the following error messages:

-> The Quick Test Professional computer is locked or logged off.
-> Quick Test Professional was launched without permission to interact with the desktop.
Private patch QTP91P1602 (Add registry key to prevent remote execution environment checks) addresses this problem. This patch adds the following registry key which enables you to run tests on a remote computer, even on an incompatible execution environment:
HKEY_CURRENT_USER\Software\Mercury Interactive\Quick Test Professional\MicTest\SkipEnvironmentChecks

Set the registry key to 1 to prevent the remote execution checks, and 0 to perform the checks.

Important note:
Tests may fail when run on a computer with incompatible execution environment.

Finally I would rather suggest you to have a isolated-secured Test lab for scheduled script Execution thereby preventing the PC Locks.Smile
Reply


Messages In This Thread
RE: Execute the QTp scripts when i lock my computer - by sreekanth chilam - 11-25-2009, 01:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is it possible to execute Remote Agent witout ALM? CharlieMadrid 0 1,204 05-12-2020, 01:26 PM
Last Post: CharlieMadrid
  How to avoid system lock while running Windows Based Application SaranKumarV 6 21,666 03-21-2018, 04:18 PM
Last Post: blr.moin@gmail.com
  capturing message on web page when caps lock is on helan 0 2,381 04-29-2015, 05:25 AM
Last Post: helan
  How to execute a UFT script when computer is in locked state akilamurugesh 4 13,031 08-25-2014, 07:41 PM
Last Post: akilamurugesh
  Need to execute the QTP Script where QTP is not installed. prasannadr 0 2,383 06-20-2014, 07:15 PM
Last Post: prasannadr

Forum Jump:


Users browsing this thread: 1 Guest(s)