@Test(dependsOnMethods = "verifySearchLimitValues") public void isHelpBalloonDisplayed() { configureSavedSearchDialogBoxPage.setSearchTerm(""); configureSavedSearchDialogBoxPage = configureSavedSearchDialogBoxPage.clickOnOKButton().render(); Assert.assertTrue(configureSavedSearchDialogBoxPage.isHelpBalloonDisplayed()); Assert.assertEquals(configureSavedSearchDialogBoxPage.getHelpBalloonMessage(), "The value cannot be empty."); }
public boolean isHelpBalloonDisplayed() { try { return drone.find(HELP_BALLOON).isDisplayed(); } catch (NoSuchElementException elementException) { } return false; }
ConfigureSavedSearchDialogBoxPage extends SharePage { public boolean isHelpBalloonDisplayed() { try { return drone.find(HELP_BALLOON).isDisplayed(); } catch (NoSuchElementException elementException) { } return false; } }
ConfigureSavedSearchDialogBoxPage extends SharePage { public boolean isHelpBalloonDisplayed() { try { return drone.find(HELP_BALLOON).isDisplayed(); } catch (NoSuchElementException elementException) { } return false; } protected  ConfigureSavedSearchDialogBoxPage(WebDrone drone); }
ConfigureSavedSearchDialogBoxPage extends SharePage { public boolean isHelpBalloonDisplayed() { try { return drone.find(HELP_BALLOON).isDisplayed(); } catch (NoSuchElementException elementException) { } return false; } protected  ConfigureSavedSearchDialogBoxPage(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized ConfigureSavedSearchDialogBoxPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override ConfigureSavedSearchDialogBoxPage render(long time); @SuppressWarnings("unchecked") @Override ConfigureSavedSearchDialogBoxPage render(); HtmlPage clickOnOKButton(); HtmlPage clickOnCancelButton(); HtmlPage clickOnCloseButton(); void setSearchTerm(String searchTerm); void setTitle(String title); void setSearchLimit(SearchLimit searchLimit); List<Integer> getAvailableListOfSearchLimitValues(); boolean isHelpBalloonDisplayed(); String getHelpBalloonMessage(); }
ConfigureSavedSearchDialogBoxPage extends SharePage { public boolean isHelpBalloonDisplayed() { try { return drone.find(HELP_BALLOON).isDisplayed(); } catch (NoSuchElementException elementException) { } return false; } protected  ConfigureSavedSearchDialogBoxPage(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized ConfigureSavedSearchDialogBoxPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override ConfigureSavedSearchDialogBoxPage render(long time); @SuppressWarnings("unchecked") @Override ConfigureSavedSearchDialogBoxPage render(); HtmlPage clickOnOKButton(); HtmlPage clickOnCancelButton(); HtmlPage clickOnCloseButton(); void setSearchTerm(String searchTerm); void setTitle(String title); void setSearchLimit(SearchLimit searchLimit); List<Integer> getAvailableListOfSearchLimitValues(); boolean isHelpBalloonDisplayed(); String getHelpBalloonMessage();  }