Beispiel #1
0
        public void FillForm()
        {
            IsVisible(By.Id("ContactField"));
            ContactField.Clear();
            SendData(ContactField, "1");

            IsVisible(By.Id("DailyEveryNDaysField"));
            DailyEveryNDaysField.Clear();
            SendData(DailyEveryNDaysField, "1");

            IsVisible(By.Id("DailyWeekdayOnlyField"));
            DailyWeekdayOnlyField.Clear();
            SendData(DailyWeekdayOnlyField, "1");

            IsVisible(By.Id("FollowupAllDayField"));
            FollowupAllDayField.Clear();
            SendData(FollowupAllDayField, "1");

            IsVisible(By.Id("FollowupEndField"));
            FollowupEndField.Clear();
            SendData(FollowupEndField, "1");

            IsVisible(By.Id("FollowupRecurrenceFieldGTCQVxZqURnpQmc43hunYrsSPw6161"));
            FollowupRecurrenceFieldGTCQVxZqURnpQmc43hunYrsSPw6161.Clear();
            SendData(FollowupRecurrenceFieldGTCQVxZqURnpQmc43hunYrsSPw6161, "1");

            IsVisible(By.Id("FollowupRecurrenceFieldGTCUn6DedTUYoYkAj2DhhBOzg6161"));
            FollowupRecurrenceFieldGTCUn6DedTUYoYkAj2DhhBOzg6161.Clear();
            SendData(FollowupRecurrenceFieldGTCUn6DedTUYoYkAj2DhhBOzg6161, "1");

            IsVisible(By.Id("FollowupRecurrenceFieldGTCbZf5Z47ikQdfFCaLS3lMYtA6161"));
            FollowupRecurrenceFieldGTCbZf5Z47ikQdfFCaLS3lMYtA6161.Clear();
            SendData(FollowupRecurrenceFieldGTCbZf5Z47ikQdfFCaLS3lMYtA6161, "1");

            IsVisible(By.Id("FollowupRecurrenceFieldGTCg6yLH436BQQ9C9QQzKBBBGw6161"));
            FollowupRecurrenceFieldGTCg6yLH436BQQ9C9QQzKBBBGw6161.Clear();
            SendData(FollowupRecurrenceFieldGTCg6yLH436BQQ9C9QQzKBBBGw6161, "1");

            IsVisible(By.Id("FollowupRecurrenceFieldGTCoR8of2mFXo47s6Nq0xHb8kA6161"));
            FollowupRecurrenceFieldGTCoR8of2mFXo47s6Nq0xHb8kA6161.Clear();
            SendData(FollowupRecurrenceFieldGTCoR8of2mFXo47s6Nq0xHb8kA6161, "1");

            IsVisible(By.Id("FollowupStartField"));
            FollowupStartField.Clear();
            SendData(FollowupStartField, "1");

            IsVisible(By.Id("FollowupSubjectField"));
            FollowupSubjectField.Clear();
            SendData(FollowupSubjectField, "1");

            IsClickable(FollowupTypeField);
            FollowupTypeFieldOption.SelectByIndex(1);

            IsVisible(By.Id("IsCompleteSwitchField"));
            IsCompleteSwitchField.Clear();
            SendData(IsCompleteSwitchField, "1");

            IsVisible(By.Id("MonthlyEveryNMonthsField"));
            MonthlyEveryNMonthsField.Clear();
            SendData(MonthlyEveryNMonthsField, "1");

            IsVisible(By.Id("OrganizationField"));
            OrganizationField.Clear();
            SendData(OrganizationField, "1");

            IsClickable(OwnerField);
            OwnerFieldOption.SelectByIndex(1);

            IsVisible(By.Id("WeeklyEveryNWeeksField"));
            WeeklyEveryNWeeksField.Clear();
            SendData(WeeklyEveryNWeeksField, "1");

            IsClickable(WeeklyWeekdayField);
            WeeklyWeekdayFieldOption.SelectByIndex(1);

            IsVisible(By.Id("YearlyEveryNYearsField"));
            YearlyEveryNYearsField.Clear();
            SendData(YearlyEveryNYearsField, "1");
        } // close FillForm
Beispiel #2
0
        public void FillForm()
        {
            IsVisible(By.Id("AddressLine1Field"));
            AddressLine1Field.Clear();
            SendData(AddressLine1Field, "1");

            IsVisible(By.Id("AddressLine2Field"));
            AddressLine2Field.Clear();
            SendData(AddressLine2Field, "1");

            IsVisible(By.Id("BusinessPhoneField"));
            BusinessPhoneField.Clear();
            SendData(BusinessPhoneField, "1");

            IsVisible(By.Id("CityField"));
            CityField.Clear();
            SendData(CityField, "1");

            IsVisible(By.Id("CompanyPhoneField"));
            CompanyPhoneField.Clear();
            SendData(CompanyPhoneField, "1");

            IsVisible(By.Id("ContactAddressLine1Field"));
            ContactAddressLine1Field.Clear();
            SendData(ContactAddressLine1Field, "1");

            IsVisible(By.Id("ContactAddressLine2Field"));
            ContactAddressLine2Field.Clear();
            SendData(ContactAddressLine2Field, "1");

            IsVisible(By.Id("ContactCityField"));
            ContactCityField.Clear();
            SendData(ContactCityField, "1");

            IsClickable(ContactStateField);
            ContactStateFieldOption.SelectByIndex(1);

            IsVisible(By.Id("ContactZipField"));
            ContactZipField.Clear();
            SendData(ContactZipField, "1");

            IsVisible(By.Id("EmailField"));
            EmailField.Clear();
            SendData(EmailField, "1");

            IsVisible(By.Id("FirstNameField"));
            FirstNameField.Clear();
            SendData(FirstNameField, "1");

            IsVisible(By.Id("LastNameField"));
            LastNameField.Clear();
            SendData(LastNameField, "1");

            IsVisible(By.Id("MiddleNameField"));
            MiddleNameField.Clear();
            SendData(MiddleNameField, "1");

            IsVisible(By.Id("MobilePhoneField"));
            MobilePhoneField.Clear();
            SendData(MobilePhoneField, "1");

            IsVisible(By.Id("OrganizationNameFilteredField"));
            OrganizationNameFilteredField.Clear();
            SendData(OrganizationNameFilteredField, "1");

            IsClickable(OrganizationTypeField);
            OrganizationTypeFieldOption.SelectByIndex(1);

            IsVisible(By.Id("OrganizationWebsiteField"));
            OrganizationWebsiteField.Clear();
            SendData(OrganizationWebsiteField, "1");

            IsClickable(OwnerField);
            OwnerFieldOption.SelectByIndex(1);

            IsClickable(ProgramField);
            ProgramFieldOption.SelectByIndex(1);

            IsVisible(By.Id("SameAddressField"));
            SameAddressField.Clear();
            SendData(SameAddressField, "1");

            IsClickable(SectorField);
            SectorFieldOption.SelectByIndex(1);

            IsClickable(SolicitationField);
            SolicitationFieldOption.SelectByIndex(1);

            IsClickable(StateField);
            StateFieldOption.SelectByIndex(1);

            IsVisible(By.Id("TitleField"));
            TitleField.Clear();
            SendData(TitleField, "1");

            IsVisible(By.Id("ZipField"));
            ZipField.Clear();
            SendData(ZipField, "1");
        } // close FillForm