How to work with multiple browsers when opened in the window,
write the script for it
Answer Posted / nitin sharma
For working on multiple browser you have to use creationtime
or index property.
Use this code
'opening two application gmail and yahoo
Systemutil.Run"iexplore.exe"
Systemutil.Run"iexplore.exe"
Wait(10)
Browser("micclass:=Browser","creationtime:=0").Navigate"http://www.gmail.com"
Browser("micclass:=Browser","creationtime:=1").Page("micclass:=Page").Navigate"http://www.Yahoo.com"
'for closing all browser
While Browser("title:=.*","index:=0").Exist
Browser("title:=.*","index:=0").Close
Wend
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
What is checkpoints for quicktest professional?
What is quicktest professional?
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
what is defenetion of kiran can u tell me plz CVS, SVN
what the difference between shared repository and per action repository?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
How do client side image and server side image work?
What is checkpoints for qtp?
images are dynamically changes how to compare two images with out using the bitmap
How you can decide which type of object repository you have to use?
Why qtp always start action1 and does not start action?
What are the types of properties that quick test learns while recording?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?