A human-readable description of the location of the control. Unlike
HtmlIdAndDescription, this property only describes the
location of the control in the ASP.NET source code.
Returns a container for testing controls within the repeater's FooterTemplate.
This method will NOT check to see if the repeater is visible or if it has a FooterTemplate.
Intead, you'll get a NotVisibleException when you attempt to use the tester instantiated
with the result of this method.
Returns a container for testing controls within the repeater's HeaderTemplate.
This method will NOT check to see if the repeater is visible or if it has a HeaderTemplate.
Instead, you'll get a NotVisibleException when you attempt to use the tester instantiated
with result of this method.
The HTML ID of the control being tested. It corresponds to the
ID of the HTML tag rendered by the server. It's useful for looking at
raw HTML while debugging.
A human-readable description of the location of the control being tested.
This property describes the location of the control as well as providing
the HTML ID of the control, if present.
The number of items in the repeater. There's no way to distinguish between
a repeater that is "visible" but has zero items and a repeater that is
not visible, so if the repeater is invisible, this method will return zero
items. Similarly, if the repeater doesn't contain any server controls
(controls with "runat='server'"), it will also appear to have zero items.
Returns true if the control is visible on the current page. There's no way
to distinguish between a repeater that is "visible" but has zero items and
a repeater that is not visible, so if the repeater has zero items, this method
will return false. Similarly, if the repeater doesn't contain any server controls
(controls with "runat='server'"), it will also appear to be invisible.
Returns a container for testing controls within the repeater's ItemTemplate and
AlternatingItemTemplate. The 'itemNum' is the item to look for. itemNum zero is the
first instance of ItemTemplate; itemNum one is the second instance of ItemTemplate, or
AlternatingItemTemplate if it's in use; etc. This method does NOT check to see if
the repeater is visible or if the item number is legal on the current page. Instead,
you'll get a NotVisibleException when you attempt to use the tester instantiated
with the result of this method.
Returns a container for testing controls within the repeater's SeparatorTemplate.
The 'separatorNum' is the separator to look for. separatorNum zero is the first
separator (between the first and second items); separatorNum one is the second
separator (between the second and third items); etc. This method will NOT check to
see if the repeater is visible or if it has a SeparatorTemplate. Instead, you'll
get a NotVisibleException when you attempt to use the tester instantiated with the
result of this method.
Experimental. May change or go away in future revisions. Allows testers to
assert that their control should be visible before some operations. Using
this method provides clearer error messages to users of the tester.
Creates an ID for a control that doesn't have one provided in the .aspx page. The tester
using this method must algorithmically determine what number ASP.NET provided to the control.
In other words, control number "3" turns into an ID of "ctl03" in ASP.NET 2.0 and "_ctl3" in
ASP.NET 1.x.
Overloaded.
Trigger a post-back. ASP.NET has a post-back idiom that often shows up
as a Javascript "__doPostBack" call. This method exists to make it easy to write
testers for controls that do so. Just take the string that contains the post-
back script and pass it to this method. Use OptionalPostBack
if the script isn't always present.
Returns the HTML ID of a child control. Useful when implementing
testers for container controls that do HTML ID mangling. This method
is very likely to change in a future release.