public void PeopleItemToView_N(int position)
        {
            string scriptString = "arguments[0].scrollIntoView();";

            MonthPicker PeopleEffectiveDateN = JazzMonthPicker.GetOneMonthPicker(JazzControlLocatorKey.MonthPickerPeopleEffectiveDate, position);

            PeopleEffectiveDateN.ExecuteJavaScriptOnControl(scriptString);
        }
Пример #2
0
 private MonthPicker GetOneWaterEffectiveYear(int positionIndex)
 {
     return(JazzMonthPicker.GetOneMonthPicker(JazzControlLocatorKey.MonthPickerWaterCostEffectiveDate, positionIndex));
 }
        public bool IsEffectiveDateInvalidMsgCorrect_N(string msg, int position)
        {
            MonthPicker PeopleEffectiveDateN = JazzMonthPicker.GetOneMonthPicker(JazzControlLocatorKey.MonthPickerPeopleEffectiveDate, position);

            return(PeopleEffectiveDateN.GetInvalidTips().Contains(msg));
        }
        public bool IsEffectiveDateInvalid_N(int position)
        {
            MonthPicker PeopleEffectiveDateN = JazzMonthPicker.GetOneMonthPicker(JazzControlLocatorKey.MonthPickerPeopleEffectiveDate, position);

            return(PeopleEffectiveDateN.IsMonthPickerValueInvalid());
        }
        public string GetEffectiveDateValue_N(int position)
        {
            MonthPicker PeopleEffectiveDateN = JazzMonthPicker.GetOneMonthPicker(JazzControlLocatorKey.MonthPickerPeopleEffectiveDate, position);

            return(PeopleEffectiveDateN.GetValue());
        }
        public void SelectEffectiveDate_N(string date, int position)
        {
            MonthPicker PeopleEffectiveDateN = JazzMonthPicker.GetOneMonthPicker(JazzControlLocatorKey.MonthPickerPeopleEffectiveDate, position);

            PeopleEffectiveDateN.SelectYearMonthItem(date);
        }
Пример #7
0
 private MonthPicker GetOneEffectiveDate(int positionIndex)
 {
     return(JazzMonthPicker.GetOneMonthPicker(JazzControlLocatorKey.MonthPickerElectricCostEffectiveDate, positionIndex + 1));
 }