-
Notifications
You must be signed in to change notification settings - Fork 2
Table check value contains
Tim Farr edited this page Jul 21, 2011
·
1 revision
Checks a table cell contains a given text value for the specified column on the current selected row in an HTML table. This operation differs from Table Check Value in that it doesn't have to match the entire value, just a portion of it.
[MADCOW:htmlTableReference].table.currentRow.checkValueContains = [columnName : columnValue, columnName2 : columnValue2, etc]
# Country is 'New Zealand', and province is 'Otago'
searchResultsTable.table.currentRow.checkValueContains = [country : 'Zealand']
searchResultsTable.table.currentRow.checkValueContains = [country : ' ew', province : 'tago']
searchResultsTable.table.currentRow.checkValueContains = ['column3' : 'New Z']
#The value in the first column is 'Unit A'
searchResultsTable.table.currentRow.checkValueContains = ['firstColumn' : 'nit']
# The value in the last column is 'Earth'
searchResultsTable.table.currentRow.checkValueContains = ['lastColumn' : 'Ear']
- Home
- Setting Up
- Configuration
- Writing Madcow Tests
- Running Madcow Tests
- Data Parameters
- Templates
- Macros
- Disabling A Test
- Spreadsheet Scenario Testing
Madcow Operations
- Madcow Operations
- Madcow Operations - Table
- Madcow Operations - XPath Extras
- List of Madcow Operations
Extending and Customising Madcow
Reference
For Developers