public class JiraAwareWebDriverUtils extends Object
JiraAwareFailable.jiraAwareFail(java.lang.String) on failure.| Constructor and Description |
|---|
JiraAwareWebDriverUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertButtonDisabledByText(org.openqa.selenium.WebDriver driver,
String buttonText,
JiraAwareFailable failable)
Fail if the button defined by the buttonText is enabled.
|
static void |
assertButtonEnabledByText(org.openqa.selenium.WebDriver driver,
String buttonText,
JiraAwareFailable failable)
Fail if the button defined by the buttonText is disabled.
|
static void |
assertFalse(boolean booleanToAssertFalse,
JiraAwareFailable failable)
If booleanToAssertFalse is true call
JiraAwareFailable.jiraAwareFail(java.lang.String). |
static void |
assertFalse(String message,
boolean booleanToAssertFalse,
JiraAwareFailable failable)
If booleanToAssertFalse is true call
jiraAwareFail. |
static void |
assertTrue(boolean booleanToAssertTrue,
JiraAwareFailable failable)
If booleanToAssertTrue is false call
jiraAwareFail. |
static void |
assertTrue(String message,
boolean booleanToAssertTrue,
JiraAwareFailable failable)
If booleanToAssertTrue is false call
jiraAwareFail with the given message. |
public JiraAwareWebDriverUtils()
public static void assertFalse(boolean booleanToAssertFalse, JiraAwareFailable failable)
JiraAwareFailable.jiraAwareFail(java.lang.String).booleanToAssertFalse - to assert is falsefailable - to call jiraAwareFail on if booleanToAssertFalse is truepublic static void assertFalse(String message, boolean booleanToAssertFalse, JiraAwareFailable failable)
jiraAwareFail.message - to include if booleanToAssertFalse is truebooleanToAssertFalse - public static void assertTrue(boolean booleanToAssertTrue, JiraAwareFailable failable)
jiraAwareFail.booleanToAssertTrue - public static void assertTrue(String message, boolean booleanToAssertTrue, JiraAwareFailable failable)
jiraAwareFail with the given message.message - to include if booleanToAssertTrue is falsebooleanToAssertTrue - failable - public static void assertButtonDisabledByText(org.openqa.selenium.WebDriver driver, String buttonText, JiraAwareFailable failable)
Fail if the button defined by the buttonText is enabled.
driver - to get the button frombuttonText - to identify the buttonfailable - to fail on if button identified by buttonText is enabled.public static void assertButtonEnabledByText(org.openqa.selenium.WebDriver driver, String buttonText, JiraAwareFailable failable)
Fail if the button defined by the buttonText is disabled.
driver - to get the button frombuttonText - to identify the buttonfailable - to fail on if button identified by buttonText is disabled.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.