Interface IActivity
The public read-only interface of the Activity Class.
public interface IActivity
Properties
BeginTime
Returns the time the report activity started.
DateTime BeginTime { get; }
Property Value
ChildBlockedCount
Returns the count of blocked (ignored/skipped) Children activities.
int ChildBlockedCount { get; }
Property Value
ChildFailedCount
Returns the count of failed Children activities.
int ChildFailedCount { get; }
Property Value
ChildSuccessCount
Returns the count of successful Children activities.
int ChildSuccessCount { get; }
Property Value
Children
Returns the child activities.
IList<IReportItem> Children { get; }
Property Value
CustomProperties
Returns the custom properties of this activity.
IDictionary<string, string> CustomProperties { get; }
Property Value
DetailMessage
Returns the detailed message of this activity.
string DetailMessage { get; }
Property Value
ElapsedTime
Returns the time elapsed since the BeginTime.
Duration ElapsedTime { get; }
Property Value
EndTime
Returns the time the report activity ended or null if the activity is still running.
DateTime? EndTime { get; }
Property Value
ErrorMessage
Returns the error message of this activity if any.
string ErrorMessage { get; }
Property Value
HasTimedOut
Returns if the activity has timed out.
bool HasTimedOut { get; }
Property Value
IsActive
Returns if this activity is active.
bool IsActive { get; }
Property Value
Parent
Returns the parent of this activity.
IActivity Parent { get; }
Property Value
Status
Returns the status of this activity.
ActivityStatus Status { get; }
Property Value
Timeout
Returns the timeout of this activity.
Duration Timeout { get; }
Property Value
TotalBlockedCount
Returns the total blocked (ignored/skipped) count of this activity including its Children blocked count.
int TotalBlockedCount { get; }
Property Value
TotalBlockedTestCaseCount
Returns the total blocked (ignored/skipped) ITestContainerActivity test cases count of this activity including its Children blocked count.
int TotalBlockedTestCaseCount { get; }
Property Value
TotalChildMaintenanceModeCount
Returns the total count of 'MaintenanceMode' category Children activities.
int TotalChildMaintenanceModeCount { get; }
Property Value
TotalDuration
int TotalDuration { get; }
Property Value
TotalErrorCount
Returns the total error count of this activity including its Children error count.
int TotalErrorCount { get; }
Property Value
TotalFailedCount
Returns the total failed count of this activity including its Children failed count.
int TotalFailedCount { get; }
Property Value
TotalFailedTestCaseCount
Returns the total failed ITestContainerActivity test cases count of this activity including its Children failed count.
int TotalFailedTestCaseCount { get; }
Property Value
TotalSuccessCount
Returns the total success count of this activity including its Children success count.
int TotalSuccessCount { get; }
Property Value
TotalSuccessTestCaseCount
Returns the total success ITestContainerActivity test cases count of this activity including its Children success count.
int TotalSuccessTestCaseCount { get; }
Property Value
TotalWarningCount
Returns the total warning count of this activity including its Children warning count.
int TotalWarningCount { get; }