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

Interface ITargetElement

Namespace: ArtOfTest.Common
Assembly: ArtOfTest.WebAii.dll

Syntax

public interface ITargetElement

Properties

Depth

Declaration
int Depth { get; }
Property Value
System.Int32

Host

Declaration
IAutomationHost Host { get; }
Property Value
IAutomationHost

IsTestRegion

Declaration
bool IsTestRegion { get; }
Property Value
System.Boolean

ParsedElement

Declaration
ParsedElement ParsedElement { get; }
Property Value
ParsedElement

TechnologyType

Declaration
TechnologyType TechnologyType { get; }
Property Value
TechnologyType

Methods

AddChildNode(ITargetElement)

Declaration
void AddChildNode(ITargetElement child)
Parameters
ITargetElement child

Capture()

Declaration
Bitmap Capture()
Returns
System.Drawing.Bitmap

CaptureImage()

Declaration
ElementImage CaptureImage()
Returns
ElementImage

GetChildren()

Declaration
ITargetElement[] GetChildren()
Returns
ITargetElement[]

GetHostParent()

Declaration
ITargetElement GetHostParent()
Returns
ITargetElement

GetParent()

Declaration
ITargetElement GetParent()
Returns
ITargetElement

GetRectangle()

Declaration
Rectangle GetRectangle()
Returns
System.Drawing.Rectangle

GetStringPresentation()

Declaration
string GetStringPresentation()
Returns
System.String

GetUniqueHashCode()

Declaration
int GetUniqueHashCode()
Returns
System.Int32

Match(IFindExpression)

Declaration
bool Match(IFindExpression findExpr)
Parameters
IFindExpression findExpr

Returns
System.Boolean

Refresh()

Declaration
void Refresh()

SetClosingTag(ITargetElement)

Declaration
void SetClosingTag(ITargetElement closingElement)
Parameters
ITargetElement closingElement

SetDepth(Int32)

Declaration
void SetDepth(int depth)
Parameters
System.Int32 depth

SetParent(ITargetElement)

Declaration
void SetParent(ITargetElement parent)
Parameters
ITargetElement parent

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.