Reflect Docs

Quick Start

Welcome to Reflect! To get things kicked off, here's a brief overview to get you started in creating your first Reflect tests.

Recording a Test

To record a test, simply click the ‘Create Test’ button. In the modal that opens, you can configure the properties of the new test such as the name, starting URL and device profile. Reflect supports profiles for Desktop, Mobile and Tablet devices.

After choosing your starting URL, you’ll see it load up in a content area on our Recording page. Simply perform the test steps you wish to record as if you were performing a manual test. As you interact with your site, you’ll see test steps automatically added to your test plan on the left rail.

“Image 2”

Reflect is capable of recording tests across multiple pages and across multiple sites. To prevent recording actions which will result in a failed test, Reflect disables all inputs to your test recording while a page is loading. This will be indicated via the ‘Loading’ vs. ‘Recording’ indicator at the top-right of the screen. You’ll notice that the recording will be in the ‘Loading’ state any time a new page is loading (e.g. after clicking a link, but before the page’s ‘oncontentloaded’ event has fired).

One feature of note is our Visual Validation functionality, which is triggered by clicking the “Add a Visual Validation” button that appears on the toolbar above the recording. Visual Validations allow you to create test steps that verify the appearance of an element on the page. Additionally, if you’re verifying a text element, Reflect validates the text value as well. To create a Visual Validation step, click the “Add a Visual Validation” button. Then, click-and-drag to select the region you’d like to screenshot, and click “Save”.

“Image 3”

After you’ve run through all of the steps that you’d like to test, click the “Save” button on the bottom left of the application. A modal will display prompting you to confirm the test details. After saving the test, Reflect immediately executes the test and connects you to the cloud browser again so that you can optionally watch the first execution of your newly recorded test. If a test step fails, you will have the option to re-record the test step and continue. You can exit the first-run experience at any time by clicking “Cancel”.

Viewing Test Runs

Click on a test on the Tests list page to see a dropdown list of recent test runs. A Test Run captures a range of information about the test execution including:

  • results for each test step that was executed,
  • a video of the test execution, and
  • browser network and console logs.

You can view a test’s definition by clicking the “Edit” button on the Tests list page. The test definition page includes additional metadata about the test, such as its Folders, as well as a table of the historical test runs for the test that are within the account’s retention period.

Executing a Test

Tests can be run on demand by clicking the “Run” button on the Test List page, or the “Run Test” button on the test definition page.

Slightly different than one-off test execution is orchestrating your test to run as part of a Suite. Suites combine test execution, environment configuration and notifications into a logical unit of execution.

Conclusion

You should be ready to create and run your first tests. If you hit issues along the way, please let us know by emailing support@reflect.run and we will be glad to assist!

Get started with Reflect today

Create your first test in 2 minutes, no installation or setup required. Accelerate your testing efforts with fast and maintainable test suites without writing a line of code.

Copyright © 2022 Reflect Software Inc. All Rights Reserved.