Platform
Creating a Test
Step-by-step guide to creating and running a new test in Revyl.
This section is dedicated to creating a test in Revyl. Follow the steps below to create and run your first test:
Step 1: Navigate to the Test Section
- Click on Tests in the sidebar.
- Once on the Tests page, click New Test in the top-right corner.
Step 2: Enter Test Details
- Fill in the required test details:
- Test Description: Provide a meaningful name.
- Platform: Select between Web, iOS, and Android.
- Test Website: Enter the URL of the site you want to test.
- Schedule: (Optional) Define a cron schedule for automated runs.
Step 3: Set Up Your Test Environment
Before adding test steps, you’ll need to set up your test environment:
Starting a Device
- Click the “Start Device” button in the test editor
- This initializes a virtual device where tests can be executed
- Adjust viewport size through the dropdown menu
Managing Your Device
When you have a device running, you can:
- Stop Device: Halt the testing process and manage resources effectively
- Restart Device: Stop the current device and start a new one (useful for clearing cookies)
- Check Pages: Force check for other pages open on the device
Step 4: Add Test Steps
-
Manually add steps by clicking Add Step and entering detailed instructions, such as:
- Clicking a button.
- Entering text into a field.
- Check out Steps to see best practices
-
Alternatively, use the Recording feature to automatically create steps based on interactions.
Step 5: Save and Run the Test
- Click Save Test to store your progress.
- Click Run Test to execute the test and view results.
Tips and Tricks
Step Selection
- Use Ctrl/Command + Click to select multiple steps for execution.
- To test a subset of steps, select the steps and click Run Selected.
Recording
- The recording feature is the fastest way to create tests.
Device Management
- Always start a device before running tests
- Use “Restart Device” to clear cookies and start fresh
- Check pages if you suspect multiple tabs are open