public class ShareUploadFileScenario extends ShareBrowseToSiteDocLibScenario
parent scenario
until the site document library has been reached.
The following page is executed. * indicates a possible start location.
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_NAME_SELECT_FILE_UPLOAD |
static String |
EVENT_NAME_UPLOAD_FILE |
EVENT_NAME_NAVIGATE_TO_DOCLIBEVENT_NAME_NAVIGATE_TO_SITEEVENT_NAME_NAVIGATE_TO_DASHBOARD| Constructor and Description |
|---|
ShareUploadFileScenario(ShareScenarioRegistry registry,
double weight,
org.alfresco.bm.file.TestFileService testFileService) |
| Modifier and Type | Method and Description |
|---|---|
List<org.alfresco.bm.event.Event> |
getNextEvents(org.alfresco.bm.event.Event event,
ShareEventData eventData,
ShareSoakData soakData,
long nextEventTime)
This instance first looks for the presence of the dashboard (step 2)
and contues from there, if possible.
|
void |
setEventNameSelectFileUpload(String eventNameSelectFileUpload)
Override the
default event name to open
the file upload page |
void |
setEventNameUploadFile(String eventNameUploadFile)
Override the
default event name to upload a file |
setEventNameNavigateToDocLibsetEventNameNavigateToSitesetEventNameNavigateToDashboardafterPropertiesSet, setBeanName, setScenarioNamepublic static final String EVENT_NAME_SELECT_FILE_UPLOAD
public static final String EVENT_NAME_UPLOAD_FILE
public ShareUploadFileScenario(ShareScenarioRegistry registry, double weight, org.alfresco.bm.file.TestFileService testFileService)
registry - registry with which this instance will be registeredweight - the weight relative to other scenarios registered in the registrytestFileService - the provider of test filespublic void setEventNameSelectFileUpload(String eventNameSelectFileUpload)
default event name to open
the file upload pagepublic void setEventNameUploadFile(String eventNameUploadFile)
default event name to upload a filepublic List<org.alfresco.bm.event.Event> getNextEvents(org.alfresco.bm.event.Event event, ShareEventData eventData, ShareSoakData soakData, long nextEventTime)
ShareBrowseToSiteDashboardScenariogetNextEvents in interface ShareScenariogetNextEvents in class ShareBrowseToSiteDocLibScenarioevent - the event that triggered this choiceeventData - Share-specific data associated with the eventsoakData - Session-specific data for the eventnextEventTime - the suggested next event time (for guidance)see class commentsCopyright © 2016. All rights reserved.