Пример #1
0
        public void WhenIPopulateAllFieldsAndSubmit()
        {
            DemoQa demoQa = new DemoQa(Driver);

            demoQa.PopulateAndSubmit();
            Thread.Sleep(1000);
        }
Пример #2
0
        public void TextBoxSubmit()
        {
            Driver.Navigate().GoToUrl("https://demoqa.com/text-box");
            DemoQa demoQa = new DemoQa(Driver);

            demoQa.PopulateAndSubmit();
            Thread.Sleep(1000);
            Assert.IsTrue(demoQa.NameDetailsDisplayed.Displayed);
        }