Studio:Reporter

From STRIDE Wiki
Jump to navigation Jump to search

Introduction

The STRIDE Reporter allows you to track and report test cases for scripts, store test data in XML format, and produce HTML output for viewing of test case results.

The STRIDE Reporter tracks two primary objects: Suites and Test Cases, which are further described as follows:

  • A Suite is a collection of Test Cases and other Suites. A Suite has a name, a description, and zero (0) or more children, which can be either Test Cases or other sub Suites.
  • A Test Case represents a single pass/fail item and it consists of a name, a description, any test data that is added during the lifetime of the TestCase, and a status. The status can be any one of the following:
    • PASS
    • FAIL
    • IN PROGRESS
    • NOT APPLICABLE (or N/A)

Automation API


reporter

Member
Type
Description

Load (
    string file
)

Method
Loads the results from a saved XML file. This method will notclear the current data in the reporter before loading the file. The file parameter is the full system path to the XML file to load.
















reporter.Suites


reporter.Suites.Item


reporter.Suites.Item.CustomData


reporter.Suites.Item.CustomData.Item


reporter.Suites.Item.Annotations


reporter.Suites.Item.Annotations.Item


reporter.Suites.Item.Tests


reporter.Suites.Item.Tests.Item


reporter.Suites.Item.Tests.Item.Comments


reporter.Suites.Item.Tests.Item.Comments.Item