Previous Topic

Next Topic

Book Contents

Book Index

Selecting values for an item on a repeating study object

When you write a test case and one of the items in a rule is on a repeating study object, you can provide test values for each instance of the item. For more information about writing test cases, see Writing a test case for a rule or global condition.

  1. In the Rule Test Cases dialog box, in the cell that contains <repeating>, click the box at the end of the cell.

    The Define Test Values for Repeating Instances dialog box appears.

  2. To create a test instance for an additional instance of the repeating study object:
    1. Select the study object.
    2. Click either Add Repeating Instance or Copy Repeating Instance.
      • For example, if a rule refers to an item on a repeating form, you can specify an item path for each instance of the repeating form on which the item exists.
  3. To mark an instance of the repeating study object as current or deleted:

    Note: The first repeating instance is marked as current after you create a test case.

  4. To remove an instance of a repeating study object:
  5. Provide test values for the items that are used in the rule:

    Note: You can select any study object in the tree to provide values. Values of child study objects also appear in the grid for their parents. If the rule contains multiple items that are children of repeating study objects, they are listed in the Repeating Items section; select an item to provide its test values in the grid.

  6. Click OK.

    You return to the Rule Test Cases dialog box. Continue writing the test case.

Copyright © 2013 Oracle and/or its affiliates. All rights reserved.