C# Class Automation.UI.Tree.SearchEngines.DefaultSearchEngine

Standard search engine that will use UI Automation's built in methods.
Inheritance: SearchEngine
Afficher le fichier Open project: vijayakumarsuraj/UIAutomation

Méthodes publiques

Méthode Description
GetAllResults ( Query query, System.TimeSpan timeout ) : IEnumerable

Gets all the automation elements found using the condition specified in the specified query. Uses the FindAll method.

GetFirstResult ( Query query, System.TimeSpan timeout ) : AutomationElement

Gets the first result for the specified query. Uses the FindFirst method.

Method Details

GetAllResults() public méthode

Gets all the automation elements found using the condition specified in the specified query. Uses the FindAll method.
public GetAllResults ( Query query, System.TimeSpan timeout ) : IEnumerable
query Query The query.
timeout System.TimeSpan The maximum amount of time to wait for at least one element to become available.
Résultat IEnumerable

GetFirstResult() public méthode

Gets the first result for the specified query. Uses the FindFirst method.
public GetFirstResult ( Query query, System.TimeSpan timeout ) : AutomationElement
query Query The query.
timeout System.TimeSpan The maximum amount of time to wait for the required element to become available.
Résultat System.Windows.Automation.AutomationElement