Variations

Variations are a means of adapting your existing project base to changes in an application’s functionality and/or interfaces over time, as well as to differences in platforms upon which application runs. Variations allow for minimum maintenance headaches of your project’s items, with test validity maintained for all prior versions, platforms, interfaces, etc., of the tested application. Variations can be created for test modules, actions, interface entities, and data sets.

Variations can be created for the following TestArchitect project items:

Introduction to variations
Ideally, a test should not be sensitive to changes to the AUT, except when such changes are the subject of the test. Variations help isolate the base test from AUT variability, and lend a great measure of flexibility to your test project.

Default variations
Every project item with variations must also have a default, or base, variation.

Creating keyword variations
Keyword variations define certain categories of distinctions between different system/platform mixes, where the differences generally are not due to any progressive development or refinement of any aspect of the mix.

Creating linked variations
Linked variations are the preferred method for addressing what might be termed progressive variability.

Rules for creating variations
Rules for creating variations.

Executing a test with variations
As discussed, it is at the start of execution that you inform TestArchitect of the specific versions of systems (we’ll call these system/versions) that apply to your test run, as well as any applicable keywords.

Rules for executing with variations
At runtime setup, you have the option of supplying a variation specification to determine which variations of the required project items will be invoked for the test run. It is possible that certain invoked project items will not have variations that are exact matches with your runtime variation spec. In each such instance, TestArchitect applies a set of rules to determine the variation that is to be activated.

Flow diagram of variation selection
This section summarizes the guidelines for selecting the appropriate variation for each given project item at compile time.


Copyright © 2020 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333