How can i open 5 multiple browser at once through QTP VB
script
Answer Posted / 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 |
Post New Answer View All Answers
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
Explain types of descriptive programming?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
What is 'sleep' in sync point?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
Explain how you can find length of array in qtp?
What is checkpoint in qtp?
What is ‘object spy’ and what is the function of object spy in qtp?
Explain the differences between table and db checkpoints?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
What is regular expression?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.