Unable to record or play back Web UI tests in Edge on Linux

When you use Microsoft Edge on Linux systems, you cannot record or play back a Web UI test. HCL OneTest UI opens Google Chrome instead of Microsoft Edge when you start recording or play back a Web UI test and the test fails.

Cause

The name of the Microsoft Edge executable (microsoft-edge) does not match with the name of the executable (msedge) that is required by HCL OneTest UI.

Resolution

You must perform the following steps:
  1. Create a symbolic link to map the executable of the Edge browser in the Linux system. For example, you can create the following link:
    sudo ln -f -s /opt/microsoft/msedge/msedge /usr/bin/msedge
  2. Restart HCL OneTest UI to record or run the test.