Results 1 to 6 of 6

Thread: systemutil.run "IEplore.exe","URL" is opening 2 browsers

  1. #1
    Geek_Guest
    Guest

    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..

    Question asked by visitor Ravi


  2. #2
    Expert Member
    Join Date
    Sep 2007
    Answers
    110

    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.


  3. #3
    Contributing Member
    Join Date
    Feb 2006
    Answers
    85

    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.


  4. #4
    Junior Member
    Join Date
    May 2009
    Answers
    2

    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?


  5. #5
    Junior Member
    Join Date
    May 2009
    Answers
    2

    Re: systemutil.run "IEplore.exe","URL" is opening 2 browsers

    Okay got it done. Thanx anyways


  6. #6
    Junior Member
    Join Date
    May 2012
    Answers
    2

    Re: systemutil.run "IEplore.exe","URL" is opening 2 browsers

    Quote Originally Posted by handa.nishant View Post
    Okay got it done. Thanx anyways

    Try this:

    Set IE = CreateObject("InternetExplorer.Application")
    IE.Visible = true
    IE.Navigate strAppUrl
    While IE.Busy
    Wend

    It worked for me


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact