@Test(dependsOnMethods = "instantiateDashlet") public void getTitle() { String actualTitle = imagePreviewDashlet.getTitle(); assertEquals(actualTitle, IMG_PREVIEW_TITLE); }
public String getTitle() { try { return drone.findAndWait(DASHLET_TITLE).getText(); } catch (TimeoutException te) { throw new UnsupportedOperationException("Exceeded time to find the title.", te); } }
ImagePreviewDashlet extends AbstractDashlet implements Dashlet { public String getTitle() { try { return drone.findAndWait(DASHLET_TITLE).getText(); } catch (TimeoutException te) { throw new UnsupportedOperationException("Exceeded time to find the title.", te); } } }
ImagePreviewDashlet extends AbstractDashlet implements Dashlet { public String getTitle() { try { return drone.findAndWait(DASHLET_TITLE).getText(); } catch (TimeoutException te) { throw new UnsupportedOperationException("Exceeded time to find the title.", te); } } protected  ImagePreviewDashlet(WebDrone drone); }
ImagePreviewDashlet extends AbstractDashlet implements Dashlet { public String getTitle() { try { return drone.findAndWait(DASHLET_TITLE).getText(); } catch (TimeoutException te) { throw new UnsupportedOperationException("Exceeded time to find the title.", te); } } protected  ImagePreviewDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized ImagePreviewDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override ImagePreviewDashlet render(long time); @SuppressWarnings("unchecked") @Override ImagePreviewDashlet render(); boolean isHelpIconDisplayed(); boolean isConfigureIconDisplayed(); void clickOnHelpIcon(); boolean isBalloonDisplayed(); String getHelpBalloonMessage(); ImagePreviewDashlet closeHelpBallon(); String getTitle(); SelectImageFolderBoxPage clickOnConfigure(); int getImagesCount(); boolean isImageDisplayed(String imageName); }
ImagePreviewDashlet extends AbstractDashlet implements Dashlet { public String getTitle() { try { return drone.findAndWait(DASHLET_TITLE).getText(); } catch (TimeoutException te) { throw new UnsupportedOperationException("Exceeded time to find the title.", te); } } protected  ImagePreviewDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized ImagePreviewDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override ImagePreviewDashlet render(long time); @SuppressWarnings("unchecked") @Override ImagePreviewDashlet render(); boolean isHelpIconDisplayed(); boolean isConfigureIconDisplayed(); void clickOnHelpIcon(); boolean isBalloonDisplayed(); String getHelpBalloonMessage(); ImagePreviewDashlet closeHelpBallon(); String getTitle(); SelectImageFolderBoxPage clickOnConfigure(); int getImagesCount(); boolean isImageDisplayed(String imageName);  }