public bool successinreg() { if (commonuitils.gettext(registrationForm.UsernameInput()).Equals("")) { return(true); } else { return(false); } }
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; } }