public class FileCreationFormPage extends DublinCoreCreationDocumentFormPage
cancelButton, 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) |
FileDocumentBasePage |
createFileDocument(String title,
String description,
String filePath)
Create a file document referencing an existing file path.
|
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) |
cancel, create, createDocument, fillDublinCoreFieldsAndCreate, getTitleMessageasPage, clickOnTabIfNotSelected, clickOnTabIfNotSelected, clickOnTabIfNotSelected, closeFancyBox, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getHeaderLinks, getInfoFeedbackMessage, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, useAjaxTabs, waitForFancyBoxClosed, waitUntilEnabled, waitUntilEnabled, waitUntilEnabledAndClick, waitUntilEnabledAndClick, waitUntilURLDifferentFrompublic FileCreationFormPage(org.openqa.selenium.WebDriver driver)
public FileDocumentBasePage createFileDocument(String title, String description, boolean uploadBlob, String filePrefix, String fileSuffix, String fileContent) throws IOException
IOExceptionpublic FileDocumentBasePage createFileDocument(String title, String description, String filePath) 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. All rights reserved.