@Test(groups = "Enterprise4.2", dependsOnMethods = "selectWorkFlowsIHaveStarted") public void selectActiveWorkFlows() { myWorkFlowsPage = myWorkFlowsPage.selectActiveWorkFlows().render(); assertEquals(myWorkFlowsPage.getSubTitle(), "Active Workflows"); }
public HtmlPage selectActiveWorkFlows() { drone.findAndWait(ACTIVE_LINK).click(); drone.waitUntilVisible(SUB_TITLE, "Active Workflows", TimeUnit.SECONDS.convert(maxPageLoadingTime, TimeUnit.MILLISECONDS)); waitUntilAlert(); return FactorySharePage.resolvePage(drone); }
MyWorkFlowsPage extends SharePage { public HtmlPage selectActiveWorkFlows() { drone.findAndWait(ACTIVE_LINK).click(); drone.waitUntilVisible(SUB_TITLE, "Active Workflows", TimeUnit.SECONDS.convert(maxPageLoadingTime, TimeUnit.MILLISECONDS)); waitUntilAlert(); return FactorySharePage.resolvePage(drone); } }
MyWorkFlowsPage extends SharePage { public HtmlPage selectActiveWorkFlows() { drone.findAndWait(ACTIVE_LINK).click(); drone.waitUntilVisible(SUB_TITLE, "Active Workflows", TimeUnit.SECONDS.convert(maxPageLoadingTime, TimeUnit.MILLISECONDS)); waitUntilAlert(); return FactorySharePage.resolvePage(drone); } MyWorkFlowsPage(WebDrone drone); }
MyWorkFlowsPage extends SharePage { public HtmlPage selectActiveWorkFlows() { drone.findAndWait(ACTIVE_LINK).click(); drone.waitUntilVisible(SUB_TITLE, "Active Workflows", TimeUnit.SECONDS.convert(maxPageLoadingTime, TimeUnit.MILLISECONDS)); waitUntilAlert(); return FactorySharePage.resolvePage(drone); } MyWorkFlowsPage(WebDrone drone); @SuppressWarnings("unchecked") @Override MyWorkFlowsPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override MyWorkFlowsPage render(); @SuppressWarnings("unchecked") @Override MyWorkFlowsPage render(final long time); HtmlPage selectStartWorkflowButton(); List<WorkFlowDetails> getWorkFlowDetails(String workFlowName); HtmlPage selectWorkFlow(String workFlowName); boolean isWorkFlowPresent(String workFlowName); String getSubTitle(); HtmlPage selectActiveWorkFlows(); HtmlPage selectCompletedWorkFlows(); HtmlPage cancelWorkFlow(String workFlowName); void deleteWorkFlow(String workFlowName); int getDisplayedWorkFlowCount(); WorkFlowFilters getWorkFlowsFilter(); }
MyWorkFlowsPage extends SharePage { public HtmlPage selectActiveWorkFlows() { drone.findAndWait(ACTIVE_LINK).click(); drone.waitUntilVisible(SUB_TITLE, "Active Workflows", TimeUnit.SECONDS.convert(maxPageLoadingTime, TimeUnit.MILLISECONDS)); waitUntilAlert(); return FactorySharePage.resolvePage(drone); } MyWorkFlowsPage(WebDrone drone); @SuppressWarnings("unchecked") @Override MyWorkFlowsPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override MyWorkFlowsPage render(); @SuppressWarnings("unchecked") @Override MyWorkFlowsPage render(final long time); HtmlPage selectStartWorkflowButton(); List<WorkFlowDetails> getWorkFlowDetails(String workFlowName); HtmlPage selectWorkFlow(String workFlowName); boolean isWorkFlowPresent(String workFlowName); String getSubTitle(); HtmlPage selectActiveWorkFlows(); HtmlPage selectCompletedWorkFlows(); HtmlPage cancelWorkFlow(String workFlowName); void deleteWorkFlow(String workFlowName); int getDisplayedWorkFlowCount(); WorkFlowFilters getWorkFlowsFilter();  }