@Test(dependsOnMethods = "expandLiveSearchDocumentResult") public void clickOnDocumentTitle() throws Exception { List<LiveSearchDocumentResult> liveSearchDocumentResults = liveSearchDocumentsRetry(); for (LiveSearchDocumentResult liveSearchDocumentResult : liveSearchDocumentResults) { DocumentDetailsPage documentDetailsPage = liveSearchDocumentResult.clickOnDocumentTitle().render(); Assert.assertEquals(documentDetailsPage.getDocumentTitle(), fileName); } }
@SuppressWarnings("unchecked") @Override public LiveSearchDropdown render() { return render(new RenderTime(maxPageLoadingTime)); }
LiveSearchDropdown extends SharePage { @SuppressWarnings("unchecked") @Override public LiveSearchDropdown render() { return render(new RenderTime(maxPageLoadingTime)); } }
LiveSearchDropdown extends SharePage { @SuppressWarnings("unchecked") @Override public LiveSearchDropdown render() { return render(new RenderTime(maxPageLoadingTime)); } LiveSearchDropdown(WebDrone drone); }
LiveSearchDropdown extends SharePage { @SuppressWarnings("unchecked") @Override public LiveSearchDropdown render() { return render(new RenderTime(maxPageLoadingTime)); } LiveSearchDropdown(WebDrone drone); @SuppressWarnings("unchecked") @Override LiveSearchDropdown render(); @SuppressWarnings("unchecked") @Override LiveSearchDropdown render(RenderTime timer); @SuppressWarnings("unchecked") @Override LiveSearchDropdown render(final long time); List<LiveSearchDocumentResult> getSearchDocumentResults(); List<LiveSearchSiteResult> getSearchSitesResults(); List<LiveSearchPeopleResult> getSearchPeopleResults(); void closeLiveSearchDropdown(); boolean isDocumentsTitleVisible(); boolean isSitesTitleVisible(); boolean isPeopleTitleVisible(); boolean isMoreResultsVisible(); boolean hasDocumentSearchResults(); boolean hasSitesSearchResults(); boolean hasPeopleSearchResults(); void clickToSeeMoreDocumentResults(); HtmlPage selectLiveSearchItem(String liveSearchItem); }
LiveSearchDropdown extends SharePage { @SuppressWarnings("unchecked") @Override public LiveSearchDropdown render() { return render(new RenderTime(maxPageLoadingTime)); } LiveSearchDropdown(WebDrone drone); @SuppressWarnings("unchecked") @Override LiveSearchDropdown render(); @SuppressWarnings("unchecked") @Override LiveSearchDropdown render(RenderTime timer); @SuppressWarnings("unchecked") @Override LiveSearchDropdown render(final long time); List<LiveSearchDocumentResult> getSearchDocumentResults(); List<LiveSearchSiteResult> getSearchSitesResults(); List<LiveSearchPeopleResult> getSearchPeopleResults(); void closeLiveSearchDropdown(); boolean isDocumentsTitleVisible(); boolean isSitesTitleVisible(); boolean isPeopleTitleVisible(); boolean isMoreResultsVisible(); boolean hasDocumentSearchResults(); boolean hasSitesSearchResults(); boolean hasPeopleSearchResults(); void clickToSeeMoreDocumentResults(); HtmlPage selectLiveSearchItem(String liveSearchItem);  }