Commands for interacting with tables.
Table Commands expect a standard HTML table structure. A table with a different structure will need to be handled by a custom Madcow Operation plugin.
Before performing any *.table.currentRow.*
operation on a table you must first use the *.table.selectRow
command to select the row, this then enables performing table commands on the selected row using the *.table.currentRow.*
syntax.
Operation to select a row for the HTML table, this allows subsequent table commands to reference this row using the currentRow syntax.
When selecting a row, there a some of special keywords that Madcow will recognise, and process differently. These can be used to select a particular row without having to know (or care about) the contents of any given cell.
first
last
row{n}
- where {n} is the number of the row (1 being the first row from the top, 2 being the next, etc).
When operating on a column within a given table row, there are some special keywords that Madcow will recognise and process differently. These can be used to operate on a column without having to know (or care) about the title.
Select the first column for the current row in a table - firstColumn
Selects the last column for the current row in a table - lastColumn
Selects a given column by its column number - column{n}
where {n} is the number of the column (1 being the first column from the left, 2 being the next, etc).