|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.testtools.selenium.JiraAwareWebDriverUtils
public class JiraAwareWebDriverUtils
All asserts call JiraAwareFailable.jiraAwareFail(java.lang.String)
on failure.
Constructor Summary | |
---|---|
JiraAwareWebDriverUtils()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiraAwareWebDriverUtils()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |