UFT Web Add-in Extensibility API Reference
getFrameElement Method
Returns the frame element that contains the current element.

Remarks

This function operates on the element represented by the _elem token. When an element is being learned, _elem represents that element. In an event handler, _elem is the root element of the control you are supporting.

Syntax

JScript 
public function getFrameElement( );

Returns

The containing frame element if found. Otherwise, null.

See Also