public AddressFormComponent TypeInCityInput(string text) { CityInput.Click(); CityInput.Clear(); CityInput.SendKeys(text); return(this); }
public BillingOrderPage FillCity(string city) { CustomTestContext.WriteLine($"Fill city - '{city}'"); CityInput.SendKeys(city); return(this); }
private void FillAddressInfoInternal(Data.ClientPurchaseInfo clientInfo) { CountryDropDown.SelectByText(clientInfo.ShippingInfo.Country); FullNameInput.SendKeys(clientInfo.ShippingInfo.FullName); Address1Input.SendKeys(clientInfo.ShippingInfo.Address1); CityInput.SendKeys(clientInfo.ShippingInfo.City); ZipInput.SendKeys(clientInfo.ShippingInfo.Zip); PhoneInput.SendKeys(clientInfo.ShippingInfo.Phone); ShipToThisAddress.Click(); }
public void FindHotels() { Thread.Sleep(1000); WaitAndClick(CityInput); CityInput.SendKeys("Venice"); Thread.Sleep(3000); WaitAndClick(ConfirmCity); WaitAndClick(CheckInDate); WaitAndClick(CheckInDate); WaitAndClick(Day); WaitAndClick(LetsGoButton); }
public CreateGroupPage CrearGroup(Group group) { foreach (var input in AllForm) { input.Clear(); } Thread.Sleep(1000); NameInput.SendKeys(group.Name); Thread.Sleep(1000); StartYearInput.SendKeys(group.StartYear.ToString()); Thread.Sleep(1000); EndYearInput.SendKeys(group.EndYear.ToString()); Thread.Sleep(1000); CountryInput.SendKeys(group.Country); Thread.Sleep(1000); CityInput.SendKeys(group.City); Thread.Sleep(1000); UrlWikiInput.SendKeys(group.URLWiki); Thread.Sleep(1000); DescriptionInput.SendKeys(group.Description); Thread.Sleep(1000); return(this); }