NUnitAsp

ListItemCollectionTester.FindByText Method 

Searches the collection for a ListItemTester whose RenderedText property contains the specified text.

public ListItemTester FindByText(
   string text
);

Parameters

text
The text to search for.

Return Value

The first ListItemTester that contains the text specified by the text parameter, or null if none could be found.

See Also

ListItemCollectionTester Class | NUnit.Extensions.Asp.HtmlTester Namespace