How can i open 5 multiple browser at once through QTP VB
script
Answers were Sorted based on User's Feedback
Answer / panna lal jaiswal
We Can open as many as browser in QTP using Vb script at once
as:
Write the Below code in text pan & Click Run
for i=1 to 5
Systemutil.run"firefox.exe"
Next
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / rayudu
Give URLs in URLS.txt documents and save
Set a= createobject("scripting.filesystemobject")
set b=a.opentextfile("c:\ray\URLS.txt",1,true)
i=1
Do while not b.atendofstream
c= b.readline
systemutil.Run"iexplore"
browser("name:=Google").Navigate c
browser("text:=.*").WaitProperty "text",c,10000
loop
Or else try with it
Set a= createobject("scripting.filesystemobject")
set b=a.opentextfile("c:\ray\URLS.txt",1,true)
i=1
Do while not b.atendofstream
c= b.readline
i=i+1
systemutil.Run c
browser("text:=.*").WaitProperty "text",c,10000
loop
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / vistaraj
For i=1 to 5
set explore=createobject("InternetExplorer.Application")
explore.Visible=True
wait(2)
explore.navigate "www.timesofindia.com"
Next
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sadashivbyagi
for i=1 to 5
system.utilrun/invokeappliction"ie
explore".naigate"www.google.com"
next
| Is This Answer Correct ? | 1 Yes | 0 No |
How to add check point?
anyone can explian about types of "Triggere Events" in QTP
what is option explicit?
i m tryed to use qtp in a user registration form but at the "image enter"part it gives a error when i run the qtp bcz the image is changed every time so it gives a error when i use regukar expreesion fot this it still gives a error value bcoz it reads the image code bt nt reconige the image which i enter in the image verification text box.so hw can i automate qtp for this function.plz give me a answer
What is Associate Repository in QTP 9.2 ?
In qtp, how you can exit for loop?
How can i open 5 multiple browser at once through QTP VB script
How to execute a WinRunner Script in QTP?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
How the exception handling can be done using quicktest professional (qtp)?
I have a login page like username, password and login. I have to pass the 50 user names and 50 passwords but how can i test this page with out using parameters?