@Test(dependsOnMethods="instantiateDashlet") public void verifyHelpIcon() { Assert.assertTrue(myDiscussionsDashlet.isHelpButtonDisplayed()); }
public boolean isHelpButtonDisplayed() { try { scrollDownToDashlet(); getFocus(); return drone.findAndWait(By.cssSelector(DASHLET_HELP_BUTTON)).isDisplayed(); } catch (TimeoutException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the help icon.", te); } } return false; }
MyDiscussionsDashlet extends AbstractDashlet implements Dashlet { public boolean isHelpButtonDisplayed() { try { scrollDownToDashlet(); getFocus(); return drone.findAndWait(By.cssSelector(DASHLET_HELP_BUTTON)).isDisplayed(); } catch (TimeoutException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the help icon.", te); } } return false; } }
MyDiscussionsDashlet extends AbstractDashlet implements Dashlet { public boolean isHelpButtonDisplayed() { try { scrollDownToDashlet(); getFocus(); return drone.findAndWait(By.cssSelector(DASHLET_HELP_BUTTON)).isDisplayed(); } catch (TimeoutException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the help icon.", te); } } return false; } protected  MyDiscussionsDashlet(WebDrone drone); }
MyDiscussionsDashlet extends AbstractDashlet implements Dashlet { public boolean isHelpButtonDisplayed() { try { scrollDownToDashlet(); getFocus(); return drone.findAndWait(By.cssSelector(DASHLET_HELP_BUTTON)).isDisplayed(); } catch (TimeoutException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the help icon.", te); } } return false; } protected  MyDiscussionsDashlet(WebDrone drone); @SuppressWarnings("unchecked") MyDiscussionsDashlet render(); @SuppressWarnings("unchecked") @Override MyDiscussionsDashlet render(final long time); @SuppressWarnings("unchecked") MyDiscussionsDashlet render(RenderTime timer); String getEmptyDashletMessage(); boolean isHelpButtonDisplayed(); boolean isNewTopicLinkDisplayed(); void clickHelpButton(); CreateNewTopicPage clickNewTopicButton(); boolean isBalloonDisplayed(); String getHelpBalloonMessage(); MyDiscussionsDashlet closeHelpBallon(); void clickTopicsButtton(); void clickHistoryButtton(); List<MyDiscussionsTopicsFilter> getTopicFilters(); List<MyDiscussionsHistoryFilter> getHistoryFilters(); HtmlPage selectTopicsFilter(MyDiscussionsTopicsFilter filter); MyDiscussionsTopicsFilter getCurrentTopicFilter(); MyDiscussionsHistoryFilter getCurrentHistoryFilter(); HtmlPage selectTopicsHistoryFilter(MyDiscussionsHistoryFilter lastDayTopics); ShareLink selectLink(final String name); ShareLink selectTopicTitle(final String name); ShareLink selectTopicUser(final String name); synchronized List<ShareLink> getTopics(LinkType linkType); synchronized List<TopicStatusDetails> getUpdatedTopics(); boolean isTopicTitleDisplayed(String topicTitle); void resizeDashlet(int x, int y); }
MyDiscussionsDashlet extends AbstractDashlet implements Dashlet { public boolean isHelpButtonDisplayed() { try { scrollDownToDashlet(); getFocus(); return drone.findAndWait(By.cssSelector(DASHLET_HELP_BUTTON)).isDisplayed(); } catch (TimeoutException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the help icon.", te); } } return false; } protected  MyDiscussionsDashlet(WebDrone drone); @SuppressWarnings("unchecked") MyDiscussionsDashlet render(); @SuppressWarnings("unchecked") @Override MyDiscussionsDashlet render(final long time); @SuppressWarnings("unchecked") MyDiscussionsDashlet render(RenderTime timer); String getEmptyDashletMessage(); boolean isHelpButtonDisplayed(); boolean isNewTopicLinkDisplayed(); void clickHelpButton(); CreateNewTopicPage clickNewTopicButton(); boolean isBalloonDisplayed(); String getHelpBalloonMessage(); MyDiscussionsDashlet closeHelpBallon(); void clickTopicsButtton(); void clickHistoryButtton(); List<MyDiscussionsTopicsFilter> getTopicFilters(); List<MyDiscussionsHistoryFilter> getHistoryFilters(); HtmlPage selectTopicsFilter(MyDiscussionsTopicsFilter filter); MyDiscussionsTopicsFilter getCurrentTopicFilter(); MyDiscussionsHistoryFilter getCurrentHistoryFilter(); HtmlPage selectTopicsHistoryFilter(MyDiscussionsHistoryFilter lastDayTopics); ShareLink selectLink(final String name); ShareLink selectTopicTitle(final String name); ShareLink selectTopicUser(final String name); synchronized List<ShareLink> getTopics(LinkType linkType); synchronized List<TopicStatusDetails> getUpdatedTopics(); boolean isTopicTitleDisplayed(String topicTitle); void resizeDashlet(int x, int y);  }