public class CloudTaskOrReviewPage extends WorkFlowPage
dojoSupport, PROMPT_PANEL_ID, WAIT_TIME_3000drone, elementWaitInSeconds, maxPageLoadingTime, popupRendertime, version| Constructor and Description |
|---|
CloudTaskOrReviewPage(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()
Page renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
CloudTaskOrReviewPage |
render(long time)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
|
CloudTaskOrReviewPage |
render(RenderTime timer)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded.
|
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.
|
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, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, submit, waitForFile, waitForFile, waitForFileclose, getDrone, getScreenShot, getTitle, isBrowserTitle, toStringpublic CloudTaskOrReviewPage(WebDrone drone)
drone - WebDriver to access pagepublic CloudTaskOrReviewPage render(RenderTime timer)
RenderRenderTime.timer - RenderTime time to waitHtmlPage page object responsepublic CloudTaskOrReviewPage render()
RenderHtmlPage object responsepublic CloudTaskOrReviewPage render(long time)
Rendertime - waiting timeHtmlPage page object responsepublic 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 © 2014. All rights reserved.