public class CloudTaskOrReviewPage extends WorkFlowPage
alfrescoVersion, dojoSupport, elementWaitInSeconds, popupRendertime, PROMPT_PANEL_ID, WAIT_TIME_3000| Constructor and Description |
|---|
CloudTaskOrReviewPage(org.alfresco.webdrone.WebDrone drone)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enterRequiredApprovalPercentage(String percentage)
Method to enter Required Approval Percentage
|
String |
getDestinationFolder() |
String |
getDestinationNetwork() |
String |
getDestinationSite() |
protected org.openqa.selenium.WebElement |
getDueDateElement()
Returns the WebElement for message textarea.
|
String |
getErrorMessage() |
protected org.openqa.selenium.WebElement |
getMessageTextareaElement()
Returns the WebElement for message textarea.
|
protected org.openqa.selenium.WebElement |
getSelectReviewButton()
Returns the WebElement for Select reviewer button.
|
protected org.openqa.selenium.WebElement |
getStartWorkflowButton()
Returns the WebElement for Start workflow button.
|
boolean |
isTaskTypeSelected(TaskType taskType)
Verify if workflow text is present on the page
|
protected boolean |
isTextPresent(org.openqa.selenium.By selector,
String text)
Method to check for test in WorkFlow page
|
CloudTaskOrReviewPage |
render() |
CloudTaskOrReviewPage |
render(long time) |
CloudTaskOrReviewPage |
render(org.alfresco.webdrone.RenderTime timer) |
void |
selecRemoveBtn(String filename)
Mimics the action of selecting the Remove button on an added document.
|
void |
selectAfterCompleteDropDown(KeepContentStrategy strategy)
Selects the Status drop down list.
|
AssignmentPage |
selectAssignmentPage()
Mimics the action of selecting the Assignment button.
|
DestinationAndAssigneePage |
selectDestinationAndAssigneePage()
Mimics the action of selecting the Destination and Assignee button.
|
void |
selectLockOnPremiseCheckbox(boolean toCheck)
Mimics the action of selecting the Lock on premise checkbox.
|
void |
selectPriorityDropDown(Priority priority)
Selects the priority down list.
|
void |
selectTask(TaskType taskType)
Selects specific tasks on the pageS
|
DocumentDetailsPage |
selectViewMoreActionsBtn(String filename)
Mimics the action of selecting the View more actions button on an added
document.
|
org.alfresco.webdrone.HtmlPage |
startWorkflow(WorkFlowFormDetails formDetails)
Method to fill in the details for form and submit.
|
clickAddItems, enterDueDateText, enterMessageText, getSiteShortName, isReviewersBlank, selectItem, selectReviewer, selectStartWorkflowbasicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getElementText, getLogin, getNav, getPageTitle, getPopupRendertime, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, setAlfrescoVersion, setElementWaitInSeconds, setPopupRendertime, submit, waitForFile, waitForFile, waitForFilepublic CloudTaskOrReviewPage(org.alfresco.webdrone.WebDrone drone)
drone - WebDriver to access pagepublic CloudTaskOrReviewPage render(org.alfresco.webdrone.RenderTime timer)
public CloudTaskOrReviewPage render()
public CloudTaskOrReviewPage render(long time)
public org.alfresco.webdrone.HtmlPage startWorkflow(WorkFlowFormDetails formDetails) throws InterruptedException
InterruptedExceptionpublic boolean isTaskTypeSelected(TaskType taskType)
public void selectTask(TaskType taskType)
protected boolean isTextPresent(org.openqa.selenium.By selector,
String text)
selector - text - protected org.openqa.selenium.WebElement getMessageTextareaElement()
protected org.openqa.selenium.WebElement getDueDateElement()
protected org.openqa.selenium.WebElement getSelectReviewButton()
getSelectReviewButton in class WorkFlowPageprotected org.openqa.selenium.WebElement getStartWorkflowButton()
getStartWorkflowButton in class WorkFlowPagepublic DestinationAndAssigneePage selectDestinationAndAssigneePage()
public void selectLockOnPremiseCheckbox(boolean toCheck)
toCheck - public AssignmentPage selectAssignmentPage()
public String getErrorMessage()
public void selecRemoveBtn(String filename)
public DocumentDetailsPage selectViewMoreActionsBtn(String filename)
public void selectAfterCompleteDropDown(KeepContentStrategy strategy)
strategy - public void selectPriorityDropDown(Priority priority)
public void enterRequiredApprovalPercentage(String percentage)
percentage - public String getDestinationNetwork()
public String getDestinationSite()
public String getDestinationFolder()
Copyright © 2013. All Rights Reserved.