OpenTAP 9.33
API Reference
Public Member Functions | Properties | List of all members
OpenTap.TestRun Class Reference

Common base class for TestStepRun and TestPlanRun. More...

Inheritance diagram for OpenTap.TestRun:
OpenTap.TestPlanRun OpenTap.TestStepRun

Public Member Functions

 TestRun ()
 Creates a new TestRun
 
void UpgradeVerdict (Verdict verdict)
 Upgrades Verdict. More...
 

Properties

Guid Id [getprotected set]
 ID of this test run; can be used to uniquely identify a TestStepRun or TestPlanRun.

 
Verdict Verdict [get]
 OpenTap.Verdict resulting from the run.
 
Exception Exception [getset]
 Exception causing the Verdict to be 'Error'.
 
virtual TimeSpan Duration [getprotected set]
 Length of time it took to run.
 
DateTime StartTime [getset]
 Time when the test started as a DateTime object.

 
long StartTimeStamp [getprotected set]
 Time when the test started as ticks of the high resolution hardware counter. Use with Stopwatch.GetTimestamp and Stopwatch.Frequency to convert to a timestamp.

 
ResultParameters Parameters [getprotected set]
 A list of parameters associated with this run that can be used by ResultListener.
 

Detailed Description

Common base class for TestStepRun and TestPlanRun.

Member Function Documentation

◆ UpgradeVerdict()

void OpenTap.TestRun.UpgradeVerdict ( Verdict  verdict)
inline

Upgrades Verdict.

Parameters
verdict

OpenTAP 9.33 API built Wed May 27 2026 18:31:39