systemutil.run "IEplore.exe","URL" is opening 2 browsers
Hi,
This is Ravi ,
I am new to QTP. Currently I have some problem with opening an web application. I am using systemutil.run "IEplore.exe","URL". But the thing is it opening 2 browsers.. Pls give me some idea how to over come this problem..
[b]Question asked by visitor Ravi[/b]
Re: systemutil.run "IEplore.exe","URL" is opening 2 browsers
no,
try once again
it opens only one browser.
systemutil.run"iexplore","www.yahoo.com"
I tried it.
Re: systemutil.run "IEplore.exe","URL" is opening 2 browsers
Qtp has in its run settings that record and run on a new browser if you have checked that then everytime it will open a new window and then nother one with the stmt in your script.
Please check and change the setting in the run settings.
Let me know if this resolve your problem.
Thanks :) ,
Kunals.
Re: systemutil.run "IEplore.exe","URL" is opening 2 browsers
Hello, I have been trying to do the same on QTP10.0 and it also is opening two browsers. Now the problem is I'm unable to locate where exactly in settings I need to do some changes to avoid qtp from opening a new browser for every run.
Could u plz help?
Re: systemutil.run "IEplore.exe","URL" is opening 2 browsers
Okay got it done. Thanx anyways
Re: systemutil.run "IEplore.exe","URL" is opening 2 browsers
[QUOTE=handa.nishant;50593]Okay got it done. Thanx anyways[/QUOTE]
Try this:
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = true
IE.Navigate strAppUrl
While IE.Busy
Wend
It worked for me