Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to execute a UFT script when computer is in locked state
#1
Not Solved
Hello All,

This is Akila.
We are using UFT 11.53 in Win 7 environment.

I have a UFT script that is used to login to the virtual client where our automation test scripts are scheduled. This script has to be triggered by 11:45 PM everyday . I have created a task for this in the windows task scheduler . As I do not have admin rights this task is not getting triggered
when my computer is in locked mode. If my computer is not in locked state this task is getting triggered properly.

To prevent my computer from getting locked,I tried scheduling a windows unlock script that fires a mouse event for every 5 min so that my computer does not get locked but that did not help.

In UFT I saw an option "Allow UFT to continue running GUI or Business process test after disconnecting from an RDP computer. Enter the credentials of the remote computer.". I am not sure how to use this. Please help me on this.

Do we have any way to execute the UFT script when computer is on locked mode.
Reply
#2
Not Solved
you can also use window media player on VM, so the VM could not locked.
just use any media file in window media player and select the repeat option.
Reply
#3
Not Solved
This did not work .Sorry
Reply
#4
Not Solved
Please follow below steps:

Start--->Run--> Type 'Regedit'
Change the following registry settings..
Goto following folder..
HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest
Professional\MicTest
Locate the key "SkipEnvironmentChecks"
By Default the value will be "0"
Change the value to "1" and restart the QTP.
Now QTP will run with system locked.
Reply
#5
Not Solved
Many thanks for the reply. I will try and keep you posted.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is it possible to execute Remote Agent witout ALM? CharlieMadrid 0 1,241 05-12-2020, 01:26 PM
Last Post: CharlieMadrid
  Changing System Display Setting and Resolution using UFT or VB script or any code srikanthbura 0 2,686 09-07-2018, 11:21 AM
Last Post: srikanthbura
  UFT script to interface with JIRA Radhakrishna 0 2,460 01-27-2016, 05:51 PM
Last Post: Radhakrishna
  Issues while uft script execution AAB 4 4,880 10-05-2015, 07:23 PM
Last Post: supputuri
  Need to execute the QTP Script where QTP is not installed. prasannadr 0 2,393 06-20-2014, 07:15 PM
Last Post: prasannadr

Forum Jump:


Users browsing this thread: 1 Guest(s)