Note: For Salesforce, the test cases will be executed in the same mode in which it was recorded. For example, if a test case is recorded in the Classic mode then it will be executed in the Classic mode only.
To execute a test case, follow either of the ways:
A. On the left panel, click on the more icon for the test case and select Execute Test Case. This will run the execution on the last selected browser and last defined URL for the test case execution as default.
B. Click on Execute above the grid and select Web.
Users can execute test cases on multiple browsers. QAS has enhanced support for Firefox and Edge browsers. The list of browsers is available on the Execute Web screen. Currently QAS supports Chrome, Firefox,Microsoft Edge and Safari browsers to execute the pre-recorded web test cases through test recorder.
Note: Test Cases can be recorded in Chrome and Firefox browsers.
When executing test cases through Execute > Web. The following screen opens.
1. Mention Web URL and select Browser.
Headless: You can also execute web and mobile test cases in headless mode from test recorder on Chrome and Firefox browsers. It renders fast execution without browsing through the browser. It is useful when you are only concerned with the final results and do not want to check browser operations while execution. Refer to https://qmetrysupport.atlassian.net/wiki/spaces/QAShelp/pages/1543667724 for more details on the headless testing mode.
2. Then click Start.
The test case execution starts.
The status of each test step and test case is updated accordingly.
During the time of execution (other than headless execution), all the web elements and locators are automatically highlighted to provide better focus to the user as shown in screenshot below.
Execute Test Cases on Remote Machine
You can execute test cases on the remote machine.
The following installation should be present on the remote machine:
1. On Remote Machine: Run the following command on the remote machine where the selenium-server-standalone.jar is downloaded.