Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make QTP Script to work when system gets locked?
01-09-2012, 01:22 PM
Post: #1
How to make QTP Script to work when system gets locked?

Hi,

I have automated one of the process which should run for more than 2 hrs.
But as per my company policy, system gets locked down after 10 min if there is no manual intervention.

Because of this policy, my script gets hanged after 10 min.

How to overcome this issue without changing this policy?

Regards,
Ramkumar
Find all posts by this user
Quote this message in a reply
01-09-2012, 01:46 PM
Post: #2
RE: How to make QTP Script to work when system gets locked?
(01-09-2012 01:22 PM)ramkumarad Wrote:  Hi,

I have automated one of the process which should run for more than 2 hrs.
But as per my company policy, system gets locked down after 10 min if there is no manual intervention.

Because of this policy, my script gets hanged after 10 min.

How to overcome this issue without changing this policy?

Regards,
Ramkumar

Hi,
Rules are meant to be broken. I can provide u an exe which will disable the lock for ur PC and scripts will run fine.If u need then let me know.

Regards,
Sankalp
Find all posts by this user
Quote this message in a reply
01-09-2012, 03:04 PM
Post: #3
RE: How to make QTP Script to work when system gets locked?
@SShukla
Not the proper solution if your script is hacking in any company's security policy and you might be violating company's rules for doing that.
@Ramkumarad
Prepare a script, which will do the button click, like say you are pressing space bar or any number and loop it for every 10 minutes, this will ensure unlocking the computer.
Also Put this VB Script in your function file or framewor which will run parallely with your script.

This should resolve your issue.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-09-2012, 03:26 PM
Post: #4
RE: How to make QTP Script to work when system gets locked?
(01-09-2012 03:04 PM)Tarik Sheth Wrote:  @SShukla
Not the proper solution if your script is hacking in any company's security policy and you might be violating company's rules for doing that.
@Ramkumarad
Prepare a script, which will do the button click, like say you are pressing space bar or any number and loop it for every 10 minutes, this will ensure unlocking the computer.
Also Put this VB Script in your function file or framewor which will run parallely with your script.

This should resolve your issue.

@Tarik: If u are making ur script to press any button or spacebar or enter then I think it will effect the application in flow also and this approach is something that I had never seen in any framework.Not sure whether this is a correct soluntion.
@Ramkumarad: I 2 have same policy in my company but according to need policies can be modified also depending upon the nature of work.Go head and talk to ur manager regarding this.

Regards,
Sankalp
Find all posts by this user
Quote this message in a reply
01-09-2012, 07:22 PM
Post: #5
RE: How to make QTP Script to work when system gets locked?
To block the screen saver and keep machine unlocked please see the below link. This is wiindows registry settings.

http://www.howtogeek.com/howto/windows-v...windows-l/

normally hitting keys after some interval will not interfere entering data.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-09-2012, 08:50 PM
Post: #6
RE: How to make QTP Script to work when system gets locked?
(01-09-2012 07:22 PM)Tarik Sheth Wrote:  To block the screen saver and keep machine unlocked please see the below link. This is wiindows registry settings.

http://www.howtogeek.com/howto/windows-v...windows-l/

normally hitting keys after some interval will not interfere entering data.

Hi,

I've got the same problem.
But I want to lock my screen, when the test is running an I'm leaving the office.
Fot this, I found the following issues:
http://www.learnqtp.com/forums/Thread-Ex...y-computer
http://www.learnqtp.com/forums/Thread-Ex...ed-machine

I tried it and it works until a dialog box in my test pops up.
With QTP 10 and FF 3.5. it was possible to fill this dialog box by locked screen.
Now I made an upgrade to FF 8.0. It is only possible to fill this dialog box, when my PC is unlocked.

Any idea?

Thank a lot
Bianca
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Shy Data Table Cells getting locked when test is saved to QC. How to prevent this anil2u 1 703 01-11-2012 07:36 AM
Last Post: jkretsch
  How to hide Webpage window for few minutes and make it visible after that ramkumarad 5 952 01-09-2012 12:27 PM
Last Post: sshukla12
  QTP doesn't work in Vista OS Dev 1 444 01-03-2012 12:30 PM
Last Post: ravi.gajul
MyBB QTP 9.2 got locked. Plz Help tejesh83 1 423 11-04-2011 01:42 PM
Last Post: ravi.gajul
  QTP11.0 Does not Identify SAPNavigationBar objects in SAPCRM System? srinivaas42 1 706 10-17-2011 09:47 AM
Last Post: Ankesh

Forum Jump:


User(s) browsing this thread: 1 Guest(s)