public void WhenIPopulateAllFieldsAndSubmit() { DemoQa demoQa = new DemoQa(Driver); demoQa.PopulateAndSubmit(); Thread.Sleep(1000); }
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); }