How to add custom fields to use case details?

Properties or tags are used to keep information about use case and can be viewed in Use Case Details. In there, you will see a number of fields such as level, complexity and author that are provided by default. In VP-UML, if you need to store additional information in use case details, you can create custom fields to do that.

UseCase Details

UseCase Details

Let’s create a Risk field as an example in the following steps:

  1. Right click on any use case and select Stereotypes > Stereotypes… from the pop-up menu.

    Select Stereotypes...

    Select Stereotypes...

  2. When the Use Case Specification dialog box opens, click the Edit Stereotypes… button under the Stereotypes tab.

    Click Edit Stereotypes... button

    Click Edit Stereotypes... button

  3. In the Configure Stereotypes dialog box, select UseCase stereotype and then click the Edit… button.

    Click Edit... button

    Click Edit... button

  4. When the Stereotype Specification dialog box opens, click the Tagged Value Definitions tab. Press the Add button to select Text Tag from the pop-up menu.

    Select Text Tag after clicking Tagged Value Definitions tab

    Select Text Tag after opening Tagged Value Definitions tab

  5. A new tag appears in the last row on the list under the Tagged Value Definitions tab. Note that the tag list determines the fields in use case details. Double click on it to rename the new tag Risk in the Name column. Click OK to proceed.

    Rename as Risk

    Rename as Risk

  6. Click OK in the Configure Stereotypes dialog box.
  7. When a pop-up dialog box asks you to confirm the changes, click Yes to proceed.
  8. Right click on any use case and select Open Use Case Details… from the pop-up menu.

    Click Open Use Case Details...

    Click Open Use Case Details...

  9. When it switches to Use Case Details page, you can see the newly created field, Risk, under the Details tab.

    Risk field is added

    Risk field is added

Related Links

Watch the video version of this tutorial
YouTube Video – How to Model Permissions On Use Case for Actors
YouTube Video – How to List Out All Use Cases in Your Project

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>