private void RegisterWithRegType(RegType regType) { RegisterMgr.OpenRegisterPage(); RegisterMgr.Checkin(); RegisterMgr.SelectRegType(regType.ToString()); RegisterMgr.Continue(); RegisterMgr.EnterProfileInfo(); RegisterMgr.Continue(); if (this.regTypeFees[regType] != null) { RegisterMgr.PayMoney(RegisterManager.PaymentMethod.Check); } RegisterMgr.FinishRegistration(); RegisterMgr.ConfirmRegistration(); this.registrationIds.Add(Convert.ToInt32(RegisterMgr.GetConfirmationPageValueForPrimaryAttendee( RegisterManager.ConfirmationPageField.RegistrationId))); }
private void AddAnotherPerson(RegType regType, ref string email, ref int regID) { RegisterMgr.VerifyHasAddAnotherPersonButton(true); RegisterMgr.ClickAddAnotherPerson(); RegisterMgr.Checkin(); RegisterMgr.SelectRegType(regType.ToString()); email = RegisterMgr.CurrentEmail; RegisterMgr.Continue(); RegisterMgr.EnterProfileInfo(); regID = RegisterMgr.GetRegIdFromSession(); RegisterMgr.CurrentRegistrationId = regID; // Filling in or selecting Custom Fields RegisterMgr.SelectPersonalInfoCustomFields(); RegisterMgr.Continue(); // Select Agenda Items RegisterMgr.SelectAgendaItems(); }