Once you have written a test in TF Automate, you can run it to check if it runs successfully.
There are two types of test run available in TF Automate:
- Remote run
- Local run
Run a Test Remotely
A remote run is an automated test execution in the cloud runner. You will not be able to watch the test execution during a remote test run, but the execution log will be available to you along with the screenshot of the page for browser-based tests if the test fails. Below you will find information on how to read the execution logs.
In order to run a test remotely, simply click Run Remotely in the top right of the TF Automate page. In the execution log, a message "Initializing a remote runner. This may take a while." with a timestamp will be displayed. Once the remote runner is initialized, the log will continue populating as normal until the run succeeds or fails.
If the test run finishes successfully, the Succeeded icon and text will be highlighted in the status bar above the execution log.
If your organization has an available self-hosted runner, the test will be executed using the self-hosted runner rather than TestFirst cloud runner. |
Run a Test Locally
A local run is an automated test execution performed on your machine. The advantage of this type of execution is that you will be able to watch a browser-based test as it executes and follow up on any issues identified during the test run.
In order to run a test locally, you will need to install the test runner on your machine.
Currently, the test runner is only available for Windows. |
In order to install the test runner:
- Hover on Run Locally in the top right of the TF Automate page. A tooltip with the link to the remote runner will be displayed.
- Click the link in the tooltip. The Test Runner installer will be downloaded.
- Open the file location and install the local runner following the steps in the setup wizard. Make sure to check Automatically start at login checkbox during installation. This will ensure a seamless automation process.
This step needs to be performed on every machine where users are going to be using TestFirst Automate. |
The Test Runner is a console application. You do not need to perform any actions on it once it's started. You can just minimize it and keep using TestFirst as normal. If you accidentally close the console window, you can always start the Test Runner manually. Just type Test Runner in the Windows Search, and launch the application. |
Comments
0 comments
Please sign in to leave a comment.