ControlGetFamilyElement Method

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Finds the nth parent/child of the specified element.

Namespace:  ArtOfTest.WebAii.Controls
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public static Element GetFamilyElement(
	int level,
	Element e
)

Parameters

level
Type: SystemInt32
Number of levels to move up/down. Negative values move up. Positive values move down.
e
Type: ArtOfTest.WebAii.ObjectModelElement
The element to start at.

Return Value

Type: Element
A parent/child element or null if an attempt is made to go beyond the ends of the DOM tree.
See Also

Reference