Using a Modular Approach: Viewing Results from a JST


One of the many benefits of using JSTs is that the results you get are as modular as the test itself, and thus easier to read. JavaStar presents the results in the form of an expandable and collapsible tree, with summary information available at each node.

To view the results of the test you just ran:

  1. From the JavaStar main menu, click View Test Results.
    The Results Viewer opens. By default, this should show the log file for the test you just ran. If you've run another test since running Acceptance.jst, then to load the acceptance results:

    1. Click the Open button in the left panel.

    2. Locate the Acceptance.jst.log file and click Open.

      The log file appears in the Test Results panel as a hierarchical tree, with the first level of tests expanded.

      Results Viewer showing Acceptance.jst results

  2. Expand the log file results by clicking on the + symbols to the left of AddRecord.jst and VerifySearch.jst.
    This expands Acceptance.jst to show the nodes. The symbol in front of a node indicates its type: rectangle with square edges is a script, while a rounded rectangle is another JST file.
    If any nodes failed--i.e., they ended with an exception--a notice of the failure appears below the node in red. Green symbols signify normal ends.
    The Summary box here shows that Acceptance.jst had 13 nodes that ended normally and 0 that ended with exceptions. Seven verifications passed and none failed. The remaining values should be zero. Had you expanded your tests to use the JS.check features of the JavaStar API, these results would be summarized here, as well.
    If you select different nodes in the JST, you'll see that the summary information changes to show the summary for that test and any tests below it. The log panel always displays information for the currently selected node, as well.

  3. Close the Results viewer.
    Click Close.



Send feedback to JavaStar-feedback@suntest.com
Copyright © 1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303. All rights reserved.