Starting from IBM® Rational® Functional Tester
9.1.1, you can play back functional test scripts using the Microsoft Edge browser on computers that are shell-shared with Rational Test Workbench Web
UI Tester.
Procedure
- Enable Windows 10 Developer Mode.
- Click the Windows
Start menu.
- Type Settings and then press Enter.
- Click . For further details, see https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development.
- Download the Microsoft WebDriver for Edge browser
from https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver.
- Set the environment variable named 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.
- Use one of the following methods to install the Rational Functional Tester
Edge extension:
- Open the Windows command prompt as Administrator
and run the following command: powershell Add-AppxPackage
<SDP_DIRECTORY>\FunctionalTester\bin\enabler\FTEdgeExtension.appx OR
- Open Windows PowerShell as Administrator and run the following command: Add-AppxPackage
<SDP_DIRECTORY>\FunctionalTester\bin\enabler\FTEdgeExtension.appx.
- 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.
- Start Rational Functional Tester.
- Open and select Play back with Rational Test Workbench Web
UI Tester.
- Click OK.
- 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().