|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.AttachmentsPane
public class AttachmentsPane
Represents the actions possible on the Attachment Pane at the bottom of a page.
| Constructor Summary | |
|---|---|
AttachmentsPane()
|
|
| Method Summary | |
|---|---|
void |
addAnotherFile()
Adds another input field for attaching a file. |
boolean |
attachmentExistsByFileName(String attachmentName)
|
void |
clickAttachFiles()
|
void |
clickHideProgress()
|
void |
deleteAllAttachments()
Deletes ALL the attached files |
void |
deleteAttachmentByFileByName(String attachmentName)
Deletes the corresponding file name. |
void |
deleteFirstAttachment()
Deletes the first attachment. |
org.openqa.selenium.WebElement |
getAttachmentLink(String attachmentName)
|
String |
getDateOfLastUpload(String attachmentName)
|
String |
getLatestVersionOfAttachment(String attachmentName)
|
int |
getNumberOfAttachments()
|
String |
getSizeOfAttachment(String attachmentName)
|
String |
getUploaderOfAttachment(String attachmentName)
|
void |
setFileToUpload(String filePath)
Fills the URL with the specified file path. |
void |
waitForUploadToFinish(String fileName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttachmentsPane()
| Method Detail |
|---|
public void setFileToUpload(String filePath)
filePath - the path to the file to upload in URL form (the file *must* exist in the target directory).public void waitForUploadToFinish(String fileName)
public void clickHideProgress()
public void addAnotherFile()
public void clickAttachFiles()
public org.openqa.selenium.WebElement getAttachmentLink(String attachmentName)
public void deleteAttachmentByFileByName(String attachmentName)
attachmentName - the name of the attachment to be deletedpublic void deleteFirstAttachment()
public int getNumberOfAttachments()
public void deleteAllAttachments()
public String getUploaderOfAttachment(String attachmentName)
public String getLatestVersionOfAttachment(String attachmentName)
public String getSizeOfAttachment(String attachmentName)
public String getDateOfLastUpload(String attachmentName)
public boolean attachmentExistsByFileName(String attachmentName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||