Represents a target element for a specific technology.
Namespace: ArtOfTest.Common
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The ITargetElement type exposes the following members.
Properties
Name | Description | |
---|---|---|
Depth |
Get the depth within the tree.
| |
Host |
Get the automation host.
| |
IsTestRegion |
Get whether this element is a test region or not
| |
ParsedElement |
Get the parsed element
| |
TechnologyType |
Get the technology type of this element.
|
Methods
Name | Description | |
---|---|---|
AddChildNode |
Add a child node to this element.
| |
Capture |
Return the visual representation of this element
| |
GetChildren |
Get the children of this element.
| |
GetHostParent |
Gets the ITargetElement representing the host of this element in an outer container, if one exists. For example,
this will return an IFRAME element for a page contained within an IFRAME on another page.
| |
GetParent |
Gets the parent of this element.
| |
GetRectangle |
Return the rectangle of this element
| |
GetStringPresentation |
Return a string representation of this element
| |
GetUniqueHashCode |
Returns a unique ID that identifies this target element.
| |
Match |
Match this target element against an expression.
| |
Refresh |
Ensure current state.
| |
SetClosingTag |
Set the closing tag for this element.
| |
SetDepth |
Set the depth of this element.
| |
SetParent |
Set the parent of this node.
|
See Also