public class TableSubStepImplementations extends AbstractWebDriverSubStepImplementations
| Constructor and Description |
|---|
TableSubStepImplementations() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertTableValue(Integer column,
Integer row,
String text)
Check that a table cell contains the specified text using a 1 based
index.
|
void |
findLinkInRow(String linkText)
Find a link (anchor) element within a table row using the link text as a
discriminator.
|
void |
findLinkInRowByTagAndAttributes(String tag,
String attributeString)
Find an element within a table row by tag and attributes.
|
void |
findRowInTableWithText(String columnText)
Find a row in a table where columns exist that contain the specified
text.
|
org.openqa.selenium.WebElement |
findTableBodyRow(Integer row)
Locates the table body row, assuming that the table has already been
located Row 1 is the first
<tr>
beneath a <tbody>
|
String |
getValueInResultsTable(org.openqa.selenium.WebElement tbody,
int col,
int row) |
elementHasExpectedAttributes, getScreenshotBytes, webDriver, webDriverContextpublic org.openqa.selenium.WebElement findTableBodyRow(Integer row)
row - 1 based row indexpublic void assertTableValue(Integer column, Integer row, String text)
column - 1 based column indexrow - 1 based row indextext - the expected textpublic String getValueInResultsTable(org.openqa.selenium.WebElement tbody, int col, int row)
public void findRowInTableWithText(String columnText)
columnText - A comma delimitted list of column values, each column can be
double quotedpublic void findLinkInRowByTagAndAttributes(String tag, String attributeString)
tag - the tagattributeString - the attribute stringpublic void findLinkInRow(String linkText)
linkText - the text of the link to findCopyright © 2016 Substeps. All rights reserved.