예제 #1
0
 public bool successinreg()
 {
     if (commonuitils.gettext(registrationForm.UsernameInput()).Equals(""))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
        public bool fillupRegistrationform(string UserName, string Password, string Email, string FullName)
        {
            try
            {
                registrationForm = new RegistrationForm();
                commonuitils.typetext(registrationForm.UsernameInput(), UserName);
                commonuitils.typetext(registrationForm.FullNameInput(), FullName);
                commonuitils.typetext(registrationForm.EmailInput(), Email);
                commonuitils.typetext(registrationForm.PasswordInput(), Password);
                return(true);
            }
            catch (Exception e)
            {
                return(false);

                throw e;
            }
        }