How to Run Tests Using the Automation Service
Learn how to execute a test or a group of tests using our automated testing platform.
Rainforest regression testing allows you to write scripted test cases and execute them continuously and on demand by our Tester Community or Automation Service.
This article walks you through how to run your tests using the Automation Service.
Running Single or Multiple Tests from the Tests Page
- Click the Tests icon (paper) in the navigation bar, then select Tests.
- On the Tests page, use filters in the left sidebar to narrow down the test list. (Optional)
- Click the checkboxes for the tests you want to run.
- Click the Bulk Actions menu and select Run.
- Confirm that the option under How this run will be executed is set to run with the Automation Service.
Pro Tip
Tests created using the Visual Editor and executed by the Automation Service are optimized for the browser they were created on. Though you can execute a test with multiple browsers, we suggest running it on the browser used to create it for the best results.
For testing with multiple browsers, we recommend using our Tester Community.
Running a Feature
There are three ways to trigger the run of a feature:
- On the Features page, click the Run Feature button and select your settings. Change the How this run will be executed section to the Automation Service if not already selected.
- In the CLI, run the feature with the following command:
run --feature [Feature_ID] --execution-method automation
- Add the feature to a run group by clicking the Add to Run Group button. See below about running tests in a Run Group.
Executing a Run Group
There are three ways to execute a run group:
- On the Run Groups page, click the Run button.
To always use the Tester Community, select the run method in the Run Group settings. To change the option for this run only, use the Run modal. - In the CLI, execute the run with the following command:
run --run-group [ID] --execution-method automation
- Click the Schedule icon (wrench) to automatically execute the run group on the days and times you choose.
Running a Saved Filter
There are three ways to run a saved filter:
- Use the Filters panel.
- Open the saved filter from the Filters panel.
- Select your tests.
- Click the Run icon.
- Select the run platforms.
- In the CLI, execute the run with the following command:
run --filter [Filter_ID] --execution-method automation
- Select the tests from the saved filter view to add and trigger the run group.
If you have any questions, reach out to us at [email protected].
Updated 12 months ago