Defining a precondition to select test data records before executing test cases

You can dynamically configure the data selection criteria for test cases at execution time. However, you must first enable an operation precondition for test cases in the Application Administration page of the associated project area.

Procedure

  1. In the web client, click Administration > Manage This Project Area.
  2. In the navigation pane, click Operation Behavior.
  3. In the What column, locate Execute Test Case where the Who column contains the proper role. For example, Who is Everyone.
  4. In the Action column, click the Edit Configuration icon.
  5. Next to Preconditions, click the Add icon.
  6. In the Choose Precondition dialog box, select Allow Test Data Record selection before execution; then click OK. The image shows the Choose Precondition dialog box with the Allow Test Data Record selection before execution precondition selected.
  7. In the Application Administration page, at the top-right, click Save.

Results

When you run a test case in the project area, you are now prompted to select records from the associated test data.

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki