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

  1. Click on Tests in the sidebar.
  2. Once on the Tests page, click New Test in the top-right corner.

Step 2: Enter Test Details

  1. 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

  1. Click the “Start Device” button in the test editor
  2. This initializes a virtual device where tests can be executed
  3. 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

  1. 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
  2. Alternatively, use the Recording feature to automatically create steps based on interactions.

Step 5: Save and Run the Test

  1. Click Save Test to store your progress.
  2. 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

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