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 retrieve alpha bate from the alphanumeric string with special character.
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
anybody wants to learn QTP with realtime implementations and complete framwork contact to this mail id ciraaj@gmail.com
How u perform exception handling in QTp,what is other name for ths?
What is keyword view and Expert view in QTP?
Syntax for how to call one script from another and Syntax to call one "Action" in another?
How to findout the number of spaces with in STRING For Ex : STRING is " RAJ IS A SOFTWARE ENGINEER " Please send me the answer
If I want to run more than one test (With different functionality) with in one script, then what i do? plz. explain with any example.
What r types of parametarizations?
By using QTP, How do you test a frame in a web page?
what you mean by artifact,milestone...