About Comparing Requirement Content

When you click the Text Compare command from the Markup section of the action bar, the compare widget compares the objects you have selected.

This page discusses:

See Also
Markup Section
Working with Requirements

Requirement Comparison

You can perform a requirement comparison even if there is no active markup, resulting in a transient comparison. The created markup saves this comparison.

The comparison is a text-based analysis of requirements and requirement specifications within the review web apps.

The first object (loaded in session) is compared with a second object from a search panel, which displays revisions or allows manual selection.

Differences in titles and content between the two objects are highlighted in customizable colors.

Notes: The first object can either be a requirement or a requirement specification.

Requirement as first object

  • If the first object is a requirement, it compares with other requirement.
  • The below table explains the comparison results based on the loaded first and second object.
First object Second object Comparison result
Single requirement Single requirement

Compares both the requirements.

Single requirement Requirement containing subelements Compares corresponding revision of the first object in the second object, if available; otherwise, it compares the root requirement.
Requirement containing subelements Single requirement Compares the root requirement.
Requirement containing subelements Requirement containing subelements
  • Each element in the first object is compared with its corresponding revision in the second object, if available.
  • If an element in the first object has no corresponding revision in the second object, it shows as existing only in the first object.
  • If an element in the second object has no corresponding revision in the first object, it shows as existing only in the first object.
  • If none of the elements in the first object have corresponding revisions in the second object, it displays a notification, and performs a comparison sequentially for each element.
  • If an element in the first object has multiple revisions in the second object, it uses only the first revision in sequence for the comparison.

Requirement specification as first object

If the first object is a requirement specification, it compares with another requirement, a different requirement specification, a chapter, or a comment.

Note: The procedure is the same as comparing two requirements having subelements. For more information, see Requirement containing sub elements.

Saving compare specification in markups

  • You can store a compare specification in any kind of markup (3D Markup or review markup).
  • When a comparison is displayed in a session:
    • if no markup exists, creating a markup stores the comparison specifications in it.
    • if an active markup exists, it stores the comparison specifications in it.
    • if a markup is deactivated, comparison specifications remain temporary.
  • In all above mentioned cases, the marker created on top of the first object are hidden.
    Note: The comments panel lists all the comments, regardless if they point to the root or the compare results.
  • If you remove compare when no comment is created on the top of the first object, the compare specification is removed from the markup. To save the specification in the markup, at least one existing comment must be pointing to the compare result.
  • A markup can store multiple comparison results, letting you create and manipulate marker and comments, on top of the comparison result, similarly as they can be on the first object.

Activate or deactivate the comparison result

  • To activate a comparison result, click a comment that references the comparison. When activated, only marker created on top of it is visible in the graphic area.
  • To deactivate a comparison result, click a comment that points to the root or deactivate the Text Compare command. When deactivated, only the marker created on the root are visible.

Displaying a Compare Result

  • On selecting the second object, the comparison of each element of the first and the second object is displayed.
  • The comparison appears like:

    Notes:
    • When an element is available in only one of the objects, a sidebar filled with the respective color is displayed.
    • When the element is preselected or selected, the colored side bar is replaced by a dark gray or blue bar .
  • The name of each compared object within their revision and the color associated with them is displayed by a legend on top of the graphic area.

Comparison of different types of content

The content panel displays the comparison of the content of the selected objects. The following types of content are compared:

Content Description
Simple text compare Compares the text content of the selected objects.
Table compare Compares the content in the table.
Notes:
  • Comparison of content containing table with different size may not show accurate results.
  • If multiple table cells have the same values, then the results might not be accurate.
Image compare Comparing two objects containing images displays the change in background color of the images according to color preference.
Equation compare Compares the images from the content of the selected objects.
Note: Displays the comparison of entire equation rather than displaying particular changes.
File attachment compare Displays the comparison of the file names rather than the content of the attached file.
Hyperlink compare Compares the text of the link rather than the link itself.

Zooming with mouse wheel

  • Press the Ctrl + mouse wheel key to perform zoom.
  • Ctrl + mouse wheel to zoom in and out.
  • Shift + mouse wheel to display left and right.
Important:
  • Rich text features like lists, bold, italic, underline, font color, font type, and font size are not considered for comparison.
  • The comparison may not be accurate if multiple rich text features are present in the content.