Skip to content

Table check value contains

Tim Farr edited this page Jul 21, 2011 · 1 revision

Table Check Value Contains

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.

Usage

[MADCOW:htmlTableReference].table.currentRow.checkValueContains = [columnName : columnValue, columnName2 : columnValue2, etc]

Examples

# 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']
Clone this wiki locally