You can record UI test for a web application by using Microsoft Edge browser in a
running browser instance. You must first enable the Edge browser before you record UI tests by
using the Edge browser.
About this task
For enabling the Edge browser, you must install the extension from the Chrome Web
Store. Alternatively, you can also use the extension that is bundled along with Rational® Functional Tester.Note: You
must preferably install the extension from the Chrome Web Store and use the extension
bundled with the product only when you are unable to install from the Chrome Web
Store.
Procedure
-
Install the extension from the Chrome Web Store by performing the following
steps:
-
Open the Microsoft Edge browser.
-
Click Setting and more icon and then select
Extensions. The Extensions page is
displayed.
-
Turn on the Allow extensions from other stores toggle
button, if it is not enabled.
-
Click the Chrome Web Store link.
The Chrome Web Store page is displayed.
-
Enter Rational Functional Tester in the Search field
and press Enter.
The search results are displayed.
-
Locate Rational Functional Tester, and then click Add to
Chrome.
A confirmation dialog is displayed.
-
Click Add extension.
The
Rational® Functional Tester extension is
added to the Edge browser.
Note: To verify if the extension is
successfully installed on the Edge browser, click Extensions
on the Edge browser. The added extension is listed the Installed
Extensions section. You can enable or disable the installed
extension.
-
Alternatively, use the extension that is packaged with the product.
To install the extension:
-
Open the Edge browser extension page by clicking .
-
Select the Developer Mode check box.
-
Click the Load unpacked extension button.
-
Navigate to the WebUIExtension folder within the default
shared directory of IBM®
Rational® Functional
Tester
.
For example, on a Windows computer, the directory could be as follows:
C:\Program Files\IBM\IBMIMShared\plugins\com.ibm.rational.test.rtw.webgui.browextension.chrome_version_id\ChromeExtension
-
Select the WebUIExtension folder and click
OK to install the extension.
-
Perform the following steps if you want to record tests in the private mode of a
browser:
Note: If you want to record any test in the private mode, you must
configure the test by selecting the private mode option for the browser in the Rational® Functional Tester UI.
-
Check and ensure that you have added the Rational® Functional Tester - Web UI extension to the
default profile of the browser
(C:\Users\<username>\AppData\Local\Microsoft\Edge\User Data\Default).
-
Enable only the Rational® Functional Tester - Web
UI extension and disable or remove the other Rational® Functional Tester extension, if
installed.
-
Go to in the browser toolbar.
-
Select the following options that are listed for the Web UI extension:
- Allow in InPrivate
- Allow access to file URLs
-
Close all open browsers. You can also check and end any browser processes that
might be running in the background.
What to do next
You can record a test using an existing instance of the Edge browser. See Recording a Web UI test by using a running browser instance for details.