public class FileCreationFormPage extends DublinCoreCreationDocumentFormPage
createButton, descriptionTextInput, titleTextInput, titleTextInputMessagedriver, userServicesForm| Constructor and Description |
|---|
FileCreationFormPage(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
FileDocumentBasePage |
createFileDocument(String title,
String description,
boolean uploadBlob,
String filePrefix,
String fileSuffix,
String fileContent) |
FileCreationFormPage |
createFileDocumentWithoutTitle(String filePrefix,
String fileSuffix,
String fileContent) |
protected FileWidgetElement |
getFileWidgetElement() |
String |
getSelectedFileErrorMessage()
Returns the element error message if any.
|
String |
getSelectedFilename() |
String |
getSelectedOption() |
protected void |
uploadBlob(String filePrefix,
String fileSuffix,
String fileContent) |
create, createDocument, fillDublinCoreFieldsAndCreate, getTitleMessageasPage, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getHeaderLinks, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, useAjaxTabs, waitUntilEnabled, waitUntilURLDifferentFrompublic FileCreationFormPage(org.openqa.selenium.WebDriver driver)
public FileDocumentBasePage createFileDocument(String title, String description, boolean uploadBlob, String filePrefix, String fileSuffix, String fileContent) throws IOException
IOExceptionprotected FileWidgetElement getFileWidgetElement()
protected void uploadBlob(String filePrefix, String fileSuffix, String fileContent) throws IOException
IOExceptionpublic FileCreationFormPage createFileDocumentWithoutTitle(String filePrefix, String fileSuffix, String fileContent) throws IOException
IOExceptionpublic String getSelectedOption()
public String getSelectedFilename()
public String getSelectedFileErrorMessage()
Copyright © 2019 Nuxeo SA. All rights reserved.