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 |
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
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
what is meant by keyword driven frame work can any one answer plzzzzzzzzzzz
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.
what is the Descriptive Progarmming? how it is help to testers in QTP?
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???
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 ?
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)
What does it mean when a check point is in red color? what do u do?
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.
What are SetToProperty, SetRoProperty, GetToProperty scripting?
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