@Test(dependsOnMethods = "getCreator", groups = "alfresco-one") public void selectCreator() throws Exception { SitePage page = drone.getCurrentPage().render(); documentLibPage = page.getSiteNav().selectSiteDocumentLibrary().render(); documentLibPage = documentLibPage.getNavigation().selectTableView().render(); FileDirectoryInfo fileInfo = documentLibPage.getFiles().get(0); MyProfilePage profile = fileInfo.selectCreator().render(); navigateDocumentLib(profile); }
public HtmlPage selectCreator() { WebElement creatorLink = findElement(By.cssSelector(CREATOR)); creatorLink.click(); return FactorySharePage.resolvePage(drone); }
TableViewFileDirectoryInfo extends SimpleDetailTableView { public HtmlPage selectCreator() { WebElement creatorLink = findElement(By.cssSelector(CREATOR)); creatorLink.click(); return FactorySharePage.resolvePage(drone); } }
TableViewFileDirectoryInfo extends SimpleDetailTableView { public HtmlPage selectCreator() { WebElement creatorLink = findElement(By.cssSelector(CREATOR)); creatorLink.click(); return FactorySharePage.resolvePage(drone); } TableViewFileDirectoryInfo(String nodeRef, WebElement webElement, WebDrone drone); }
TableViewFileDirectoryInfo extends SimpleDetailTableView { public HtmlPage selectCreator() { WebElement creatorLink = findElement(By.cssSelector(CREATOR)); creatorLink.click(); return FactorySharePage.resolvePage(drone); } TableViewFileDirectoryInfo(String nodeRef, WebElement webElement, WebDrone drone); String getCreator(); HtmlPage selectCreator(); String getCreated(); String getModifier(); HtmlPage selectModifier(); String getModified(); @Override HtmlPage clickShareLink(); @Override HtmlPage clickCommentsLink(); @Override String getCommentsToolTip(); @Override int getCommentsCount(); @Override boolean isCommentLinkPresent(); @Override String getVersionInfo(); }
TableViewFileDirectoryInfo extends SimpleDetailTableView { public HtmlPage selectCreator() { WebElement creatorLink = findElement(By.cssSelector(CREATOR)); creatorLink.click(); return FactorySharePage.resolvePage(drone); } TableViewFileDirectoryInfo(String nodeRef, WebElement webElement, WebDrone drone); String getCreator(); HtmlPage selectCreator(); String getCreated(); String getModifier(); HtmlPage selectModifier(); String getModified(); @Override HtmlPage clickShareLink(); @Override HtmlPage clickCommentsLink(); @Override String getCommentsToolTip(); @Override int getCommentsCount(); @Override boolean isCommentLinkPresent(); @Override String getVersionInfo();  }