How can i open 5 multiple browser at once through QTP VB
script

Answers were Sorted based on User's Feedback



How can i open 5 multiple browser at once through QTP VB script..

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

How can i open 5 multiple browser at once through QTP VB script..

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

How can i open 5 multiple browser at once through QTP VB script..

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

How can i open 5 multiple browser at once through QTP VB script..

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

Post New Answer

More QTP Interview Questions

Is it possible to use two instances of UFT on the same machine? If not why?

0 Answers  


Can you write User defined function for WebEdit ? Note1: This function can be used for all web edits in all pages Note2: Don't use Child objects method

1 Answers   IBM,


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

0 Answers  


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

0 Answers  


what is the difference between development and testing

1 Answers  






Explain runtime dynamic settings?

0 Answers  


Where should we turn Smart Identification ON in QTP?

5 Answers  


hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com

0 Answers  


How can I replace all the text from the QTP script with some other text.

1 Answers   Livetek,


What is the difference between the keyword view and expert view?

0 Answers  


please post the interview questions for QA position in FACTSET

0 Answers   FactSet Systems,


write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?

1 Answers  


Categories