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 window opens, click the Edit Stereotypes… button under the Stereotypes tab.

    Click Edit Stereotypes... button

    Click Edit Stereotypes… button

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

    Click Edit... button

    Click Edit… button

  4. When the Stereotype Specification window 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 window.
  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

48 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply