Tester for System.Web.UI.WebControls.RadioButton
Inheritance: LabeledControlTester
Ejemplo n.º 1
0
        public void TestAutoPostBack()
        {
            RadioButtonTester autoGroup1 = new RadioButtonTester("autoGroup1");
            RadioButtonTester autoGroup2 = new RadioButtonTester("autoGroup2");

            autoGroup1.Checked = true;
            Assert.IsTrue(autoGroup1.Checked, "autoGroup1 should be checked");
        }
Ejemplo n.º 2
0
        protected override void SetUp()
        {
            base.SetUp();
            Submit = new LinkButtonTester("submit", CurrentWebForm);
            CheckBox = new RadioButtonTester("radionButton", CurrentWebForm);
            DisabledCheckBox = new RadioButtonTester("disabled", CurrentWebForm);

            groupedOne = new RadioButtonTester("groupedOne", CurrentWebForm);
            groupedTwo = new RadioButtonTester("groupedTwo", CurrentWebForm);

            Submit = new LinkButtonTester("submit", CurrentWebForm);
            Browser.GetPage(BaseUrl + "/AspTester/RadioButtonTestPage.aspx");
        }