QTP script Run query

Hello guys,

I'm a beginner in QTP, can somebody tell me how to open a browser using a QTP script without having Record & Run settings in the picture. As of now, my script always opens the URL specified in Record & Run settings ignoring the SystemUtil.Run in the script.

Thanks in advance.

Parents Reply
  • Verified Answer

    Open the Record & Run setttings Window & Select the First option 'Record and run on any open browser'.

    Then use SystemUtil.Run to launch the Chrome browser.

    SystemUtil.Run "chrome.exe", url

    Check if the Chrome extension for UFT is installed. You can find all the details in UFT help fille.

Children