@Test(dependsOnMethods = "getSearchItemsWithEmptyResult") public void clickOnEditButton() { configureSavedSearchDialogBoxPage = savedSearchDashlet.clickOnEditButton().render(); Assert.assertNotNull(configureSavedSearchDialogBoxPage); }
public ConfigureSavedSearchDialogBoxPage clickOnEditButton() { try { drone.mouseOverOnElement(drone.find(titleBarActions)); drone.findAndWait(CONFIGURE_DASHLET_ICON).click(); return new ConfigureSavedSearchDialogBoxPage(drone); } catch (TimeoutException te) { logger.error("Unable to find the Edit (Configure) icon.", te); throw new PageOperationException("Unable to click the Edit (Configure) icon"); } }
SavedSearchDashlet extends AbstractDashlet implements Dashlet { public ConfigureSavedSearchDialogBoxPage clickOnEditButton() { try { drone.mouseOverOnElement(drone.find(titleBarActions)); drone.findAndWait(CONFIGURE_DASHLET_ICON).click(); return new ConfigureSavedSearchDialogBoxPage(drone); } catch (TimeoutException te) { logger.error("Unable to find the Edit (Configure) icon.", te); throw new PageOperationException("Unable to click the Edit (Configure) icon"); } } }
SavedSearchDashlet extends AbstractDashlet implements Dashlet { public ConfigureSavedSearchDialogBoxPage clickOnEditButton() { try { drone.mouseOverOnElement(drone.find(titleBarActions)); drone.findAndWait(CONFIGURE_DASHLET_ICON).click(); return new ConfigureSavedSearchDialogBoxPage(drone); } catch (TimeoutException te) { logger.error("Unable to find the Edit (Configure) icon.", te); throw new PageOperationException("Unable to click the Edit (Configure) icon"); } } protected  SavedSearchDashlet(WebDrone drone); }
SavedSearchDashlet extends AbstractDashlet implements Dashlet { public ConfigureSavedSearchDialogBoxPage clickOnEditButton() { try { drone.mouseOverOnElement(drone.find(titleBarActions)); drone.findAndWait(CONFIGURE_DASHLET_ICON).click(); return new ConfigureSavedSearchDialogBoxPage(drone); } catch (TimeoutException te) { logger.error("Unable to find the Edit (Configure) icon.", te); throw new PageOperationException("Unable to click the Edit (Configure) icon"); } } protected  SavedSearchDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized SavedSearchDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override SavedSearchDashlet render(long time); @SuppressWarnings("unchecked") @Override SavedSearchDashlet render(); boolean isHelpIconDisplayed(); void clickOnHelpIcon(); boolean isBalloonDisplayed(); String getHelpBalloonMessage(); SavedSearchDashlet closeHelpBallon(); String getTitle(); String getContent(); List<SiteSearchItem> getSearchItems(); ConfigureSavedSearchDialogBoxPage clickOnEditButton(); boolean isItemFound(String itemName); boolean isConfigIconDisplayed(); }
SavedSearchDashlet extends AbstractDashlet implements Dashlet { public ConfigureSavedSearchDialogBoxPage clickOnEditButton() { try { drone.mouseOverOnElement(drone.find(titleBarActions)); drone.findAndWait(CONFIGURE_DASHLET_ICON).click(); return new ConfigureSavedSearchDialogBoxPage(drone); } catch (TimeoutException te) { logger.error("Unable to find the Edit (Configure) icon.", te); throw new PageOperationException("Unable to click the Edit (Configure) icon"); } } protected  SavedSearchDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized SavedSearchDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override SavedSearchDashlet render(long time); @SuppressWarnings("unchecked") @Override SavedSearchDashlet render(); boolean isHelpIconDisplayed(); void clickOnHelpIcon(); boolean isBalloonDisplayed(); String getHelpBalloonMessage(); SavedSearchDashlet closeHelpBallon(); String getTitle(); String getContent(); List<SiteSearchItem> getSearchItems(); ConfigureSavedSearchDialogBoxPage clickOnEditButton(); boolean isItemFound(String itemName); boolean isConfigIconDisplayed();  }