public void ThenSwitchToOtherBrowserWindowAndNavigateTo(string office_url) { PropertiesCollection.ngdriver.Navigate().GoToUrl("https://mail.google.com/mail/u/0/?tab=rm&ogbl#inbox"); implicitwait.ImplicitWait(5); CustomControls.Entertext("//input[@type='email']", "*****@*****.**", propertytype.XPath); CustomControls.click("//div[@class='VfPpkd-RLmnJb']", propertytype.XPath); CustomControls.Entertext("//input[@name='password']", "abdullah@786", propertytype.XPath); CustomControls.click("/html[1]/body[1]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/div[2]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/button[1]/div[2]", propertytype.XPath); implicitwait.ImplicitWait(2); }
public void WhenUserClicksCloseButtonOnThisScreen() { CustomControls.click(PageObjects.Login_Screen(10), propertytype.CssSelector); }
public void WhenUserClicksButtonRecoverPassword() { CustomControls.click(PageObjects.Login_Screen(8), propertytype.CssSelector); }
public void GivenClicksOnForgotPasswordLink() { CustomControls.click(PageObjects.Login_Screen(6), propertytype.CssSelector); }
public void ThenUserFiindsSpecficEmailFromTheListContainingTitleForgotPassword() { CustomControls.click("//div[@class='xT']//span[@class='bqe'][normalize-space()='Forget Password']", propertytype.XPath); }