private void initInput() { this.WrongEmail = "*****@*****.**"; this.WrongPassword = "******"; this.CorrectEmail = "*****@*****.**"; this.CorrectPassword = "******"; string now = DateTime.Now.ToShortDateString(); this.TestName = "WebTestUser"; this.TestLastName = "Jonson"; this.TestPhone = "04-8766666"; this.TestEmailBGU = "web.test.user" + now.Replace('/','.') + "." + DateTime.Now.Ticks + "@bgu.ac.il"; this.TestEmailPost = "web.test.user" + now.Replace('/', '.') + DateTime.Now.Ticks + "@post.bgu.ac.il"; this.TestEmailSE = "web.test.user" + now.Replace('/', '.') + DateTime.Now.Ticks + "@se.bgu.ac.il"; this.TestEmailISE = "web.test.user" + now.Replace('/', '.') + DateTime.Now.Ticks + "@ise.bgu.ac.il"; this.TestEmailCS = "web.test.user" + now.Replace('/', '.') + DateTime.Now.Ticks + "@cs.bgu.ac.il"; this.TestPassword = "******"; this.RegisterData = new Register(); }
public void Register(Register registerObj) { this.UIMap.RegisterParams.UIRegFNameEditText = registerObj.firstName; this.UIMap.RegisterParams.UIRegLNameEditText = registerObj.lastName; this.UIMap.RegisterParams.UIRegEmailEditText = registerObj.email; this.UIMap.RegisterParams.UIRegPhoneEditText = registerObj.phone; this.UIMap.RegisterParams.UIRegPassEditText = (registerObj.password == "" ? "" :Playback.EncryptText(registerObj.password)); this.UIMap.RegisterParams.UIRegVerPassEditText = (registerObj.verifiedPassword == ""? "" : Playback.EncryptText(registerObj.verifiedPassword)); this.UIMap.Register(); }