Before you can record a Web UI test of a web application that is already running in the
Microsoft Edge browser, you must first install the HCL OneTest™ UI Web UI browser extension for Edge.
Also, if you want to record a Web UI test in the private mode of Edge, you must install and
configure the browser extension.
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 HCL OneTest™
UI.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 HCL OneTest UI in the Search field
and press Enter.
The search results are displayed.
-
Locate HCL OneTest UI, and then click Add to
Chrome.
A confirmation dialog is displayed.
-
Click Add extension.
The
HCL OneTest™
UI 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 HCL OneTest™ UI
or the location where you downloaded and saved the extension..
For example, on a Windows computer, the directory could be as follows:
C:\Program Files\HCL\HCLOneTest\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 HCL OneTest™
UI UI.
-
Check and ensure that you have added the HCL OneTest™
UI - Web UI extension to the
default profile of the browser
(C:\Users\<username>\AppData\Local\Microsoft\Edge\User Data\Default).
-
Enable only the HCL OneTest™
UI - Web
UI extension and disable or remove the other HCL OneTest™
UI 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.