@Test(dependsOnMethods="instantiateDashlet") public void verifyHelpAndConfigureIcons() throws Exception { Assert.assertTrue(searchDashlet.isHelpIconDisplayed()); }
public boolean isHelpIconDisplayed() { try { scrollDownToDashlet(); return drone.findAndWait(HELP_ICON).isDisplayed(); } catch (TimeoutException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the help icon.", te); } } return false; }
SiteSearchDashlet extends AbstractDashlet implements Dashlet { public boolean isHelpIconDisplayed() { try { scrollDownToDashlet(); return drone.findAndWait(HELP_ICON).isDisplayed(); } catch (TimeoutException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the help icon.", te); } } return false; } }
SiteSearchDashlet extends AbstractDashlet implements Dashlet { public boolean isHelpIconDisplayed() { try { scrollDownToDashlet(); return drone.findAndWait(HELP_ICON).isDisplayed(); } catch (TimeoutException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the help icon.", te); } } return false; } protected  SiteSearchDashlet(WebDrone drone); }
SiteSearchDashlet extends AbstractDashlet implements Dashlet { public boolean isHelpIconDisplayed() { try { scrollDownToDashlet(); return drone.findAndWait(HELP_ICON).isDisplayed(); } catch (TimeoutException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the help icon.", te); } } return false; } protected  SiteSearchDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized SiteSearchDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override SiteSearchDashlet render(long time); @SuppressWarnings("unchecked") @Override SiteSearchDashlet render(); boolean isHelpIconDisplayed(); void clickOnHelpIcon(); boolean isBalloonDisplayed(); String getHelpBalloonMessage(); SiteSearchDashlet closeHelpBallon(); String getTitle(); String getContent(); List<SiteSearchItem> getSearchItems(); SiteSearchDashlet search(String text); boolean siteSearchWithRetry(String fileName); List<String> getAvailableResultSizes(); String getSearchText(); void setResultSize(SearchLimit searchLimit); SiteSearchDashlet search(String searchString, SearchLimit searchLimit); SearchLimit getSelectedSearchLimit(); }
SiteSearchDashlet extends AbstractDashlet implements Dashlet { public boolean isHelpIconDisplayed() { try { scrollDownToDashlet(); return drone.findAndWait(HELP_ICON).isDisplayed(); } catch (TimeoutException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the help icon.", te); } } return false; } protected  SiteSearchDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized SiteSearchDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override SiteSearchDashlet render(long time); @SuppressWarnings("unchecked") @Override SiteSearchDashlet render(); boolean isHelpIconDisplayed(); void clickOnHelpIcon(); boolean isBalloonDisplayed(); String getHelpBalloonMessage(); SiteSearchDashlet closeHelpBallon(); String getTitle(); String getContent(); List<SiteSearchItem> getSearchItems(); SiteSearchDashlet search(String text); boolean siteSearchWithRetry(String fileName); List<String> getAvailableResultSizes(); String getSearchText(); void setResultSize(SearchLimit searchLimit); SiteSearchDashlet search(String searchString, SearchLimit searchLimit); SearchLimit getSelectedSearchLimit(); static Integer retrySearchCount; }