public void ToFillForm( string firstName, string lastName, string password, string addressFirstName, string addressLastName, string address, string city, string postalCode, string mobilePhone) { _driver.FindElements(byInputGender); wait.ToWaiTImplicit(5); _driver.FindElement(byInputFirstName).SendKeys(firstName); _driver.FindElement(byInputLastName).SendKeys(lastName); _driver.FindElement(byInputPassword).SendKeys(password); _driver.FindElement(byOptionDayDateBirth).Click(); wait.ToWaiTImplicit(3); _driver.FindElement(byOptionMonthDateBirth).Click(); wait.ToWaiTImplicit(3); _driver.FindElement(byOptionYearDateBirth).Click(); wait.ToWaiTImplicit(3); _driver.FindElement(byInputAddressFirstName).SendKeys(addressFirstName); _driver.FindElement(byInputAddressLastName).SendKeys(addressLastName); _driver.FindElement(byInputAddress).SendKeys(address); _driver.FindElement(byInputCity).SendKeys(city); _driver.FindElement(bySelectState).Click(); _driver.FindElement(byInputPostalCode).SendKeys(postalCode); _driver.FindElement(bySelectCountry).Click(); _driver.FindElement(byInputMobilePhone).SendKeys(mobilePhone); wait.ToWaitPage(3); }
public void BtnSignInLogin() { _driver.FindElement(byBtnSignInLogin).Submit(); wait.ToWaitPage(6); }
public void BtnSignOutLink() { _driver.FindElement(byLinkSignOut).Click(); wait.ToWaitPage(5); }