08-24-2010, 09:52 PM
Hi,
We can lock a computer using the code but I hope unlocking a pc is not possible.
Note: Would like to bring to your kind notice that QTP may not replay consistently on a locked machine.
Since following problems may occur in doing so:
1. The test or component run session may fail
2. steps that contain keyboard or focus operations may fail
Hence we should make sure that the computer on which the application is being tested is not logged off or locked.
Suggest to schedule scripts in a secure Lab environment for better results in long run.
We can lock a computer using the code but I hope unlocking a pc is not possible.
Note: Would like to bring to your kind notice that QTP may not replay consistently on a locked machine.
Since following problems may occur in doing so:
1. The test or component run session may fail
2. steps that contain keyboard or focus operations may fail
Hence we should make sure that the computer on which the application is being tested is not logged off or locked.
Suggest to schedule scripts in a secure Lab environment for better results in long run.