NUnit.Extensions.Asp.HtmlTester.HtmlControlTester.HtmlControlTester C# (CSharp) Method

HtmlControlTester() public method

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.
public HtmlControlTester ( 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.
return System
        public HtmlControlTester(string aspId, Tester container)
            : base(aspId, container)
        {
        }

Same methods

HtmlControlTester::HtmlControlTester ( string htmlId ) : System
HtmlControlTester::HtmlControlTester ( string aspId, Tester container, bool runAtServer ) : System
HtmlControlTester::HtmlControlTester ( string xpath, string description ) : System
HtmlControlTester::HtmlControlTester ( string xpath, string description, Tester container ) : System
HtmlControlTester