Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Hi Friends, while playing the recorded test i am getting this error "Cannot identify the object "q" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application." error is coming in this line of code "Line (2): "Browser("Google").Page("Google").WebEdit("q").Set "airtel broadband"". " .... please tell me how to overcome this problem. need help asap... Thanx in advance

3 Answers  


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

0 Answers  


what is meant by keyword driven frame work can any one answer plzzzzzzzzzzz

1 Answers  


There are some links on the web page,write a script to count and click those links and check the text on the page displayed on clicking the links.

3 Answers   Tech Mahindra,


what is the Descriptive Progarmming? how it is help to testers in QTP?

4 Answers   TCS,


can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???

1 Answers  


i am testing an online shopping application.I CLICK on a link "ADD TO CART" of that application a "new page" is open and then click on any object of that "new page". after that when i run this SCRIPT then on this "new page" QTP always shows error of "OBJECT NOT FOUND". How i solve this problem ?

4 Answers  


How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

0 Answers   LinkEdge,


What does it mean when a check point is in red color? what do u do?

1 Answers  


Hi, Has anybody attended IBM interview on 17th APR 2010,and got offer letter? I had given interview and selected also but still did not recieve offer letter.

5 Answers   IBM,


What are SetToProperty, SetRoProperty, GetToProperty scripting?

2 Answers  


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

0 Answers   Rogers,


Categories