Skip to content

Run Tests in Multiple Environments

Run the same tests on Chrome and Safari, on Windows and macOS, or on Dev and Staging, without copying a single test. You add your environments once, build groups from them, and Testomat.io creates a run for each group.

Diagram: Three launch modes - two environment groups → Launch: one run; Launch in Sequence: run 1, then run 2; Launch All: run 1 and run 2 at the same time; all runs collected in one group

An environment is where a test runs: a browser, an operating system, a device, or a stage like Dev or Production. Write each one as {category}:{value}. The category groups similar environments, so you can combine and filter them later:

Browser:Chrome
OS:Windows
Device:iOS
Stage:Dev
  1. Go to Settings in the sidebar.
  2. Open Environments.
  3. Enter one environment per line.
  4. Click Update.

The Environments page in project settings

Your environments are ready to pick in any new run. You can change the list any time.

  1. Go to the Runs page.
  2. Click New and select New manual test run.
  3. Click Set environment for execution.
  4. In the Multi-Environment Configuration panel, pick the environments for the first group, for example Browser:Chrome and OS:Windows.
  5. To test another combination, click Add Environment and fill in the next group.
  6. Click Save.

The Multi-Environment Configuration panel with nine groups

The button now shows how many environments you set, for example 9 environments configured.

For a big matrix, use Cross with groups. It combines categories for you: three operating systems and three browsers give nine groups. Set all envs by group fills the groups from one category. Clear all starts over.

How you launch depends on how many groups you set.

Groups Button What happens Good for
One Launch One run, with all the group’s environments combined A single target, like Chrome on Windows in Dev
Two or more Launch in Sequence One run per group, started one after another Limited infrastructure, or when the order matters
Two or more Launch All One run per group, all started at once Saving time, when you have the resources

Launch in Sequence and Launch All, with 9 environments configured

The runs from one launch are collected in one group on the Runs page, named Multi-environment tests with the date and time. Each run shows its environment, so you can compare them side by side.

The Multi-environment tests group with one run for each environment group

You can pass environments at runtime from your pipeline, so a branch or a deployment stage decides where the tests run.