Crawls an element hierarchy tree.
Inheritance Hierarchy
ArtOfTest.CommonTreeCrawlerT, V, R
ArtOfTest.WebAii.SilverlightVisualFind
Namespace: ArtOfTest.Common
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
public abstract class TreeCrawler<T, V, R> where T : ITargetElement where V : IFindExpression where R : FindClause
Type Parameters
- T
- The target element type
- V
- The FindExpression type
- R
- The FindClause type
The TreeCrawlerT, V, R type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TreeCrawlerT, V, R | Initializes a new instance of the TreeCrawlerT, V, R class |
Properties
Name | Description | |
---|---|---|
LastUsedExpression |
The last FindExpression used by this Crawler.
| |
SearchRoot |
Gets the SearchRoot for this crawler.
|
Methods
Name | Description | |
---|---|---|
AllByCustom |
Find all matches that match custom search logic
| |
AllByExpression(V) |
Finds all the elements in the tree that match the find expression.
| |
AllByExpression(T, V) |
Finds all the elements in the tree that match the find expression.
| |
ByCustom |
Find using custom logic.
| |
ByExpression(V) |
Finds the first element in the tree that matches the find expression.
| |
ByExpression(T, V) |
Finds the first element in the tree that matches the find expression.
| |
ByExpression(V, Boolean) |
Finds the first element in the tree that matches the find expression.
| |
ByExpression(T, V, Boolean) |
Finds the first element in the tree that matches the find expression.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindUsingExpressionPath |
Find an element using expression paths starting at startNode.
| |
FindUsingHierarchicalClause |
Find a node using a hierarchical clause (XPATH, TagIndex...etc)
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also