skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Free Tools
    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
    • Test Studio Trainings
    • Test Studio Consulting
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class VisualFind

Inheritance
System.Object
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>
VisualFind
Inherited Members
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.ByExpression(FrameworkElement, XamlFindExpression)
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.ByExpression(XamlFindExpression)
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.ByExpression(XamlFindExpression, Boolean)
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.AllByExpression(XamlFindExpression)
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.ByExpression(FrameworkElement, XamlFindExpression, Boolean)
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.AllByExpression(FrameworkElement, XamlFindExpression)
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.FindUsingHierarchicalClause(FrameworkElement, XamlFindClause)
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.FindAllUsingHierarchicalClause(FrameworkElement, XamlFindClause)
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.ByCustom(FrameworkElement, Predicate<FrameworkElement>, Boolean)
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.AllByCustom(FrameworkElement, Predicate<FrameworkElement>, Boolean)
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.FindUsingExpressionPath(FrameworkElement, String, FrameworkElement)
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.LastUsedExpression
TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>.SearchRoot
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

Declaration
public IApplication OwnerApp { get; }
Property Value
IApplication

SearchRoot

Declaration
public override FrameworkElement SearchRoot { get; }
Property Value
FrameworkElement

Overrides
ArtOfTest.Common.TreeCrawler<ArtOfTest.WebAii.Silverlight.FrameworkElement, ArtOfTest.WebAii.Silverlight.XamlFindExpression, ArtOfTest.WebAii.Silverlight.XamlFindClause>.SearchRoot

Strategy

Declaration
public FindStrategy Strategy { get; set; }
Property Value
FindStrategy

WaitOnElementsTimeout

Declaration
public int WaitOnElementsTimeout { get; set; }
Property Value
System.Int32

Methods

AllByAutomationId(String)

Declaration
public IList<FrameworkElement> AllByAutomationId(string id)
Parameters
System.String id

Returns
System.Collections.Generic.IList<FrameworkElement>

AllByAutomationId(String, String)

Declaration
public IList<FrameworkElement> AllByAutomationId(string id, string controlType)
Parameters
System.String id

System.String controlType

Returns
System.Collections.Generic.IList<FrameworkElement>

AllByAutomationId<T>(String)

Declaration
public IList<T> AllByAutomationId<T>(string id)
    where T : IFrameworkElement
Parameters
System.String id

Returns
System.Collections.Generic.IList<T>

Type Parameters
T

AllByCustom(Predicate<FrameworkElement>)

Declaration
public IList<FrameworkElement> AllByCustom(Predicate<FrameworkElement> customLogic)
Parameters
System.Predicate<FrameworkElement> customLogic

Returns
System.Collections.Generic.IList<FrameworkElement>

AllByExpression(XamlFindExpression)

Declaration
public override IList<FrameworkElement> AllByExpression(XamlFindExpression expression)
Parameters
XamlFindExpression expression

Returns
System.Collections.Generic.IList<FrameworkElement>

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.String name

Returns
System.Collections.Generic.IList<FrameworkElement>

AllByName(String, String)

Declaration
public IList<FrameworkElement> AllByName(string name, string controlType)
Parameters
System.String name

System.String controlType

Returns
System.Collections.Generic.IList<FrameworkElement>

AllByName<T>(String)

Declaration
public IList<T> AllByName<T>(string name)
    where T : IFrameworkElement
Parameters
System.String name

Returns
System.Collections.Generic.IList<T>

Type Parameters
T

AllByTextContent(String)

Declaration
public IList<FrameworkElement> AllByTextContent(string textContent)
Parameters
System.String textContent

Returns
System.Collections.Generic.IList<FrameworkElement>

AllByType(String)

Declaration
public IList<FrameworkElement> AllByType(string controlType)
Parameters
System.String controlType

Returns
System.Collections.Generic.IList<FrameworkElement>

AllByType<T>()

Declaration
public IList<T> AllByType<T>()
    where T : IFrameworkElement
Returns
System.Collections.Generic.IList<T>

Type Parameters
T

ByAutomationId(String)

Declaration
public FrameworkElement ByAutomationId(string id)
Parameters
System.String id

Returns
FrameworkElement

ByAutomationId(String, Boolean)

Declaration
public FrameworkElement ByAutomationId(string id, bool includeRoot)
Parameters
System.String id

System.Boolean includeRoot

Returns
FrameworkElement

ByAutomationId<T>(String)

Declaration
public T ByAutomationId<T>(string id)
    where T : IFrameworkElement
Parameters
System.String id

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.Predicate<FrameworkElement> customLogic

Returns
FrameworkElement

ByExpression(XamlFindExpression, Boolean)

Declaration
public override FrameworkElement ByExpression(XamlFindExpression expression, bool includeRoot)
Parameters
XamlFindExpression expression

System.Boolean includeRoot

Returns
FrameworkElement

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
XamlFindExpression expression

Returns
FrameworkElement

ByExpressionReturnOrThrow(XamlFindExpression, Boolean)

Declaration
public FrameworkElement ByExpressionReturnOrThrow(XamlFindExpression expression, bool includeRoot)
Parameters
XamlFindExpression expression

System.Boolean includeRoot

Returns
FrameworkElement

ByName(String)

Declaration
public FrameworkElement ByName(string name)
Parameters
System.String name

Returns
FrameworkElement

ByName<T>(String)

Declaration
public T ByName<T>(string name)
    where T : IFrameworkElement
Parameters
System.String name

Returns
T

Type Parameters
T

ByTextContent(String)

Declaration
public FrameworkElement ByTextContent(string textContent)
Parameters
System.String textContent

Returns
FrameworkElement

ByType(String)

Declaration
public FrameworkElement ByType(string controlType)
Parameters
System.String controlType

Returns
FrameworkElement

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
FrameworkElement startNode

XamlFindClause clause

Returns
System.Collections.Generic.IEnumerable<FrameworkElement>

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
FrameworkElement startNode

XamlFindClause clause

Returns
FrameworkElement

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()
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.