with out object repository i need to launch IE and then
navigate to a login page and then operate the objects
within the page. How will be the script?
Answer Posted / rajesh
If Browser("index:=0").Exist(1) then
hWindow = getHandleBrowser
Browser("hwnd:=" &
hWindow).Navigate("http://www.google.com")
'msgBox "Opened URL"
Browser("hwnd:=" & hWindow).Sync
wait 2
else
SystemUtil.Run "iexplore.exe",
"http://www.google.com", "", "open"
hWindow = getHandleBrowser
Browser("hwnd:=" & hWindow).Sync
End If
Browser("hwnd:=" &
hWindow).Page("title:=.*").Link("name:=Images","index:=0").Click
Function getHandleBrowser
wHandle1 = Browser("index:=0").GetROProperty("hwnd")
getHandleBrowser = wHandle1
End Function
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
In qtp, explain what is crypt object
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
how to test load test and block box testing an a web based application pls give ans briefly
How many ways is to parameterize the value?
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
Explain the benefits of quick test pro(qtp)?
how to write xml output check point bu useing descriptive programing .means without useing output check point
what could go wrong with test automation?
How QTP identify the system time that's changes every seconds?
What is object spy in quicktest professional?
Does Low-level recording capture mouse movements?
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,