@Test(groups = "Hybrid", dependsOnMethods = "enterRequiredApprovalPercentage") public void verifyDestinationDetails() { DestinationAndAssigneePage destinationAndAssigneePage = cloudTaskOrReviewPage.selectDestinationAndAssigneePage().render(); destinationAndAssigneePage.selectNetwork(cloudNetwork); destinationAndAssigneePage.selectSite(cloudUserSite); destinationAndAssigneePage.selectFolder(cloudFolder); destinationAndAssigneePage.selectSubmitButtonToSync(); cloudTaskOrReviewPage.render(); Assert.assertEquals(cloudTaskOrReviewPage.getDestinationNetwork(), cloudNetwork); Assert.assertEquals(cloudTaskOrReviewPage.getDestinationSite(), cloudUserSite); Assert.assertEquals(cloudTaskOrReviewPage.getDestinationFolder(), cloudFolder + "/"); }
@SuppressWarnings("unchecked") @Override public AssignmentPage render(RenderTime timer) { elementRender(timer, searchFieldElement, searchButtonElement, searchResultsSectionElement, selectedItemsSectionElement, okButtonElement, cancelButtonElement, closeButtonElement); return this; }
AssignmentPage extends SharePage { @SuppressWarnings("unchecked") @Override public AssignmentPage render(RenderTime timer) { elementRender(timer, searchFieldElement, searchButtonElement, searchResultsSectionElement, selectedItemsSectionElement, okButtonElement, cancelButtonElement, closeButtonElement); return this; } }
AssignmentPage extends SharePage { @SuppressWarnings("unchecked") @Override public AssignmentPage render(RenderTime timer) { elementRender(timer, searchFieldElement, searchButtonElement, searchResultsSectionElement, selectedItemsSectionElement, okButtonElement, cancelButtonElement, closeButtonElement); return this; } AssignmentPage(WebDrone drone); }
AssignmentPage extends SharePage { @SuppressWarnings("unchecked") @Override public AssignmentPage render(RenderTime timer) { elementRender(timer, searchFieldElement, searchButtonElement, searchResultsSectionElement, selectedItemsSectionElement, okButtonElement, cancelButtonElement, closeButtonElement); return this; } AssignmentPage(WebDrone drone); @SuppressWarnings("unchecked") @Override AssignmentPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override AssignmentPage render(); @SuppressWarnings("unchecked") @Override AssignmentPage render(final long time); void selectUsers(List<String> userNames); @Deprecated void selectUserWithRetry(String userName); boolean selectUser(String userName); HtmlPage selectReviewers(List<String> userNames); void selectAssignee(String userName); void selectOKButton(); List<WebElement> retrieveUsers(String userName); void searchForUser(String userName); boolean isNoItemsFoundMessageDisplayed(String userName); boolean isUserFound(String userName); boolean isEnterASearchTermMessageDisplayed(); void clearSearchField(); void selectSearchButton(); String getWarningMessage(); String getContent(); List<String> getUserList(String userName); boolean isAddIconPresent(String userName); boolean isUserSelected(String userName); void removeUser(String userName); void removeUsers(List<String> userNames); void selectCloseButton(); void selectCancelButton(); }
AssignmentPage extends SharePage { @SuppressWarnings("unchecked") @Override public AssignmentPage render(RenderTime timer) { elementRender(timer, searchFieldElement, searchButtonElement, searchResultsSectionElement, selectedItemsSectionElement, okButtonElement, cancelButtonElement, closeButtonElement); return this; } AssignmentPage(WebDrone drone); @SuppressWarnings("unchecked") @Override AssignmentPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override AssignmentPage render(); @SuppressWarnings("unchecked") @Override AssignmentPage render(final long time); void selectUsers(List<String> userNames); @Deprecated void selectUserWithRetry(String userName); boolean selectUser(String userName); HtmlPage selectReviewers(List<String> userNames); void selectAssignee(String userName); void selectOKButton(); List<WebElement> retrieveUsers(String userName); void searchForUser(String userName); boolean isNoItemsFoundMessageDisplayed(String userName); boolean isUserFound(String userName); boolean isEnterASearchTermMessageDisplayed(); void clearSearchField(); void selectSearchButton(); String getWarningMessage(); String getContent(); List<String> getUserList(String userName); boolean isAddIconPresent(String userName); boolean isUserSelected(String userName); void removeUser(String userName); void removeUsers(List<String> userNames); void selectCloseButton(); void selectCancelButton();  }