Пример #1
0
        public HomePageObject login(string username, string password)
        {
            Uname.SendKeys(username);
            Upassword.SendKeys(password);
            Loginbtn.Submit();

            return(new HomePageObject());
        }
        public DashboardPageObject login(string username, string password, string utype)
        {
            Uname.SendKeys(username);
            Upassword.SendKeys(password);
            DropDown(UserType, utype);
            System.Threading.Thread.Sleep(2000);
            loginbtn.Submit();

            return(new DashboardPageObject());
        }