For test cases running with enabled trace the E2E xUML Runtime collects tracing information. By that, you can browse through a graphical representation of the test case run afterwards.
This graphical representations is displayed on the UML tab.
Screenshot: Having a First Look at the UML Tab
If you switch to the UML tab, and the test case has not yet been run, a note The test case has not been run yet. will be displayed in the information box. |
After the test case has run, a sequence diagram with a client, a port type, and backend adapters (if used in the UML diagram) will be displayed on a Main tab.
The sequence diagram visualizes the input and output actions that happened between client and service and backend.
|
|
In addition to the Main tab further tabs will open, displaying the execution path through the activity diagram of the selected operation.
Note the Watches window at the bottom of the UML tab. This window displays objects that you selected for watching. You can add objects to the watches window simply by clicking them.
If an output object contains an array, the list of array elements (items) is displayed in the Watches window, too.
To see the values of array items, expand the nodes in the Watches window.
The number of array elements is displayed in parentheses (product:Product[3] ). For each array element, its type (Product) is displayed, too.
In the screenshot above, only the first and last items of the product array is displayed as the trace settings have been set to Truncate arrays, blobs and strings (seeĀ Modifying the Tracing Settings for more information on the trace settings). The omission of elements is indicated by three vertical dots .
Right-click an attribute of base type and select Show Value from the context menu or double-click the tree item. Now you can have a closer look at its value. The value of the attribute is displayed in detail in a separate window, the E2E Text Viewer .
|
Right-click an attribute of type Blob and select Show Value from the context menu or double-click the tree item. Now you can have a closer look at its value. The value of the attribute is displayed in hexadecimal encoding in a separate window, the E2E Blob Viewer .
Click the ABC button to view the blob content in plain text.
To clear the Watches window just right-click anywhere into the Watches window and select Clear Watch View from the context menu.
To view the action script that was executed when running the test case, just click on an action node containing action script. This is indicated by the sterotype <<ActionScript>> on the action node. The action script is displayed in the E2E Action Script Viewer .