@Test(dependsOnMethods = "testClickTitle", groups = "alfresco-one") public void getModified() throws Exception { SitePage page = drone.getCurrentPage().render(); documentLibPage = page.getSiteNav().selectSiteDocumentLibrary().render(); documentLibPage = documentLibPage.getNavigation().selectTableView().render(); FileDirectoryInfo fileInfo = documentLibPage.getFiles().get(0); Assert.assertNotNull(fileInfo.getModified()); }
public String getModified() { try { return findAndWait(By.cssSelector(MODIFIED)).getText(); } catch (TimeoutException te) { } throw new PageOperationException("Unable to find content column created"); }
TableViewFileDirectoryInfo extends SimpleDetailTableView { public String getModified() { try { return findAndWait(By.cssSelector(MODIFIED)).getText(); } catch (TimeoutException te) { } throw new PageOperationException("Unable to find content column created"); } }
TableViewFileDirectoryInfo extends SimpleDetailTableView { public String getModified() { try { return findAndWait(By.cssSelector(MODIFIED)).getText(); } catch (TimeoutException te) { } throw new PageOperationException("Unable to find content column created"); } TableViewFileDirectoryInfo(String nodeRef, WebElement webElement, WebDrone drone); }
TableViewFileDirectoryInfo extends SimpleDetailTableView { public String getModified() { try { return findAndWait(By.cssSelector(MODIFIED)).getText(); } catch (TimeoutException te) { } throw new PageOperationException("Unable to find content column created"); } 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 String getModified() { try { return findAndWait(By.cssSelector(MODIFIED)).getText(); } catch (TimeoutException te) { } throw new PageOperationException("Unable to find content column created"); } 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();  }