Tester for System.Web.UI.HtmlControls.HtmlInputImage
Inheritance: HtmlControlTester
Ejemplo n.º 1
0
 public void TestDisabled()
 {
     HtmlInputImageTester disabled = new HtmlInputImageTester("disabled");
     disabled.Click();
 }
Ejemplo n.º 2
0
 public void TestNoName()
 {
     HtmlInputImageTester noName = new HtmlInputImageTester("noName");
     noName.Click();
     WebAssert.AreEqualIgnoringOrder
     (
         formVars.RenderedCells,
         new String[][]
         {
             new String[] {"x", "0"},
             new String[] {"y", "0"},
         }
     );
 }
Ejemplo n.º 3
0
 protected override void SetUp()
 {
     base.SetUp();
     image = new HtmlInputImageTester("image");
     formVars = new DataGridTester("formVars", CurrentWebForm);
     Browser.GetPage(BaseUrl + "HtmlTester/HtmlInputImageTestPage.aspx");
 }