TreeCrawlerT, V, R Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Crawls an element hierarchy tree.
Inheritance Hierarchy

SystemObject
  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

  NameDescription
Protected methodTreeCrawlerT, V, R
Initializes a new instance of the TreeCrawlerT, V, R class
Top
Properties

  NameDescription
Public propertyLastUsedExpression
The last FindExpression used by this Crawler.
Public propertySearchRoot
Gets the SearchRoot for this crawler.
Top
Methods

  NameDescription
Public methodAllByCustom
Find all matches that match custom search logic
Public methodAllByExpression(V)
Finds all the elements in the tree that match the find expression.
Public methodAllByExpression(T, V)
Finds all the elements in the tree that match the find expression.
Public methodByCustom
Find using custom logic.
Public methodByExpression(V)
Finds the first element in the tree that matches the find expression.
Public methodByExpression(T, V)
Finds the first element in the tree that matches the find expression.
Public methodByExpression(V, Boolean)
Finds the first element in the tree that matches the find expression.
Public methodByExpression(T, V, Boolean)
Finds the first element in the tree that matches the find expression.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindUsingExpressionPath
Find an element using expression paths starting at startNode.
Public methodFindUsingHierarchicalClause
Find a node using a hierarchical clause (XPATH, TagIndex...etc)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference