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 |
Can any one please list me out the shortcut keys for some functionalities in the QTP .. for example ..to record...to run...etc
i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0
what does it mean when a check point is in red color? what do u do?
What kind of errors can b handled in QTP in real time scenario?
How to handle the exceptions using recovery secnario manager in Qtp?
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
I want to run my qtp scipt on the system where qtp is not installed .I don't want to install qtp but i want that system should use the qtp from another system in lan just the qtp instance should be launched on that system without having qtp installed on it .I probably know the solution that it will be solved through RMI but how to get this problem solved plz help i anyone know the answer
Which object model is not supported by QTP? a)COM b)DECOM c)DOM d)DCOM. Pls explain about theese object models?
I am a beginner plz tell me,how do we write scripts in QTP? In my opinion we can write scipts in expert view or there is another option where we can write scripts. plz tell me.
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
If aclient comes to tester ask to bye a tool Keep aside about the cost,In what way we can choose the tool.