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 |
Which Databases supports for QTP?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
What is object state in trigger events,in recovery scenario.write a script to handle this.
Tel me what was the automation testing process you followed?
Explain the types of object repository?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
After coming to know that QTP could not identify non-standard objects, we set those non-standard objects as virtual objects using Virtual object wizard. But how can we identify that qtp could not identify non-standard objects?
can any body clearly explain about hybridframework with the explanation for files what ever we come acros in this frame work?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
What exactly is the difference among all the three recording modes.
What is the difference between Functions and Action ?
Test cases for Traffic Signals