public class FileWidgetElement extends AbstractWidgetElement
URLCHANGE_MAX_WAIT, userServicesForm
Constructor and Description |
---|
FileWidgetElement(org.openqa.selenium.WebDriver driver,
String id) |
Modifier and Type | Method and Description |
---|---|
String |
getFilename(boolean isEdit) |
void |
removeFile() |
void |
uploadTestFile(String prefix,
String suffix,
String content) |
getWidgetId
getElement, getElement, getId, getSubElement, getSubElement, getSubElementId, getWidget, getWidget, setId, setInput, setInput, setInput
asPage, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getHeaderLinks, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, waitUntilEnabled, waitUntilEnabled, waitUntilURLDifferentFrom
public FileWidgetElement(org.openqa.selenium.WebDriver driver, String id)
public String getFilename(boolean isEdit)
public void uploadTestFile(String prefix, String suffix, String content) throws IOException
IOException
public void removeFile()
Copyright © 2013 Nuxeo SA. All Rights Reserved.