GetRawChildren Method (SLBase)

Class

SLBase class

Action

Gets the raw child element of this element. This method can be used to access elements that would otherwise not be recognized as children. Optionally one of the MSUIA control types can be specified to only return children of a certain type.

Syntax

liRawChildren = base.GetRawChildren([automationControlType])
Variable Description
liRawChildren LIST OF WINDOW.
automationControlType Optional.optionally specifies that only children with this control type should be retrieved. STRING.

Examples

In order to get all raw children of an element:
slBase.GetRawChildren()
In order to get only children of a certain control type. For a list of control types have a look at the control types provided by the MSUIA.
slBase.GetRawChildren("Text")