You can use IBM® Rational® Functional Tester
to play back test scripts using the Microsoft Edge
browser.
Before you begin
Verify that Microsoft Edge browser v40.15063.0.0 or
later is installed on your system. To check the version:
- Start Microsoft Edge.
- Click the More (…) menu.
- Select Settings, and then scroll down to the bottom.
Procedure
- To automatically install the Microsoft WebDriver for
Edge 44, run the following command in the elevated command prompt: DISM.exe /Online
/Add-Capability /CapabilityName:Microsoft.WebDriver~~~~0.0.1.0.
- For Edge 42 and earlier, you must set the environment variable
webdriver.edge.driver with the full path to the installation file named
MicrosoftWebDriver.exe.
- In the Control Panel, click .
- In System Variables, click New, and in Variable name, enter
webdriver.edge.driver.
- In the Variable value field, enter the path to the MicrosoftWebDriver.exe
and click OK.
See https://www.ibm.com/support/knowledgecenter/SSBLQQ_9.1.1/com.ibm.rational.test.lt.rtw.webgui.doc/topics/t_enabling_edge.html.
Note: You need not manually set environment variable for Edge 44.
- Open the ivory.properties file in
<SDP_DIRECTORY>\FunctionalTester\bin\ and change the line
#rational.test.ft.timeout_pb_event_consumed=1000 to rational.test.ft.timeout_pb_event_consumed=0.
Note: You must remove # and change 1000 to
0.
- Restart Rational Functional Tester.
- Start the Edge browser using either startBrowser() or
startApp().
- To use startBrowser(): startBrowser("Edge",
"https://www.google.co.in/");
- To use startApp():
- Click and click Add.
- Browse to C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe and
click Add.
- Add an HTML application and select Edge as the browser in the wizard.
- Add sleep() of at least 15 seconds after
startBrowser() or startApp().