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
Which functionalities of QTP used in banking project?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
How to recognise the webelement and verifying that webelement is enabled?
What are the challenges u faced in testing with crm domain? How u overcome with?
If I change the property value at runtime is it effect is object repository?
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
Hi Samrat, Thank u very much, what u said it is right.
What are the differences between quicktest professional (qtp) and winrunner?
How do client side image and server side image work?
How many types of parameters are there?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
What is action? How many types of actions are there in qtp?
What is synchronization? What are the ways you can synchronize?
Which environments does qtp support?
If object is not recognized by qtp but the object is standard object what is your approach?