Page History
Div | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
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
Noteinfo | ||
---|---|---|
| ||
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. |
...
Inspecting the Input and Output Data
...
...
Right-click the operation name (queryProducts in the screenshot above) and select Show Parameters from the context menu. The menu displays a list of all input parameters. In the example above it is only one: userInput . Select a parameter from the list to add it to the Watches window at the bottom of the UML tab. For more information on the Watches window, refer to Watching Object Values further below. To inspect the output parameter do the same on the return statement. |
Navigating through the graphic
...
...
To navigate through the graphic, you can use the mouse. While moving your mouse over the UML tab, the mouse cursor changes to a pointing finger on some elements. Click these elements to browse deeper into the execution hierarchy (or select Show activity from the context menu). |
In addition to the Main tab further tabs will open, displaying the execution path through the activity diagram of the selected operation.
...
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 .
...
...
...
By clicking the icons from the ion bar of the window, you can switch between four different presentation formats:
By selecting Copy Value from the context menu, you can copy the corresponding attribute value into the clipboard. |
Watching Objects of Type Blob
...
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 .
Inspecting Errors
Action nodes where an error has occurred are displayed in red in the UML view of the test.
If an error has been caught in the model, the test case is green. Nevertheless, the caught error branch is displayed in the UML view in orange color:
If you have set your project settings to Ignore Caught Errors, caught errors will only be visible through the color of the branch where they have been caught:
For more information on how to set this option, refer to Changing the Builder Project Settings.