public class TableElement extends RunOnFailureKeywordsAdapter
| Modifier and Type | Field and Description |
|---|---|
protected BrowserManagement |
browserManagement
Instantiated BrowserManagement keyword bean
|
protected Logging |
logging
Instantiated Logging keyword bean
|
| Constructor and Description |
|---|
TableElement() |
| Modifier and Type | Method and Description |
|---|---|
String |
getTableCell(String tableLocator,
int row,
int column) |
String |
getTableCell(String tableLocator,
int row,
int column,
String logLevel)
Returns the content of the table cell at the coordinates row and
column of the table identified by tableLocator.
|
void |
tableCellShouldContain(String tableLocator,
int row,
int column,
String text) |
void |
tableCellShouldContain(String tableLocator,
int row,
int column,
String text,
String logLevel)
Verify the content of the table cell at the coordinates row and
column of the table identified by tableLocator contains
text.
|
void |
tableColumnShouldContain(String tableLocator,
int col,
String text) |
void |
tableColumnShouldContain(String tableLocator,
int col,
String text,
String logLevel)
Verify the content of any table cells of the table column of the
table identified by tableLocator contains text.
|
void |
tableFooterShouldContain(String tableLocator,
String text) |
void |
tableFooterShouldContain(String tableLocator,
String text,
String logLevel)
Verify the content of any table footer cells of the table identified by
tableLocator contains text.
|
void |
tableHeaderShouldContain(String tableLocator,
String text) |
void |
tableHeaderShouldContain(String tableLocator,
String text,
String logLevel)
Verify the content of any table header cells of the table identified by
tableLocator contains text.
|
void |
tableRowShouldContain(String tableLocator,
int row,
String text) |
void |
tableRowShouldContain(String tableLocator,
int row,
String text,
String logLevel)
Verify the content of any table cells of the table row of the
table identified by tableLocator contains text.
|
void |
tableShouldContain(String tableLocator,
String text) |
void |
tableShouldContain(String tableLocator,
String text,
String logLevel)
Verify the content of any table cells of the table identified by
tableLocator contains text.
|
runOnFailureByAspectJprotected BrowserManagement browserManagement
protected Logging logging
public String getTableCell(String tableLocator, int row, int column, String logLevel)
tableLocator - The locator to locate the table.row - The table row.column - The table column.logLevel - Default=INFO. Optional log level.public void tableCellShouldContain(String tableLocator, int row, int column, String text)
public void tableCellShouldContain(String tableLocator, int row, int column, String text, String logLevel)
tableLocator - The locator to locate the table.row - The table row.column - The table column.text - The text to verify.logLevel - Default=INFO. Optional log level.public void tableColumnShouldContain(String tableLocator, int col, String text)
public void tableColumnShouldContain(String tableLocator, int col, String text, String logLevel)
| Table Column Should Contain | tableId | 3 | C |
| Table Column Should Contain | tableId | 2 | C |
tableLocator - The locator to locate the table.col - The table column.text - The text to verify.logLevel - Default=INFO. Optional log level.public void tableFooterShouldContain(String tableLocator, String text, String logLevel)
tableLocator - The locator to locate the table.text - The text to verify.logLevel - Default=INFO. Optional log level.public void tableHeaderShouldContain(String tableLocator, String text, String logLevel)
tableLocator - The locator to locate the table.text - The text to verify.logLevel - Default=INFO. Optional log level.public void tableRowShouldContain(String tableLocator, int row, String text, String logLevel)
tableLocator - The locator to locate the table.row - The table row.text - The text to verify.logLevel - Default=INFO. Optional log level.public void tableShouldContain(String tableLocator, String text, String logLevel)
tableLocator - The locator to locate the table.text - The text to verify.logLevel - Default=INFO. Optional log level.Copyright © 2014. All rights reserved.