public void GivenIGoToTheStoreWebsiteAndIAccessTheRegistrationPage() { BasePage basePage = new BasePage(Driver); YourStoreHomePage yourStoreHomePage = new YourStoreHomePage(Driver); basePage.NavigateToUrl("http://tutorialsninja.com/demo/"); yourStoreHomePage.ValidateAccessRegistrationPage(); Assert.IsTrue(yourStoreHomePage.VerifyRegistrationPageDisplayed()); }
public void WhenFilledAllTheData() { YourStoreHomePage yourStoreHomePage = new YourStoreHomePage(Driver); yourStoreHomePage.ValidateRegistration(); }