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.
GetChildNodeCount
Syntax
int GetChildNodeCount(string nodepath)
Description
Return the number of children of a 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
Integer value indicating the number of children of the specified node. A negative value indicatesfailure.