public void TestAutoPostBack() { RadioButtonTester autoGroup1 = new RadioButtonTester("autoGroup1"); RadioButtonTester autoGroup2 = new RadioButtonTester("autoGroup2"); autoGroup1.Checked = true; Assert.IsTrue(autoGroup1.Checked, "autoGroup1 should be checked"); }
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"); }