Running a script from the Microsoft Edge browser

You can use HCL OneTest UI to play back test scripts using the Microsoft Edge browser.

About this task

When you play back functional tests in the Edge browser by using the Web UI extension, if there is a browser and driver incompatibility, HCL OneTest UI automatically downloads the appropriate driver to play back tests successfully. For more information, see the related links.

Procedure

  1. Start the Edge browser using either startBrowser() or startApp().
    • To use startBrowser(): startBrowser("Edge", "https://www.google.co.in/");
    • To use startApp():
      1. Click Configure > Enable Environments for Testing > Web Browsers and click Add.
      2. Browse to C:\Program Files (x86)\Microsoft\Edge\Application and click Add.
      3. Add an HTML application and select Edge as the browser in the Configure > Configure Applications for Testing wizard.
  2. Add sleep() of at least 15 seconds after startBrowser() or startApp().