Class
HtmlFind

Extends the generic Find methods to include HTML specific find objects.

Definition

Namespace:ArtOfTest.WebAii.Controls.HtmlControls

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class HtmlFind : Find

Inheritance: objectFindHtmlFind

Inherited Members Find.AllByImage(Image, double, bool, Point, int, float, int)Find.ByImage(Image, double, int, bool, Point, int, float, int)Find.ImageMatch(Image, double, int, int, float, int)Find.ImageMatches(Image, double, int, float, int)Find.FromExpressionsFile(string)Find.FromExpressionsXml(string)Find.FromCollection(FindExpressionCollection<HtmlFindExpression>)Find.AllControls<TControl>()Find.AllElements()Find.AllByCustom(Predicate<Element>)Find.AllByCustom<TControl>(Predicate<TControl>)Find.AllByTagName(string)Find.AllByTagName<TControl>(string)Find.AllByContent(string, FindContentType)Find.AllByContent<TControl>(string, FindContentType)Find.AllByContent(string)Find.AllByContent<TControl>(string)Find.AllByCssSelector(string)Find.AllByCssSelector<TControl>(string)Find.AllByAttributes(params string[])Find.AllByAttributes<TControl>(params string[])Find.AllByXPath(string)Find.AllByXPath<TControl>(string)Find.ByCustom<TControl>(Predicate<TControl>)Find.ByCustom(Predicate<Element>)Find.ByContent(string)Find.ByContent<TControl>(string)Find.ByContent(string, FindContentType)Find.ByContent<TControl>(string, FindContentType)Find.ByContent(string, FindContentType, params string[])Find.ByContent<TControl>(string, FindContentType, params string[])Find.ByXPath(string)Find.ByXPath<TControl>(string)Find.ById(string)Find.ById<TControl>(string)Find.ByName(string)Find.ByName<TControl>(string)Find.ByNodeIndexPath(string)Find.ByNodeIndexPath<TControl>(string)Find.ByCssSelector(string)Find.ByCssSelector<TControl>(string)Find.ByTagIndex(string, int)Find.ByTagIndex<TControl>(string, int)Find.ByAttributes(params string[])Find.ByAttributes<TControl>(params string[])Find.AllByExpression(HtmlFindExpression)Find.AllByExpression<TControl>(HtmlFindExpression)Find.AllByExpression(params string[])Find.AllByExpression<TControl>(params string[])Find.ByExpression<TControl>(HtmlFindExpression)Find.ByExpression<TControl>(params string[])Find.ByExpression(params string[])Find.ByExpression(HtmlFindExpression)Find.ByExpression(HtmlFindExpression, bool)Find.BuildBestFitFindExpression(Element)Find.LastFindParamFind.LastSearchLogFind.SearchRegionFind.AssociatedBrowserFind.SearchRootElementFind.IgnoreFindAllControlMismatchFind.ThrowIfNullOrEmptyFind.FindReferenceTypeFind.ReturnedNullOrEmpty

Constructors

HtmlFind(Element)

Create a new Find object.

Declaration

cs-api-definition
public HtmlFind(Element rootElement)

Parameters

rootElement

Element

Methods

Table(string)

Finds the first table that contains the cell text content specified.

Declaration

cs-api-definition
public HtmlTable Table(string textContent)

Parameters

textContent

string

The cell text content to find..

Returns

HtmlTable

The HtmlTable that contains that text, else null

TableCell(string)

Finds the first table cell that contains the text content specified. If the text is contained by a control inside that table cell, this method will not find that cell.

Declaration

cs-api-definition
public HtmlTableCell TableCell(string textContent)

Parameters

textContent

string

The text content.

Returns

HtmlTableCell

The HtmlTableCell that contains that text, else null.

TableRow(string)

Finds the first table row that contains the cell text content specified.

Declaration

cs-api-definition
public HtmlTableRow TableRow(string textContent)

Parameters

textContent

string

The text content.

Returns

HtmlTableRow

The HtmlTableRow that contains that text, else null