|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.pageobjects.form.FormUtils
public class FormUtils
Some utilities for dealing with forms.
Constructor Summary | |
---|---|
FormUtils()
|
Method Summary | |
---|---|
static Map<String,String> |
getAuiFormErrors(com.atlassian.pageobjects.elements.PageElement formElement)
Return a mapping of the errors currently on the form. |
static List<String> |
getAuiFormGlobalErrors(com.atlassian.pageobjects.elements.PageElement formElement)
Return the global error on the passed form. |
static void |
setElement(com.atlassian.pageobjects.elements.PageElement element,
String value)
Set the value of an element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormUtils()
Method Detail |
---|
public static void setElement(com.atlassian.pageobjects.elements.PageElement element, String value)
element
- the element whose value should be changed.value
- the value to set the element to.public static Map<String,String> getAuiFormErrors(com.atlassian.pageobjects.elements.PageElement formElement)
formElement
- the form.
public static List<String> getAuiFormGlobalErrors(com.atlassian.pageobjects.elements.PageElement formElement)
formElement
- the form.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |