Types of test plans

Prev Next

There are two types of test plans in Autify Nexus: static, where specific scenarios are manually selected, and dynamic, in which scenarios are executed based on conditions defined in the test plan. This document describes both types of test plans.

Static test plan

A static test plan is created by manually selecting specific scenarios to include in a test run. Scenarios in static test plans are run sequentially in the order in which they appear in the test plan. Static test plans are best suited for fixed test suites where the test scope is limited, doesn’t change frequently, or the order in which tests are executed is important.

Dynamic test plan

A dynamic test plan automatically selects and executes scenarios that match any combination of the following conditions:

  • Text in a scenario name

  • Labels

  • Directory

The conditions used to create a dynamic test plan are collectively known as a filter.

Dynamic test plans are a useful and powerful tool to manage your test suites. Instead of manually updating your test plan as new scenarios are created or existing scenarios are no longer necessary, dynamic test plans automatically stay up to date as long as the filter remains valid and scenarios are appropriately labeled and organized.

Dynamic test plans in action

Suppose your team is working on visual regression testing for your web application. You’ve labeled all relevant scenarios with the label “VRT.”

You can create a dynamic test plan that filters scenarios by the label “VRT.”

Once the test plan is created, it will automatically include all scenarios that have the “VRT” label. If new scenarios are added later that match this filter, they’ll be included in the test plan automatically — no need to update the test plan manually.