Пример #1
0
        public static void PersonsFilterDlg_Handler(Form form)
        {
            PersonsFilterDlg pfDlg = (PersonsFilterDlg)form;

            SelectTab("tabsFilters", form, 1);

            ClickRadioButton("rgLife.rbAliveBefore", form);
            ClickRadioButton("rgLife.rbAll", form);

            var rbSexMale = new RadioButtonTester("rbSexMale", form);

            rbSexMale.Properties.Checked = true;

            var rbOnlyLive = new RadioButtonTester("rbOnlyLive", form);

            rbOnlyLive.Properties.Checked = true;

            EnterCombo("txtName", form, "*Ivan*");

            EnterCombo("cmbResidence", form, "*test place*");

            EnterCombo("cmbEventVal", form, "*test event*");

            EnterCombo("cmbGroup", form, "- any -");

            EnterCombo("cmbSource", form, "- any -");
        }
Пример #2
0
        public override void Setup()
        {
            fBase    = new BaseWindowStub();
            fListMan = new IndividualListMan(fBase.Context);

            fDialog = new PersonsFilterDlg(fBase, fListMan);
            fDialog.Show();
        }