org.xwiki.test.ui.po
Class FormElement
java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.FormElement
- Direct Known Subclasses:
- ObjectEditPane
public class FormElement
- extends BaseElement
Represents a Form.
- Since:
- 3.2M3
- Version:
- $Id: ed4662400f146bbe66036ddbd98d95eea259f83c $
|
Constructor Summary |
FormElement(org.openqa.selenium.WebElement form)
|
| Methods inherited from class org.xwiki.test.ui.po.BaseElement |
executeJavascript, getDriver, getUtil, makeAlertDialogSilent, makeConfirmDialogSilent, makeElementVisible, makeElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilElementDisappears, waitUntilElementEndsWithAttributeValue, waitUntilElementHasAttributeValue, waitUntilElementHasTextContent, waitUntilElementIsVisible, waitUntilElementsAreVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormElement
public FormElement(org.openqa.selenium.WebElement form)
getForm
protected org.openqa.selenium.WebElement getForm()
fillFieldsByName
public void fillFieldsByName(Map<String,String> valuesByNames)
fillFieldsByElements
public void fillFieldsByElements(Map<org.openqa.selenium.WebElement,String> valuesByElements)
getFieldValue
public String getFieldValue(org.openqa.selenium.By findElementBy)
setFieldValue
public void setFieldValue(org.openqa.selenium.By findElementBy,
String value)
setFieldValue
public void setFieldValue(org.openqa.selenium.WebElement fieldElement,
String value)
setCheckBox
public void setCheckBox(org.openqa.selenium.By findElementBy,
boolean checked)
setCheckBox
public void setCheckBox(org.openqa.selenium.WebElement checkBoxElement,
boolean checked)
getSelectElement
public FormElement.SelectElement getSelectElement(org.openqa.selenium.By by)
Copyright © 2004-2013 XWiki. All Rights Reserved.