background image
<< Expand the error line | Updating expected values >>

Using the Difference Viewer

<< Expand the error line | Updating expected values >>
Getting Started: A Tutorial
127
7 R
EVIEWING
AND
R
EPORTING
T
EST
R
ESULTS
Using the Difference Viewer
Using the Difference Viewer
The Difference Viewer is a dual-paned, display-only window that lists the
expected values in the left pane and the actual values in the right pane. The
Difference Viewer provides more detailed information about the error that
caused the testcase to fail. To invoke the Difference Viewer, click the box
icon
next to the error in the results file.
1
Make the results file active
Click the Results window.
2
Open the Difference Viewer
Click the box icon preceding the error message. SilkTest opens the
Difference Viewer, as shown in the following:
(Web): As you can see, the Difference Viewer shows that the
Verify_Window_Caption testcase expected a value of "Welcome to
GMO," but the actual value verified at runtime was "Welcome to Green
Mountain Outpost".
(client/server): As you can see, the Difference Viewer shows that the
Verify_Window_Caption testcase expected a value of "Customer
Service," but the actual value verified at runtime was "Customer
Information."
The preceding exercise is a simple example to show you how the
Difference Viewer works. Because of the simplicity of the error, the
Difference Viewer does not provide much more information about the
error than you previously knew by looking at the error message in the
Web application
Client/server application