메소드 | 설명 | |
---|---|---|
HtmlInputHidden ( string htmlId ) : System |
Create a tester for an HTML tag. Use this constructor for testing most tags.
|
|
HtmlInputHidden ( string aspId, Tester container ) : System |
Create a tester for a server-side HTML control or a tag that's on a page with multiple forms. Use this constructor when the HTML tag you are testing has the "runat='server'" attribute. Also use this tester when using the non-default webform or HttpClient.
|
|
HtmlInputHidden ( string xpath, string description ) : System |
Create a tester for an HTML tag using an XPath description.
|
|
HtmlInputHidden ( string xpath, string description, Tester container ) : System |
Create a tester for an HTML tag that's on a page with multiple forms using an XPath description.
|
public HtmlInputHidden ( string htmlId ) : System | ||
htmlId | string | The ID of the control to test (look in the /// page's ASP.NET source code for the ID). |
리턴 | System |
public HtmlInputHidden ( string aspId, Tester container ) : System | ||
aspId | string | The ID of the control to test (look in the /// page's ASP.NET source code for the ID). |
container | Tester | A tester for the control's container. /// (In the page's ASP.NET source code, look for the tag that the /// control is nested in. That's probably the control's /// container.) If testing a page with multiple forms or a non-default /// HttpClient, pass in the WebFormTester for the form this tag is within. |
리턴 | System |
public HtmlInputHidden ( string xpath, string description ) : System | ||
xpath | string | The XPath description of the tag. |
description | string | A human-readable description of this tag (for error reporting). |
리턴 | System |
public HtmlInputHidden ( string xpath, string description, Tester container ) : System | ||
xpath | string | The XPath description of the tag. |
description | string | A human-readable description of this tag (for error reporting). |
container | Tester | A tester for the control's container. A WebFormTester /// will usually be most appropriate. |
리턴 | System |