public class FileWidgetElement extends AbstractWidgetElement
driver, id
Constructor and Description |
---|
FileWidgetElement(org.openqa.selenium.WebDriver driver,
String id) |
Modifier and Type | Method and Description |
---|---|
String |
getEditChoice() |
String |
getFilename(boolean isEdit) |
void |
removeFile() |
void |
uploadFile(String filePath)
Uploads file with given path.
|
void |
uploadTestFile(String prefix,
String suffix,
String content) |
getMessageValue, getMessageValue, getWidgetId
getElement, getElement, getId, getSubElement, getSubElement, getSubElementId, getWebFragment, getWidget, getWidget, hasSubElement, instantiateWidget, setId, setInput, setInput, setInput
public FileWidgetElement(org.openqa.selenium.WebDriver driver, String id)
public String getEditChoice()
public String getFilename(boolean isEdit)
public void uploadTestFile(String prefix, String suffix, String content) throws IOException
IOException
public void uploadFile(String filePath) throws IOException
IOException
public void removeFile()
Copyright © 2018 Nuxeo. All rights reserved.