Class
DataContext

The data context responsible for iteration the test. The ExecutionContext has a collection of DataContext for each test in the row (e.g. test as step, both tests data-bound.

Definition

Namespace:ArtOfTest.WebAii.Design.Execution

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class DataContext

Inheritance: objectDataContext

Properties

CurrentDataRow

Gets the current data row of current execution iteration for a data driven test.

Declaration

cs-api-definition
public DataRow CurrentDataRow { get; }

Property Value

DataRow

CurrentIterationIndex

Gets the current iteration index

Declaration

cs-api-definition
public int CurrentIterationIndex { get; }

Property Value

int

DataInfo

Gets the data info.

Declaration

cs-api-definition
public DataInfo DataInfo { get; }

Property Value

DataInfo

DataSource

Gets the datatable of a data driven test.

Declaration

cs-api-definition
public DataTable DataSource { get; }

Property Value

DataTable

Methods

SetCurrentDataRow(DataRow)

Sets the current data row to execute against.

Declaration

cs-api-definition
public void SetCurrentDataRow(DataRow row)

Parameters

row

DataRow

The data row.