public class FormUtils extends Object
Constructor and Description |
---|
FormUtils() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2002-2022 Atlassian. All Rights Reserved.