public class FileCreationFormPage extends DublinCoreCreationDocumentFormPage
cancelButton, createButton, descriptionTextInput, titleTextInput, titleTextInputMessage
driver, 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 |
getSelectedFilename() |
String |
getSelectedOption() |
protected void |
uploadBlob(String filePrefix,
String fileSuffix,
String fileContent) |
cancel, create, createDocument, fillDublinCoreFieldsAndCreate, getTitleMessage
asPage, 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, waitUntilURLDifferentFrom
public FileCreationFormPage(org.openqa.selenium.WebDriver driver)
public FileDocumentBasePage createFileDocument(String title, String description, boolean uploadBlob, String filePrefix, String fileSuffix, String fileContent) throws IOException
IOException
public FileDocumentBasePage createFileDocument(String title, String description, String filePath) throws IOException
IOException
protected FileWidgetElement getFileWidgetElement()
protected void uploadBlob(String filePrefix, String fileSuffix, String fileContent) throws IOException
IOException
public FileCreationFormPage createFileDocumentWithoutTitle(String filePrefix, String fileSuffix, String fileContent) throws IOException
IOException
public String getSelectedOption()
public String getSelectedFilename()
Copyright © 2018 Nuxeo. All rights reserved.