Skip to main content

Sequential Test Runs

Sequential test runs let you execute dependent test cases in a specific order. Unlike parallel execution, where test cases run independently and concurrently, sequential execution ensures each test case completes before the next one begins. This is useful when test cases share state or depend on the outcome of a previous test — for example, a login test that must run before an account settings test.

Prerequisites

  • Access to Test Manager with an existing project
  • KaneAI-generated test cases with successful code generation
  • Credentials for TestMu AI platform

Create a Sequential Test Run

Step 1: Enable Sequential Execution

Create a test run and add your test cases following the standard test run setup. After adding the test cases, enable the Execute instances sequentially toggle.

Once enabled, you can arrange the test cases in the order you want them to execute. The test cases listed will be executed in this sequence for each configuration assigned.

enable-sequential-execution
note

Parameterized test cases must use the default dataset with single values when running sequentially.

Step 2: Configure for a Single Platform

For a single-platform sequential run (e.g., desktop web only), you can select multiple configurations at a global level. For example, you can run the same sequence on both Linux with Chrome 137 and Linux with Firefox — a separate sequential run is created for each configuration.

single-platform-configuration

Step 3: Preview and Save

Click Show execution preview to review the test sequence before executing. The preview displays the exact order in which test cases will run for each configuration. Once verified, click Save test run and proceed to execution.


Multi-Platform Sequential Runs

You can also configure sequential runs that span multiple platforms — for example, running a web test followed by a mobile app test. When multiple platforms are combined (desktop web, mobile browser, mobile app), the global configuration option is replaced with per-test-case configuration.

multi-platform-sequential-test-cases

Step 1: Select Configurations Per Test Case

Assign the appropriate configuration to each test case individually. Choose configurations that match the platform each test case was authored on.

multi-platform-configurations

Step 2: Arrange Execution Order and Preview

Set the execution order based on your test dependencies. Use the execution preview to verify the sequence — for example, a web login test running first, followed by an iOS app verification test.

multi-platform-execution-preview

Step 3: Execute the Sequential Run

Save and execute the test run. The test instances will run one after another in the defined order.

execute-sequential-run sequential-run-results

Key Differences: Single vs. Multi-Platform

AspectSingle-Platform RunMulti-Platform Run
ConfigurationsMultiple global configurations allowed (one sequential run per config)Single configuration per test case only
Global configSupportedNot supported — group configuration is removed when multiple platforms are added
ConcurrencyOne per configuration sequenceLimited to one across the entire run

Limitations

  • Multi-platform runs support only a single configuration per test case. When you add platforms such as mobile browser or mobile app alongside desktop web, the global (group) configuration option is removed.
  • Concurrency is limited to one for multi-platform sequential runs. Tests always run one after another since they depend on execution order.
  • Execution order must be configured carefully. The sequence directly impacts dependent test behavior — verify the order in the execution preview before saving.

Troubleshooting

IssueSolution
Group configuration option disappears after adding new platformsThis is expected for multi-platform sequential runs. Only single-configuration-per-test-case is supported in this mode.
Tests not running in the expected orderRe-check the configured sequence in the execution preview and ensure the test run was saved after making ordering changes.
Concurrency appears higher than expectedConfirm the run is configured as sequential (toggle enabled) and not mixed with parallel configurations.
Unexpected behavior with platform configurationsEnsure only configurations that match each test case's platform are selected.

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles