Currently, this feature is only available in the TestFirst Desktop App. |
If you don't want to use TestFirst cloud runners to run tests, you can set up an on-premise runner to run the tests on your own hardware.
In order to do that:
- Install Docker Desktop on the machine you are planning to run tests on.
- Register a test runner in the TestFirst app. In order to do that:
- Click Automation in the left menu panel.
- Click Test Runners under Automation. The Test Runners page will be displayed.
- Click the REGISTER RUNNER button on the top right of the page. A Runner registration token was copied to clipboard toast message will be displayed.
- Run the command below (on Windows use Powershell, on Mac and Linux use Terminal) to download a container image and run it. Replace <REGISTRATION TOKEN> with the token from step 2.c, <RUNNER NAME> with your preferred name for the container. The runner image will be downloaded and the container will be run on your machine. After that, you will be able to see the newly added runners in the On-premise runners section of the Test Runners page in TestFirst app.
docker run --env REGISTRATION_TOKEN=<REGISTRATION TOKEN> -d --name <RUNNER NAME> --restart unless-stopped --shm-size 2000000000 public.ecr.aws/testfirst/test-runner:browser-chrome
You can stop the running containers from Docker Desktop app at any point, and start them as needed. You can manage the on-premise runners in the On-premise runners section of the Test Runners page of TestFirst app as described here.
Comments
0 comments
Please sign in to leave a comment.