@Test(groups = { "Hybrid" }, dependsOnMethods = "testSelectFogotPassordLink") public void testSelectSignUpLink() throws Exception { cloudSignInPage.selectSignUpLink(); switchWindow(); assertTrue(drone.getTitle().contains("Cloud Document Management"), "Title not matched. Was found to be - " + drone.getTitle()); closeWindowAndSwitchBack(); }
public void selectSignUpLink() { drone.findAndWait(SIGN_UP_LINK).click(); }
CloudSignInPage extends ShareDialogue { public void selectSignUpLink() { drone.findAndWait(SIGN_UP_LINK).click(); } }
CloudSignInPage extends ShareDialogue { public void selectSignUpLink() { drone.findAndWait(SIGN_UP_LINK).click(); } CloudSignInPage(WebDrone drone); }
CloudSignInPage extends ShareDialogue { public void selectSignUpLink() { drone.findAndWait(SIGN_UP_LINK).click(); } CloudSignInPage(WebDrone drone); @SuppressWarnings("unchecked") @Override CloudSignInPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override CloudSignInPage render(); @SuppressWarnings("unchecked") @Override CloudSignInPage render(final long time); HtmlPage loginAs(final String username, final String password); boolean isDisconnectButtonDisplayed(); void selectCancelButton(); void selectSignUpLink(); void selectFogotPassordLink(); @Override String getPageTitle(); boolean isForgotPasswordLinkDisplayed(); String getForgotPasswordURL(); }
CloudSignInPage extends ShareDialogue { public void selectSignUpLink() { drone.findAndWait(SIGN_UP_LINK).click(); } CloudSignInPage(WebDrone drone); @SuppressWarnings("unchecked") @Override CloudSignInPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override CloudSignInPage render(); @SuppressWarnings("unchecked") @Override CloudSignInPage render(final long time); HtmlPage loginAs(final String username, final String password); boolean isDisconnectButtonDisplayed(); void selectCancelButton(); void selectSignUpLink(); void selectFogotPassordLink(); @Override String getPageTitle(); boolean isForgotPasswordLinkDisplayed(); String getForgotPasswordURL();  }