DataTable Bindings

Storing the value of a cell in a variable

 * This is used to get the value of the column by specific column name, and store it in a variable.

Given I store the value of the '{ColumnName}' column of the first row in the DataTable as '{VariableName}'


 * Or, when working with a DataTable within a panel:

Given I store the value of the '{ColumnName}' column of the first row in the '{PanelHeader}' DataTable as '{VariableName}'


 * For example:

Given I store the value of the 'Name' column of the first row in the DataTable as 'SelectedName'


 * The word 'first' is interchangeable with any ordinal number from 1-20 (first-twentieth) and also 'last'.



Filtering a column of a DataTable

 * This is used to filter on a column of a DataTable

Given I filter the '{ColumnName}' column of the DataTable by '{Value}'


 * Or, when working with a DataTable within a panel:

Given I filter the '{ColumnName}' column of the '{PanelHeader}' DataTable by '{Value}'


 * For example:

Given I filter the 'Name' column of the DataTable by 'Test Agreement'



Clicking on a specific row

 * This is used to click a row at a given position in the DataTable.

When I click the first row in the DataTable


 * Or, when working with a DataTable within a panel:

When I click the first row in the '{PanelHeader}' DataTable


 * For example:

When I click the first row of the 'Quest Busy Updates' DataTable


 * The word 'first' is interchangeable with any ordinal number from 1-20 (first-twentieth) and also 'last'.


 * This can be used to click a DataTable row for the purpose of navigation on all DataTables, except those where the DataTable has a 'Select' column as this will override the click functionality. For such DataTables, see



Clicking on a specific cell (column & row)

 * This is used to click on a specific cell, i.e. a specific column of a specific row

When I click the '{ColumnHeader}' column of the first row in the DataTable


 * Or, when working with a DataTable within a panel:

When I click the '{ColumnHeader}' column of the first row in the '{PanelHeader}' DataTable


 * For example:

When I click the 'Job Ref' column of the first row in the 'Audit Jobs' DataTable


 * The word 'first' is interchangeable with any ordinal number from 1-20 (first-twentieth) and also 'last'.


 * This binding is useful when cells contain individual functionality, such as a hyperlink or checkbox.



Asserting a DataTable has loaded successfully

 * The below is used to Assert that the DataTable has loaded successfully, not to check the values in the DataTable

Then The DataTable should load successfully


 * Or, when working with a DataTable within a panel

Then The '{PanelHeader}' DataTable should load successfully


 * For example:

Then The 'Quest Busy Updates' DataTable should load successfully