Class VisualFind
Inheritance
System.Object
VisualFind
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Silverlight
Assembly: ArtOfTest.WebAii.dll
Syntax
public sealed class VisualFind : TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>
Properties
OwnerApp
SearchRoot
Declaration
public override FrameworkElement SearchRoot { get; }
Property Value
Overrides
ArtOfTest.Common.TreeCrawler<ArtOfTest.WebAii.Silverlight.FrameworkElement, ArtOfTest.WebAii.Silverlight.XamlFindExpression, ArtOfTest.WebAii.Silverlight.XamlFindClause>.SearchRoot
Strategy
WaitOnElementsTimeout
Declaration
public int WaitOnElementsTimeout { get; set; }
Property Value
System.
|
Methods
AllByAutomationId(String)
Declaration
public IList<FrameworkElement> AllByAutomationId(string id)
Parameters
System.
|
Returns
System.
|
AllByAutomationId(String, String)
Declaration
public IList<FrameworkElement> AllByAutomationId(string id, string controlType)
Parameters
System.
|
System.
|
Returns
System.
|
AllByAutomationId<T>(String)
Declaration
public IList<T> AllByAutomationId<T>(string id)
where T : IFrameworkElement
Parameters
System.
|
Returns
System.
|
Type Parameters
T
|
AllByCustom(Predicate<FrameworkElement>)
Declaration
public IList<FrameworkElement> AllByCustom(Predicate<FrameworkElement> customLogic)
Parameters
System.
|
Returns
System.
|
AllByExpression(XamlFindExpression)
Declaration
public override IList<FrameworkElement> AllByExpression(XamlFindExpression expression)
Parameters
Xaml
|
Returns
System.
|
Overrides
ArtOfTest.Common.TreeCrawler<ArtOfTest.WebAii.Silverlight.FrameworkElement, ArtOfTest.WebAii.Silverlight.XamlFindExpression, ArtOfTest.WebAii.Silverlight.XamlFindClause>.AllByExpression(ArtOfTest.WebAii.Silverlight.XamlFindExpression)
AllByName(String)
Declaration
public IList<FrameworkElement> AllByName(string name)
Parameters
System.
|
Returns
System.
|
AllByName(String, String)
Declaration
public IList<FrameworkElement> AllByName(string name, string controlType)
Parameters
System.
|
System.
|
Returns
System.
|
AllByName<T>(String)
Declaration
public IList<T> AllByName<T>(string name)
where T : IFrameworkElement
Parameters
System.
|
Returns
System.
|
Type Parameters
T
|
AllByTextContent(String)
Declaration
public IList<FrameworkElement> AllByTextContent(string textContent)
Parameters
System.
|
Returns
System.
|
AllByType(String)
Declaration
public IList<FrameworkElement> AllByType(string controlType)
Parameters
System.
|
Returns
System.
|
AllByType<T>()
Declaration
public IList<T> AllByType<T>()
where T : IFrameworkElement
Returns
System.
|
Type Parameters
T
|
ByAutomationId(String)
Declaration
public FrameworkElement ByAutomationId(string id)
Parameters
System.
|
Returns
ByAutomationId(String, Boolean)
Declaration
public FrameworkElement ByAutomationId(string id, bool includeRoot)
Parameters
System.
|
System.
|
Returns
ByAutomationId<T>(String)
Declaration
public T ByAutomationId<T>(string id)
where T : IFrameworkElement
Parameters
System.
|
Returns
T
|
Type Parameters
T
|
ByBaseType<T>()
Declaration
public T ByBaseType<T>()
where T : IFrameworkElement
Returns
T
|
Type Parameters
T
|
ByCustom(Predicate<FrameworkElement>)
Declaration
public FrameworkElement ByCustom(Predicate<FrameworkElement> customLogic)
Parameters
System.
|
Returns
ByExpression(XamlFindExpression, Boolean)
Declaration
public override FrameworkElement ByExpression(XamlFindExpression expression, bool includeRoot)
Parameters
Xaml
|
System.
|
Returns
Overrides
ArtOfTest.Common.TreeCrawler<ArtOfTest.WebAii.Silverlight.FrameworkElement, ArtOfTest.WebAii.Silverlight.XamlFindExpression, ArtOfTest.WebAii.Silverlight.XamlFindClause>.ByExpression(ArtOfTest.WebAii.Silverlight.XamlFindExpression, System.Boolean)
ByExpressionReturnOrThrow(XamlFindExpression)
Declaration
public FrameworkElement ByExpressionReturnOrThrow(XamlFindExpression expression)
Parameters
Xaml
|
Returns
ByExpressionReturnOrThrow(XamlFindExpression, Boolean)
Declaration
public FrameworkElement ByExpressionReturnOrThrow(XamlFindExpression expression, bool includeRoot)
Parameters
Xaml
|
System.
|
Returns
ByName(String)
Declaration
public FrameworkElement ByName(string name)
Parameters
System.
|
Returns
ByName<T>(String)
Declaration
public T ByName<T>(string name)
where T : IFrameworkElement
Parameters
System.
|
Returns
T
|
Type Parameters
T
|
ByTextContent(String)
Declaration
public FrameworkElement ByTextContent(string textContent)
Parameters
System.
|
Returns
ByType(String)
Declaration
public FrameworkElement ByType(string controlType)
Parameters
System.
|
Returns
ByType<T>()
Declaration
public T ByType<T>()
where T : IFrameworkElement
Returns
T
|
Type Parameters
T
|
FindAllUsingHierarchicalClause(FrameworkElement, XamlFindClause)
Declaration
public override IEnumerable<FrameworkElement> FindAllUsingHierarchicalClause(FrameworkElement startNode, XamlFindClause clause)
Parameters
Framework
|
Xaml
|
Returns
System.
|
Overrides
ArtOfTest.Common.TreeCrawler<ArtOfTest.WebAii.Silverlight.FrameworkElement, ArtOfTest.WebAii.Silverlight.XamlFindExpression, ArtOfTest.WebAii.Silverlight.XamlFindClause>.FindAllUsingHierarchicalClause(ArtOfTest.WebAii.Silverlight.FrameworkElement, ArtOfTest.WebAii.Silverlight.XamlFindClause)
FindUsingHierarchicalClause(FrameworkElement, XamlFindClause)
Declaration
public override FrameworkElement FindUsingHierarchicalClause(FrameworkElement startNode, XamlFindClause clause)
Parameters
Framework
|
Xaml
|
Returns
Overrides
ArtOfTest.Common.TreeCrawler<ArtOfTest.WebAii.Silverlight.FrameworkElement, ArtOfTest.WebAii.Silverlight.XamlFindExpression, ArtOfTest.WebAii.Silverlight.XamlFindClause>.FindUsingHierarchicalClause(ArtOfTest.WebAii.Silverlight.FrameworkElement, ArtOfTest.WebAii.Silverlight.XamlFindClause)
RefreshRoot()
Declaration
public void RefreshRoot()