|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.functest.framework.AbstractFuncTestUtil
com.atlassian.jira.functest.framework.assertions.JiraFormAssertionsImpl
public class JiraFormAssertionsImpl
And implementation of JiraFormAssertions.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
|---|
environmentData, FS, locators, logger, logIndentLevel, tester |
| Constructor Summary | |
|---|---|
JiraFormAssertionsImpl(TextAssertions textAssertions,
net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
|
|
| Method Summary | |
|---|---|
void |
assertAuiFieldErrMsg(String expectedText)
Asserts that there is a "field" error message with the expectedText in an AUI form. |
void |
assertFieldErrMsg(String expectedText)
Asserts that there is a "field" error message with the expectedText. |
void |
assertFormErrMsg(String expectedText)
Asserts that there is a "form" error message with the expectedText. |
void |
assertFormNotificationMsg(String expectedText)
Asserts that there is a "form" notification message with the expectedText |
void |
assertFormSuccessMsg(String expectedText)
Asserts that there is a "form" success message with the expectedText |
void |
assertFormWarningMessage(String messageText)
Assert that the form contains warning message with given text. |
void |
assertNoErrorsPresent()
Asserts that there is no errors present. |
void |
assertNoFieldErrMsg(String notExpectedText)
Asserts that there is NO "field" error message with the notExpectedText. |
void |
assertNoFormErrMsg(String notExpectedText)
Asserts that there is NO "form" error message with the notExpectedText. |
void |
assertSelectElementHasOptionSelected(String selectElementName,
String optionName)
Asserts that the specified Select form element has this option selected. |
| Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
|---|
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JiraFormAssertionsImpl(TextAssertions textAssertions,
net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
| Method Detail |
|---|
public void assertFieldErrMsg(String expectedText)
JiraFormAssertions
assertFieldErrMsg in interface JiraFormAssertionsexpectedText - the expected error messagepublic void assertAuiFieldErrMsg(String expectedText)
JiraFormAssertions
assertAuiFieldErrMsg in interface JiraFormAssertionsexpectedText - the expected error messagepublic void assertFormErrMsg(String expectedText)
JiraFormAssertions
assertFormErrMsg in interface JiraFormAssertionsexpectedText - the expected error messagepublic void assertNoFieldErrMsg(String notExpectedText)
JiraFormAssertions
assertNoFieldErrMsg in interface JiraFormAssertionsnotExpectedText - the expected error messagepublic void assertNoFormErrMsg(String notExpectedText)
JiraFormAssertions
assertNoFormErrMsg in interface JiraFormAssertionsnotExpectedText - the expected error messagepublic void assertNoErrorsPresent()
JiraFormAssertions
assertNoErrorsPresent in interface JiraFormAssertions
public void assertSelectElementHasOptionSelected(String selectElementName,
String optionName)
JiraFormAssertions
assertSelectElementHasOptionSelected in interface JiraFormAssertionsselectElementName - the name of the <select> element.optionName - the name of the option that should be selected (not the value of the option).public void assertFormNotificationMsg(String expectedText)
JiraFormAssertions
assertFormNotificationMsg in interface JiraFormAssertionsexpectedText - the expected notification messagepublic void assertFormSuccessMsg(String expectedText)
JiraFormAssertions
assertFormSuccessMsg in interface JiraFormAssertionsexpectedText - the expected notification messagepublic void assertFormWarningMessage(String messageText)
JiraFormAssertions
assertFormWarningMessage in interface JiraFormAssertionsmessageText - text of the message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||