private void createUserAndLogOn() { var createUserTest = new CreateUserTest(Browser); createUserTest.getUniqueUserId(); var loggonTest = new AccountLogOnTest(Browser); loggonTest.LogOn(CreateUserTest.UserName, CreateUserTest.Password); }
public void shouldShowLoggedOnUserAfterLogon() { var createUserTest = new CreateUserTest(Browser); createUserTest.getUniqueUserId(); LogOn(CreateUserTest.UserName, CreateUserTest.Password); var usernameExsistsOnPage = Browser.Text.Contains(CreateUserTest.UserName); Assert.That(usernameExsistsOnPage); }
public override void TestFixtureSetUp() { base.TestFixtureSetUp(); var createUserTest = new CreateUserTest(Browser); createUserTest.getUniqueUserId(); var accountLogOnTest = new AccountLogOnTest(Browser); accountLogOnTest.LogOn(CreateUserTest.UserName, CreateUserTest.Password); }