Lesson 3: Edit the view

In this lesson, you learn how to edit the view to customize it. You change the appearance of the nodes. You use conditional parameters to change the color of the containers. You can also sort the nodes based on attributes of the artifacts. You can change the shape of the relationships in the view to highlight traceability. You can hide a container, and then show it again in the view.

About this task

  • Dashed lines draw relationships between containers. See relationship 1 in the image.
  • Solid lines draw relationships from nodes in each container to other nodes in other containers. See relationship 2 in the image.
Relationships between containers and relationships between container nodes.

Procedure

  1. Change the properties of a relationship.
    1. In the view editor, right-click the dashed arrow between the Test Result and the Test Environment containers, and click Edit relationship.
      How to edit a relationship between containers.
    2. On the UI type tab, in the UI type field, select Round relationship, and click Ok.
      Use other parameters in this dialog box to control the direction of the relationship, arrow styles, and other relationship properties.
      How to set the UI type for a relationship.
      The relationships between the container nodes change according to your UI type selection.
      New relationship shape.

    For more information about relationship UI types, see UI types for relationships.

  2. To hide a container, right-click the Test Result container, and select Hide container.
    Hide a container.
    The relationships from the Test Case to the Test Environment container are redrawn after the Test Result container is removed.
    New links between Engineering Test Management Test Case and Engineering Test Management Test Environment containers.
    Tip: To bring back hidden containers, right-click the dashed line between containers, and select Show hidden containers.
    Tip: Right-click the canvas, and select Show count to see the number of artifacts in each container in a view. To see how many artifacts are in one container, right-click the container, and select Show count. To see the artifacts again, select Show artifacts.
  3. Change the appearance of the nodes.
    1. Show the test case ID in the node.
      Right-click a node in the Test Result container, and click Edit node. On the UI type tab, select baseResourceNode from the list. Click the pencil icon to edit the Title parameter value and select ID in the list of attributes.
      Set the UI type to modify the node appearance
    2. Change the size of the node to show longer node descriptions.

      In the node editor, set the node width to 400. To automatically adjust the width of the container to show longer node titles, set the Overflow parameter to Expand.

    3. Click Ok to save the changes.
  4. Use conditional parameters to color-code the features based on their difficulty. Use red for high difficulty features, yellow for medium, and green for low.
    1. Right-click a feature node, and click Edit node.
    2. In the node editor, click the Edit parameter icon near the Fill UI parameter.
      Set a conditional parameter to highlight nodes based on attributes of the represented artifacts
    3. In the Parameter: fill window, click Add.
      How to add a condition in the Conditional parameter window.

      The Conditions window opens.

      Enter the details of the condition
    4. To set the condition and color of the artifacts for Feature container that has high difficulty, complete the following substeps:
      1. From the list of property, select Difficulty.
      2. Select operator as =.
      3. Select the value as High.
      4. From the list of colors, select Red.
      5. Click Ok.
      When difficulty attribute of the artifact is high, set the color of the artifact as red.
    5. Repeat steps c and d to set the conditions and parameter values for medium and low feature difficulties.
      • For artifacts with the difficulty attribute set to Medium, select Yellow from the list of colors.
      • For artifacts with the difficulty attribute set to Low, select Green from the list of colors.
    6. Keep White as the default fill value.
      The nodes that do not meet the configured conditions are shown in white color.
      Conditional parameters that are configured to reflect feature difficulty values
    7. Click Ok to save all your settings.

Results

You learned how to customize the node containers and relationship, and how to hide containers that are not relevant to the users of the view. You configured conditional parameters to highlight features that meet specific conditions.

Explore the outline to focus on a specific area of a large view. If you don't need the outline, you can right-click at any empty point on the canvas to turn it off. The look of the view changes based on your settings.
The view reflects the configurations