InterfaceIExecutionExtension
Implements an extension to the execution engine.
Definition
Namespace:ArtOfTest.WebAii.Design.Execution
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public interface IExecutionExtension : ITestListExecutionExtension
Inherited Members
Methods
OnAfterTestCompleted(ExecutionContext, TestResult)
Called right after a test is completed execution.
Declaration
void OnAfterTestCompleted(ExecutionContext executionContext, TestResult result)
Parameters
executionContext
The execution context
result
The test to be executed
OnBeforeTestStarted(ExecutionContext, Test)
Called right before a test is started
Declaration
void OnBeforeTestStarted(ExecutionContext executionContext, Test test)
Parameters
executionContext
The execution context
test
The test to be executed
OnInitializeDataSource(ExecutionContext)
Called on the initialization of the data source. This is an opportunity to retrieve a custom data source and return it as a DataTable.
Declaration
DataTable OnInitializeDataSource(ExecutionContext executionContext)
Parameters
executionContext
The execution context.
Returns
The DataTable to use as a data source else, return null.
Remarks
Regardless if the test is data bound or not, if this method returns a DataTable, the test will be considered data bound.
OnStepFailure(ExecutionContext, AutomationStepResult)
Called when a step fails in a test.
Declaration
void OnStepFailure(ExecutionContext executionContext, AutomationStepResult stepResult)
Parameters
executionContext
The execution context
stepResult
The result of the step failure