There is a problem with running HP QTP on a locked system or using Microsoft Remote Desktop connection. As soon as QA Tester locks monitor or minimized RDC window HP QTP cannot control anymore the mouse and keyboard and test cases would fail. It seems that most obvious solution is to never lock machine or minimize the desktop session, but what if you need to do other work on machine where Remote Desktop Connection windows is open?
There is another HP QTP trick: connect via Remote Desktop session into first test machine and from that machine hook up into machine with HP QTP installed. Then when someone closes Remote Desktop from the first machine, the remote machines session would stay open. It is strange solution, but it work in our QA Lab environment.
HP QTP interview question 35: Using HP QTP on locked system or with Microsoft Remote Desktop connection
Labels:
RDC
Subscribe to:
Post Comments (Atom)
Common QTP Interview Questions
- QTP Interview question 35: Using HP QTP on locked system or with Microsoft Remote Desktop connection?
- QTP Interview question 34: Explain the difference between VBScript function and VBScript subroutine?
- QTP Interview question 33: Do you know any error messages of QTP license server?
- How would you use HP QTP 10 for an agile testing?
- Have you heard about HP QTP 10?
- Where to download HP QTP 10 tutorial?
- What is FSO in HP QuickTest Pro?
- Does HP QTP 10 support Chrome browser?
- How to retrun the number of links in a web page with HP QTP?
- HP QTP Interview Question 25: How to view QTP test results in HTML format?
- HP QTP Interview Question 24: Winrunner vs QTP comparison?
- HP QTP Interview Question 23: Pop up windows is not being recognized?
- HP QTP Interview Question 22: How would you select test case for automation?
- HP QTP Interview Question 21: Explain the difference between GetROProperty and GetTOProperty?
- HP QTP Interview Question 20: How to build automation framework around HP QTP 9.5?
- HP QTP Interview Questions 19: Where to download HP QTP 9.5?
- HP QTP Interview Questions 18: How to recognize text in CAPTCHA image with HP QTP?
- How to use Microsoft Excel in HP QTP Pro test?
- How can I verify if a page is completely loaded?
- How to alter the properties of a run time object?
- How to modify the properties of a test object?
- Elucidate the divergence amid test objects and run time objects?
- Selenium vs QTP?
- QTP Firefox support
- QTP Flex automation
- Object Spy in QTP?
- QuickTest Pro certification and job market?
- QTP certification and job search?
- Where to download QTP free trial version?
- What is QTP maintenance number?
- Decide on QuickTest Pro licenses for your organization?
- Explain the difference between QuickTest Pro licenses?
- Where can I buy any books on QuickTest Pro?
- What is the latest version of QuickTest Pro?
2 comments:
Hi, Can someone please clarify this solution with a better description or even better post a YouTube video?
Thanks,
Mark
yes QTP doesnt work for any lock system.
if you want to execute any qtp script you have to check that system should not lock..
if want that system will never lock then just write down the below code in a note pad and save with extension in .vbs and execute this .vbs file system will never lock. :)
set WSHELL = Wscript.createobject("Wscript.SHELL")
i=0
While i<60000
WSHELL.sendkeys "{NUMLOCK}"
WSHELL.sendkeys "^"
Wscript.sleep 30000
i=i+1
Wend
set WSHELL = nothing
Post a Comment