コード例 #1
0
        public void ConfirmFormCityDidntExist()
        {
            SelectFrom.Click();

            InpSelectFrom.SendKeys(Guid.NewGuid().ToString());

            Assert.AreEqual(SelectFormResultItem.Text, "Совпадений не найдено");
        }
コード例 #2
0
        public IWebElement SelectFromCity(string cityName)
        {
            SelectFrom.Click();

            InpSelectCity.SendKeys(cityName);

            return(SelectFormResultItem);
        }
コード例 #3
0
        public void SelectCity(string cityName)
        {
            SelectFrom.Click();

            InpSelectFrom.SendKeys(cityName);

            Assert.AreEqual(SelectFormResultItem.Text, cityName);

            SelectFormResultItem.Click();
        }