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.
GetParentPath
Syntax
string GetParentPath (string nodepath)
Description
Return the node path of the parent node of a specified tree node.
Parameters
nodepath
String specifying node path.
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 ( / ).
Return Value
A string value indicating the parent node path.
Note:
The type of node path returned – that is, one composed of text or indexes – corresponds to the path type provided in parameter nodepath.