An array of string arrays containing the contents of the table,
not counting the header. The outer array represents rows and the inner arrays
represents cells within the rows. The cells are returned exactly as they
are found in the HTML document (equivalent to calling "InnerHtml" on every
cell).
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.
An array of string arrays containing the contents of the table,
not counting the header. The outer array represents rows and the inner arrays
represents cells within the rows. The cells are "rendered" to approximate how
they will be displayed by a browser (equivalent to calling "InnerHtmlRendered"
on every cell).
The HTML inside the tag being tested, rendered to a string as a web browser would
do. All inner tags are removed and adjacent whitespace is converted
to a single space. For example, <a href='foo'><i>My</i> Link</a>
will return "My Link".
Returns the only child (of a particular type) of this tag. If this tag has more
that one child of the requested type, or if it has no children of the requested type,
this method will throw an exception. Don't cache the results of this call.
Returns the immediate children of this tag that match a particular type (such as <tr>).
Does not return "grand-children" -- i.e., calling table.Children("tr") will work, but
calling table.Children("td") will typically return nothing because the 'td' tags
are nested inside 'tr' tags.Don't cache the results of this call.
Returns the tags that match an XPath expression, starting from this tag (node). Make
sure that the result of your expression is a set of tags.Don't cache the results of this call.
Returns 'true' if this tag has any immediate children that match a particular type
(such as <tr>. Does not check "grand-children" -- i.e., calling
table.HasChildren("tr") will usually return true and calling
table.HasChildren("td") will usually return false.
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.
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.