getUniqueUserId() public method

public getUniqueUserId ( ) : int
return int
Ejemplo n.º 1
0
 private void createUserAndLogOn()
 {
     var createUserTest = new CreateUserTest(Browser);
     createUserTest.getUniqueUserId();
     var loggonTest = new AccountLogOnTest(Browser);
     loggonTest.LogOn(CreateUserTest.UserName, CreateUserTest.Password);
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        public override void TestFixtureSetUp()
        {
            base.TestFixtureSetUp();

            var createUserTest = new CreateUserTest(Browser);
            createUserTest.getUniqueUserId();
            var accountLogOnTest = new AccountLogOnTest(Browser);
            accountLogOnTest.LogOn(CreateUserTest.UserName, CreateUserTest.Password);
        }