Exemplo n.º 1
0
        public void GivenIAmSignedInAs(string username)
        {
            Drivers.Goto(Configuration.Logout.ToString());

            Drivers.Goto(Configuration.ApplicationRoot.ToString());
            Drivers.SetTextbox("input[name=Username]", username);
            Drivers.SetTextbox("#PWD", Configuration.Passwords[username.ToUpper()]);
            Drivers.Click("button[name=loginbtn]");
        }