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

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.