| || |
Invoking QTP script on a machine which is locked.
Can a QTP script be automatically invoked when the machine is locked?
Thanks on advance.
[ 10-21-2005, 03:29 AM: Message edited by: Pravin Nair ]
Re: Invoking QTP script on a machine which is locked.
I asked a similar question a while ago, and the answer, a bit vague!
Qtp will always open tests on a locked machine but it wont necessarily be able to run them. It depends on the application you are using.
Let me tell you a little about my problem and how I resolved it.
I was testing a frame based web app that used lots of dialogue boxes. Now, when the machine was locked and the test reached a stage where a dialogue box needed to be opened, the test failed.
I spoke with people on this forum and also people at mercury. For this problem there was no technical solution. The video card does not know which desktop or layer to look at when screen is locked.
Suggested non technical solutions or Work Arounds:
- it depends on why your machine needs to be locked, if it is for security reasons - you could simply lock the machine in a room, if the problem relates to password security policies, then again, it maybe the best thing to lock the test machine in a room.
If the problem is a result of sox compliance security lock then you just need to place a waiver in the sox documentation that states that the machine needs unlocking for a specific amount of time to carry put tests. This is my case. How we manage this is by creating an OU specifically for testing purposes, this OU does not have any security policies attached to it. When we want to carry out overnight or unaccompanied testing, we move the tester to the OU for testing so that they are exempt from password policies. When the testing is finished the user is moved back to the secure OU.
I also have tested a .NET web app. I ran tests using MS virtual PC, the majority of the tests worked even when the host machine was locked
Hope this is of use to you, let me know if I can expand on this