public void AutomationPracticeFormSubmit() { Driver.Navigate().GoToUrl("https://demoqa.com/automation-practice-form"); DemoQa demoQa = new DemoQa(Driver); demoQa.PopulatePageAndSubmit(); Assert.IsTrue(demoQa.ThanksForSubmittingThePAge.Displayed); }
public void WhenIPopulateAllTheFieldsAndSubmit() { DemoQa demoQa = new DemoQa(Driver); demoQa.PopulatePageAndSubmit(); }