Automation Guide
Action-based testing language
TestArchitect Automation Classes
Automation classes
AbtTree
The requested page is not available for selected version.
SetNodeStates
Syntax
long SetNodeStates(string nodepath, TAItemState status)
Description
Set the state of a check box icon of the specified node in a tree view 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 ( / ).
status
TAItemState value specifying the item state to set.
Allowable values are:
- CHECKED
- UNCHECKED
- DIMMED
- SELECTED
- UNSELECTED
Return Value
Return 0 if the call is successful; otherwise, -1..