skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free 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
  • Training
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
    • Trust Center
    • FAQs
  • 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 DesktopElementContainer

Inheritance
System.Object
ElementContainer<DesktopElement, DesktopFindExpression>
DesktopElementContainer
Inherited Members
ElementContainer<DesktopElement, DesktopFindExpression>.Get(DesktopFindExpression)
ElementContainer<DesktopElement, DesktopFindExpression>.Get(DesktopFindExpression, Boolean, Int32)
ElementContainer<DesktopElement, DesktopFindExpression>.GetElement(DesktopFindExpression, Boolean, Int32)
ElementContainer<DesktopElement, DesktopFindExpression>.Get(String[])
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.TestTemplates
Assembly: ArtOfTest.WebAii.dll

Syntax

public abstract class DesktopElementContainer : ElementContainer<DesktopElement, DesktopFindExpression>

Constructors

DesktopElementContainer(DesktopFind)

Declaration
public DesktopElementContainer(DesktopFind find)
Parameters
DesktopFind find

Properties

EnsureClickable

Declaration
public bool EnsureClickable { get; set; }
Property Value
System.Boolean

Find

Declaration
public DesktopFind Find { get; }
Property Value
DesktopFind

Methods

Get(DesktopFindExpression)

Declaration
public override DesktopElement Get(DesktopFindExpression expr)
Parameters
DesktopFindExpression expr

Returns
DesktopElement

Overrides
ArtOfTest.WebAii.TestTemplates.ElementContainer<ArtOfTest.WebAii.DesktopAutomation.DesktopElement, ArtOfTest.WebAii.DesktopAutomation.FindExpressions.DesktopFindExpression>.Get(ArtOfTest.WebAii.DesktopAutomation.FindExpressions.DesktopFindExpression)

Get<TControl>(DesktopFindExpression)

Declaration
public TControl Get<TControl>(DesktopFindExpression expr)
    where TControl : DesktopControl, new()
Parameters
DesktopFindExpression expr

Returns
TControl

Type Parameters
TControl

Get<TControl>(DesktopFindExpression, Boolean, Int32)

Declaration
public TControl Get<TControl>(DesktopFindExpression expr, bool waitOnElement, int timeout)
    where TControl : DesktopControl, new()
Parameters
DesktopFindExpression expr

System.Boolean waitOnElement

System.Int32 timeout

Returns
TControl

Type Parameters
TControl

Get<TControl>(String[])

Declaration
public TControl Get<TControl>(params string[] clauses)
    where TControl : DesktopControl, new()
Parameters
System.String[] clauses

Returns
TControl

Type Parameters
TControl

GetElement(DesktopFindExpression, Boolean, Int32)

Declaration
protected override DesktopElement GetElement(DesktopFindExpression expr, bool waitOnElement, int timeout)
Parameters
DesktopFindExpression expr

System.Boolean waitOnElement

System.Int32 timeout

Returns
DesktopElement

Overrides
ArtOfTest.WebAii.TestTemplates.ElementContainer<ArtOfTest.WebAii.DesktopAutomation.DesktopElement, ArtOfTest.WebAii.DesktopAutomation.FindExpressions.DesktopFindExpression>.GetElement(ArtOfTest.WebAii.DesktopAutomation.FindExpressions.DesktopFindExpression, System.Boolean, System.Int32)

WaitFor(Func<Boolean>, Boolean, Int32, Int32)

Declaration
public void WaitFor(Func<bool> predicate, bool stopOnException = false, int delay = 500, int timeout = 2500)
Parameters
System.Func<System.Boolean> predicate

System.Boolean stopOnException

System.Int32 delay

System.Int32 timeout

WaitForNot(Func<Boolean>, Boolean, Int32, Int32)

Declaration
public void WaitForNot(Func<bool> predicate, bool stopOnException = false, int delay = 500, int timeout = 2500)
Parameters
System.Func<System.Boolean> predicate

System.Boolean stopOnException

System.Int32 delay

System.Int32 timeout

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.