Alert Context

Each triggered alert has an alert-context that consists of various information about the alert and the event that triggered the alert. The following information is availble.

Alert

The following information about the alert and its event-trigger are available:

SuccessfulThis property is True if a single testcase or all testcases of a testsuite were successful.Boolean
FailedThis property is True if a single testcase or at least one testcase of a testsuite failed.Boolean
TestResultIdID of the testresult.Int64
EventOne of the following events that triggered the alert.

ExecutionStarted
The execution of a single testcase or a full testsuite has started.

ExecutionFinished
The execution of a single testcase or a full testsuite has finished. It doesn’t matter whether the result was positive or negative.
String
EventScopeOne of the following values indicate in wich context the alert was triggered.

Suite
The alert was triggered by a testsuite execution.

TestInSuite
The alert was triggered by a testcase that was run as part of a full testsuite.

TestStandalone
The alert was triggered by a testcase that was run standalone (not as part of a testsuite).
String

Environment

Use the Environment-Object to access properties about the BiG EVAL environment or instance.

Environment.DisplayNameDisplayname of the BiG EVAL instance that is also displayed in the header-bar of the user interface.String
Environment.FrontendUrlThe URL of the BiG EVAL frontend.String

Execution (Run)

Each testcase- or testsuite-execution owns a Run-object that provides information about the execution-context.

Run.RunIdID of the Run.Int64
Run.StartedAtThe point in time when the run started.DateTime
Run.FinishedAtThe point in time when the run finished. This property only contains a value in case of an ExecutionFinished-Event.DateTime (nullable)

Testcase

When the alert was triggered in the context of a single testcase, the Testcase-Property provides the following information.

TestIdID of the testcase.Int32
Test.TestIdID of the testcase.Int32
Test.NameName of the testcase.String
Test.DescriptionDescription of the testcase.String
Test.MethodUniqueNameUnique name of the testmethod used in the testcase.String

Testsuite

When the alert was triggered in the context of a testsuite, the Testsuite-Property provides the following information.

SuiteIdID of the testsuite.Int32
Suite.SuiteIdID of the testsuite.Int32
Suite.NameName of the testsuite.String
Suite.DescriptionDescription of the testsuite.String

Statistics

Each alert-context has a statistics-object that provides the following information.

Statistics.SuccessRateThe successrate of the testcases run.Single
Statistics.ExecutedCountThe number of testcases that were run.Int32
Statistics.SuccessfulCountThe number of testcases that were successful.Int32
Statistics.FailedCountThe number of testcases that failed.Int32
Statistics.ErrorCountThe number of testcases that had an error/exception when running.Int32
Table of Contents