< Previous | Next >

Lesson 2: Populate a view with artifacts

A view starts with a blank canvas. In this lesson, you assemble the view by adding artifacts, which are building blocks that contain indexed engineering data. When an artifact is dragged onto the view canvas, it becomes a container that is filled with graphical nodes that represent your engineering data.

Procedure

  1. Add a Feature artifact onto the view canvas.
    1. On the Palette tab, open the Artifacts section.

      The view shows the Artifacts menu on the Palette tab.

    2. Drag the Feature artifact onto the view canvas.
      Tip: You can also type Feature in the search field to filter the palette item without expanding the list.
    3. To focus only on approved features, right-click inside the container and click Refine Container Content > Edit conditions. Select the Status attribute, and the Approved value.

      Filters help you narrow the list of artifacts in the view.

      The Image shows the Set Parameters window for the Feature artifact.

      Select one of the following options:
      • Locked: Users cannot edit artifact attributes when they run the view.
      • Locked + optional: Users can either enter an attribute value, or omit the value from the query by leaving the parameter empty.
      • Unlocked + required: Users must enter an attribute value when they run the view. This way, a single view can dynamically show different engineering data, based on the parameters the user supplies. Users must supply the parameter before they run the view.

      Click Add and Close to return to the Edit conditions tab where you can add other conditions.

      On the Edit scope tab, you can select specific project areas that contain the artifacts that you want to show in the view. If you do not select any of the listed projects, the container includes all the project areas that you can access.

      To save your selection, click OK.

    On the view canvas, the artifact becomes a container that holds the engineering artifact that you selected.
    Note: At any time, hover over the feature to see more details. Also, you can drag the containers on the view canvas to reposition them. Ensure that you drag the entire container, and not only the text element. You can move the text element outside the container, or remove it. In the following image, 1 is the text element, and 2 is the container.

    Container versus text element.

  2. Explore the linked test cases that validate the feature.
    1. Right-click the Feature container, and then click Show Links To to open the Show Links To wizard. Use the wizard to add the Test Case container with the test cases that match the selected linking relationship.
      Tip: Each artifact container provides a different set of relationships and artifacts that you can explore.
      The Test Case container is added, and it includes the test cases that match the specified link relationship.

      The features and the associated test cases display on the view canvas.

  3. Change the title of the container.
    1. Click the Feature text element inside the container.
    2. On the Properties tab, in the text Value field, enter Approved Features.

      The view shows the text element change.

      The text element in the container shows the new container title.
  4. Resize the container.
    1. Click a container and drag its border.
      Resize container by using mouse.
      Note:
      • If the value of the Pack attribute is set to False, the container is resized.
      • If the value of the Pack attribute is set to True, you receive a message that, if you proceed, the value of the Pack attribute changes from True to False. If you click OK, the attribute value changes and you can resize the container.
  5. Explore related test case results.
    1. Right-click the Test Case container, and then click Show Links To to open the Show Links To wizard. Use the wizard to add the Test Case Result container with the test case result that matches the selected linking relationship. A Test Case Result container is added, with test case results that match the specified linking relationship.

      Related test results display in the container.

    2. Change the container title to Test Results, as in step 3.

      The view shows the new title for the Test Case Results container.

  6. Add linked test environment artifacts to the view. Right-click the Test Results container, and then click Show Links To to open the Show Links To wizard. Use the wizard to add the Test Environment container and the test environment artifacts that match the selected linking relationship. The Test Environment container is added, with test environment artifacts that match the selected linking relationship.

    The view includes the new Test Environment container.

Results

You created the Traceability: feature - test environment view by using artifact building blocks. This view helps you trace test cases, test results, and test environments that are associated with approved features. Use this view to determine what features were tested on a specific environment. Also, you can use the view to determine the test cases, which are associated with the specific features. In a single view, you visualize artifacts from different applications, and the relationships among them.
< Previous | Next >

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