OpenTAP 9.34
API Reference
OpenTap.TestRun Class Referenceabstract

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.
 

Properties

Guid Id [get, protected 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 [get, set]
 Exception causing the Verdict to be 'Error'.
 
virtual TimeSpan Duration [get, protected set]
 Length of time it took to run.
 
DateTime StartTime [get, set]
 Time when the test started as a DateTime object.

 
long StartTimeStamp [get, protected 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 [get, protected 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.34 API built Wed Jul 1 2026 09:21:15