Tester for System.Web.UI.WebControls.CheckBox
Inheritance: LabeledControlTester
Esempio n. 1
0
 protected override void SetUp()
 {
     base.SetUp();
     list = CreateListControl("list", CurrentWebForm);
     emptyList = CreateListControl("emptyList", CurrentWebForm);
     disabledList = CreateListControl("disabledList", CurrentWebForm);
     submit = new LinkButtonTester("submit", CurrentWebForm);
     clearSelection = new LinkButtonTester("clearSelection", CurrentWebForm);
     autoPostBack = new CheckBoxTester("auto", CurrentWebForm);
     indexChanged = new LabelTester("indexChanged", CurrentWebForm);
 }
Esempio n. 2
0
        protected override void SetUp()
        {
            base.SetUp();
            multiSelect = new CheckBoxTester("multi", CurrentWebForm);

            Browser.GetPage(BaseUrl + "/AspTester/ListBoxTestPage.aspx");
        }
Esempio n. 3
0
 protected override void SetUp()
 {
     base.SetUp();
     CheckBox = new CheckBoxTester("checkBox", CurrentWebForm);
     DisabledCheckBox = new CheckBoxTester("disabled", CurrentWebForm);
     Submit = new LinkButtonTester("submit", CurrentWebForm);
     Browser.GetPage(BaseUrl + "/AspTester/CheckBoxTestPage.aspx");
 }
Esempio n. 4
0
 public void TestAutoPostBack()
 {
     CheckBoxTester autoPostBack = new CheckBoxTester("autoPostBack");
     autoPostBack.Checked = true;
     Assert.IsTrue(autoPostBack.Checked, "autoPostBack should be checked");
 }
Esempio n. 5
0
 public void TestMalformedDocument()
 {
     CheckBoxTester control = new CheckBoxTester("control", CurrentWebForm);
     Browser.GetPage(BaseUrl + "MalformedTestPage.aspx");
     AssertVisibility(control, true);
 }