Create a tester for a top-level control. Use this constructor
for testing most controls. Testers created with this constructor
will test pages loaded by the Default
HttpClient.
public RepeaterTester( stringaspId, boolhasHeaderTemplate, boolhasSeparatorTemplate, boolhasFooterTemplateContainingServerControl );
Parameters
aspId
The ID of the control to test (look in the
page's ASP.NET source code for the ID).
hasHeaderTemplate
"True" if the repeater being tested has
a HeaderTemplate.
hasSeparatorTemplate
"True" if the repeater being tested
has a SeparatorTemplate.
hasFooterTemplateContainingServerControl
Read carefully! Set this parameter to
"True" only if the repeater has a FooterTemplate and
the FooterTemplate contains a server control--that is, a tag with the 'runat="server"'
attribute. If you do not, your tests may fail.