public void GivenUserIsOnGmailPage() { gmailr = new GmailRepo(_driver); // _driver.Navigate().GoToUrl("https://accounts.google.com/signin/v2/identifier?continue=https%3A%2F%2Fmail.google.com%2Fmail%2F&service=mail&sacu=1&rip=1&flowName=GlifWebSignIn&flowEntry=ServiceLogin"); _driver.Navigate().GoToUrl("https://accounts.google.com/signin"); //_driver.Manage().Window.Maximize(); }
public void ThenYahoomailIsOpenSucessfully() { gmailr = new GmailRepo(_driver); _driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(30); Boolean Display = _driver.FindElement(By.XPath("//input[@id='ybarAccountMenu']")).Displayed; Console.WriteLine("Element displayed is :" + Display); }
public void WhenEnterUsernameAndPasswordd() { gmailr = new GmailRepo(_driver); gmailr.yahoouname(); gmailr.usernxtbtn(); gmailr.yahoopwd(); }
public void WhenClickNextBtn() { gmailr = new GmailRepo(_driver); gmailr.Pwdnxtbtn(); Thread.Sleep(5000); By xpath = By.Id("header-mail-button"); supp.ExplicitWaitElement2(15, _driver, xpath); _driver.FindElement(By.Id("header-mail-button")).Click(); }
public void WhenSelectDutchLanguageFromDropdown() { gmailr = new GmailRepo(_driver); gmailr.DutchLanguage(); }
public void WhenClickOnLanguageDropdown() { gmailr = new GmailRepo(_driver); gmailr.Language(); }
public void WhenClickOnSignupButton() { gmailr = new GmailRepo(_driver); gmailr.ClickSubmit(); }
public void WhenClickOnIAgreeOption() { gmailr = new GmailRepo(_driver); gmailr.IAgree(); }
public void WhenEnterEmailAddress() { gmailr = new GmailRepo(_driver); gmailr.Email(); }
public void WhenEnterNameAndOrganisation() { gmailr = new GmailRepo(_driver); gmailr.Name(); gmailr.OrgName(); }
public void GivenSelectLanguageFromDropdown() { gmailr = new GmailRepo(_driver); gmailr.Language(); gmailr.EnglishLanguage(); }
public void GivenUserIsOnSignupPage() { gmailr = new GmailRepo(_driver); _driver.Navigate().GoToUrl("http://jt-dev.azurewebsites.net/#/SignUp"); _driver.Manage().Window.Maximize(); }
public void GivenUserIsOnEmailPage() { gmailr = new GmailRepo(_driver); _driver.Navigate().GoToUrl("https://temp-mail.org/en/"); _driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(50); }
public void GivenUserIsOnYahoomailPage() { gmailr = new GmailRepo(_driver); _driver.Navigate().GoToUrl("https://login.yahoo.com/"); _driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(20); }
public void GivenUserIsOnSignupPageOne() { gmailr = new GmailRepo(_driver); _driver.FindElement(By.CssSelector("body")).SendKeys(Keys.Control + "t"); _driver.Navigate().GoToUrl("http://jt-dev.azurewebsites.net/#/SignUp"); }
public void ThenInboxShouldDisplayResultOfSearch() { gmailr = new GmailRepo(_driver); supp.Screenshot(_driver); }
public void WhenSearchForJabatalksKeyword() { gmailr = new GmailRepo(_driver); Assert.That(_driver.PageSource.Contains("Jabatalks"), Is.EqualTo(true), "The text jabatalks doesnot exist"); }