@Test(dependsOnMethods="instantiateDashlet") public void verifyNewTopicIcon() { Assert.assertTrue(myDiscussionsDashlet.isNewTopicLinkDisplayed()); }
public boolean isNewTopicLinkDisplayed() { try { getFocus(); return drone.findAndWait(NEW_TOPIC).isDisplayed(); } catch (NoSuchElementException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the new topic icon.", te); } return false; } }
MyDiscussionsDashlet extends AbstractDashlet implements Dashlet { public boolean isNewTopicLinkDisplayed() { try { getFocus(); return drone.findAndWait(NEW_TOPIC).isDisplayed(); } catch (NoSuchElementException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the new topic icon.", te); } return false; } } }
MyDiscussionsDashlet extends AbstractDashlet implements Dashlet { public boolean isNewTopicLinkDisplayed() { try { getFocus(); return drone.findAndWait(NEW_TOPIC).isDisplayed(); } catch (NoSuchElementException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the new topic icon.", te); } return false; } } protected  MyDiscussionsDashlet(WebDrone drone); }
MyDiscussionsDashlet extends AbstractDashlet implements Dashlet { public boolean isNewTopicLinkDisplayed() { try { getFocus(); return drone.findAndWait(NEW_TOPIC).isDisplayed(); } catch (NoSuchElementException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the new topic 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 isNewTopicLinkDisplayed() { try { getFocus(); return drone.findAndWait(NEW_TOPIC).isDisplayed(); } catch (NoSuchElementException te) { if (logger.isTraceEnabled()) { logger.trace("Unable to find the new topic 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);  }