Skip to main content

Sequential Test Execution

The Sequential test execution feature in DevAssure allows you to organize and run selected test cases in a strictly defined sequence. This ensures that test dependencies, prerequisites, or workflows are executed in the correct order. You can create an ordered group in DevAssure to ensure a specific set of tests runs sequentially, in the exact order you define. Tests outside of ordered groups will continue to run in parallel and in a random order, ensuring maximum efficiency.

This is useful when test cases depend on each other or need to follow a workflow.

Ordered Group for Sequential Test Execution

1. Select the Tests

  • From your Tests Filtered list, select the checkboxes for the test cases you want to include in the group.
  • The selected tests will be highlighted.
Icon

2. Create an Ordered Group

  • Click the Create Ordered Group button at the top of the list.
  • A dialog box will appear asking for a Group Name.
  • Enter a name (for example, Group1) and click Create.
Icon

3. View the Ordered Group

Once created, the group will appear in the list with the tests arranged in order.
The order displayed is the order in which the tests will be executed.

Icon

4. Reorder and Manage the Group

After creation, you can manage the group by using the arrow icons next to each test to adjust its position within the group. You can also edit the group's name or delete the entire group by clicking the pencil or trash can icons, respectively.


How Execution Works

  • Inside the Group: Tests will run sequentially in the exact order shown.
  • Outside the Group: All other ungrouped tests will run in parallel and in a random order.

Example

From the example screenshot above:

Ordered Group — SEQUENCE1 (runs sequentially)

  • 1️⃣ rakuten > categories-dropdown-hover.web

  • 2️⃣ rakuten > category-links.web

  • 3️⃣ rakuten > hover-categories-display.web

➡️ These run sequentially in this order.

Ungrouped Tests (run in parallel)

  • rakuten > category-hover-functionality.web

  • rakuten > manualtc.web

  • rakuten > dropdown-hide.web

  • rakuten > category-listing-format.web

Execution Flow Summary

  • Inside SEQUENCE1: Tests execute one after another in the given order.
  • Ungrouped Tests: Run independently in parallel, no fixed sequence.
  • Completion: Both sequential and parallel tests contribute to the overall execution completion.

Tips & Best Practices

  • Use ordered groups only when test cases depend on each other (e.g., login before creating an order).
  • Keep groups small for faster execution.
  • Give groups meaningful names like “Onboarding Flow” or “Resignation Workflow” for easy identification.