Online Helps > Rule Scenario Manager Console > Tests > Working with Tests

Tests can be added, edited, and removed from test sets in the Console. Sets of tests are saved in the database, and you can retrieve them for use in other scenarios (see Working with Test Sets for details).

In the Test Sets box, you can perform the following actions on tests:

Add a test to a test set

  1. Open a test set by clicking Edit in the row of an existing one in the Test Set Selector, or by clicking Create a new Test Set to start defining a new one.
  2. Select a test extractor from the drop-down list at the bottom of the Test Sets box and click Add Test.
  3. The extractor name is displayed in the Name column of the Test Sets box, and the fields for Operator and Test Value appear.
    images/testCreation.png
  4. From the Operator drop-down list, select the required operator.
  5. Enter the test value in the Test Value field. To enter a list of values, separate each value with a comma. A number of icons are available, depending on the type of test, that can be used to specify the test value. These are described in The action icons available in the Test Value field.
  6. Continue adding tests until you are finished.
  7. Click Apply to save the test set definition and select it for the current scenario.
  8. The Console returns to the Scenario Builder.
    Tip
    You can click Save at any time while editing tests to save the test set definition up to that point, without applying the test set to the scenario or returning to the Scenario Builder.

For a list of the test extractors and operators supplied with Rule Scenario Manager, see Test Extractors and Operators.

Apply baseline report values to tests

You can select a baseline report to use its calculated values as the test values in other tests. To do this, select a report from the Baseline report drop-down list in the Test Sets box. This adds a Ref column of checkboxes to the list of tests, which you can select to apply the report's values to the corresponding test values.

When the Ref option is checked on, the Test Value field is filled in with the execution data from the referenced report. The data is inactive, however, as the test value is retrieved from the reference and is therefore read-only:

images/baselineReportRef.png

Tip
If you click Save while a Ref option is checked on, and then uncheck Ref, the full results from the baseline report remain in the Test Value field. This is a useful way of retrieving and editing test values.

Edit a test

  1. Open a test set by clicking Edit in its row in the Test Set Selector.
  2. Change the operator or test value of the tests in the test set as required. You can also apply a baseline report value to a test, or remove such a reference if it exists. A number of icons are available, depending on the type of test, that can be applied to define the test value. These are described in The action icons available in the Test Value field.
  3. Click Apply to save the test set definition and select it for the current scenario.
  4. The Console returns to the Scenario Builder.

Remove a test from a test set

  1. Open a test set by clicking Edit in its row in the Test Set Selector.
  2. Click Remove in the row of the test to remove it from the test set.
  3. Click Apply to save the test set definition and select it for the current scenario.
  4. The Console returns to the Scenario Builder.

The action icons available in the Test Value field

A number of useful editing buttons become available at the top of the Test Value field for certain types of test, depending on the extractor you select:

See Also

Tests | Scenarios | Overview | Viewing Test Sets in the Test Set Selector | Working with Test Sets | Test Extractors and Operators