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

For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that .............

3 Answers   Satyam,


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  


Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...

0 Answers   Bank Of America,


WHAT IS SMATR IDENTIFICATION? plz EXPLAIN BRIEFLY? IS IT POSSIBLE in QTP? HOW AND WHEn THE SITUATION U R USING EXPLAIN WITH EXAMPLE?

3 Answers  


Hi. GetRoProperty and OUTPUT Value Both are same purpose or not? plz explain in deatil with example?

5 Answers  






We are using the QTP version 9.0 where we want to call objects from global repository for a particular function at runtime for increasing the performance of framework.We are actually looking for loading the objects under test (OAT) dynamically when script runs and would like to unload the same once the execution of the script is completed.

2 Answers  


How to Analyze the Checpoint results with Standard Checpoint ?

1 Answers  


What is qtp window?

0 Answers  


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

0 Answers  


Hello, I am learning QTP. I have recorded test for Login page, i have also inserted checkpoint for Email field & when I run test it passed. But when i tried to run test by inserting 'Adding Parameter Values to a Data Table' for email & password field, it pass the first value in both the fields but after that when test run for second parameter values it displays 'Internet Explorer cannot open the Internet site, Operation aborted' & when i analyze test result it displays run time error 'Object disable'. I have also cleared all the history from IE but it is not working. Please help me. Thank you.

2 Answers  


What frame work ur using in QTP in ur current company?

7 Answers   Accenture,


what are the utilities and drivers

0 Answers   Cap Gemini,


Categories