public void WhenIIntroduceMyNameAs(string name) { string[] names = name.Split(' '); AccountRegistrationPage accountRegistrationPage = new AccountRegistrationPage(Driver.TestDriver); accountRegistrationPage.InputName(names[0], names[1]); }
public void ThenICanSeeUnderTheDateOfBirthBox(string validationError) { AccountRegistrationPage accountRegistrationPage = new AccountRegistrationPage(Driver.TestDriver); Assert.IsTrue(accountRegistrationPage.AssertAgeValidationError(validationError)); }
public void WhenIClickOnTheJOINNOWButton() { AccountRegistrationPage accountRegistrationPage = new AccountRegistrationPage(Driver.TestDriver); accountRegistrationPage.ClickJoinNow(); }
public void WhenICheckTheCheckboxConfirmingThatIAcceptTheTermsAndConditionsAndAmOver18() { AccountRegistrationPage accountRegistrationPage = new AccountRegistrationPage(Driver.TestDriver); accountRegistrationPage.SelectTandCCheckbox(); }
public void WhenISelectInTheTitleDropdown(string title) { AccountRegistrationPage accountRegistrationPage = new AccountRegistrationPage(Driver.TestDriver); accountRegistrationPage.SelectTitle(title); }