Automation Guide
Action-based testing language
TestArchitect Automation Classes
Automation classes
AbtTree ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAAXklEQVRIiWNgGAWjAAoYoZhmhk9kYGCYQStLHBgYGP4xMDD8h1pEE0vSkSyhmU9GqCVMtHABJYCmQTR0DXdgoCCjMROh5iEDA4MgAwPDRQYGhlyoRVQHNC3sRsEQBwD2mR7t73r7NQAAAABJRU5ErkJggg==)
The requested page is not available for selected version.
GetNodeRect
Syntax
long GetNodeRect(string nodepath, TARect rect)
Description
Retrieve the bounding rectangle of a specified node in the tree control.
Parameters
nodepath
String specifying the path to the node.
The node path may be specified as one of the following:
- A string containing all node texts separated by forward slashes ( / ).
- A string containing all node indexes separated by forward slashes ( / ).
rect
Returned TARect object specifying the bounding rectangle of the node.
Return Value
Return 0 if the call is successful; otherwise, -1..