Tree Control Operations
Last updated
Last updated
Description: This keyword or action instructs Avo Assure Client to open the given element in the tree-structured Tree object.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
SelectTreeElement
<<Path1>; <Path2>;…;<>; <ColNum/Name> (optional); <ColVal>(optional); <>; <Item in Node>(optional)>
(Optional)
Text
Static Values
Dynamic Variables
Find the snippet of the keyword below:
In the above example, after the test case debug, Avo Assure Client will open Workbench >>Tree Controls >> SAP Column Tree. If an output variable is provided for execution, the status “True”/ “False” will be stored.
Description: This keyword or action instructs Avo Assure Client to fetch the text from the tree node and save the result in the output variable.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
GetTreeNodeText
<<Path1>; <Path2>;…; <>; <ColNum/Name> (optional); <ColVal>(optional); <>; <Item in Node(optional)>
{Variable}; {Status}
Text
Static Values
Dynamic Variables
Find the snippet of the keyword below:
In the above example, after the test case debug, Avo Assure Client will fetch the text present in the specified tree node path and store the result in the {gettreenode_text} variable. If an output variable is provided for execution, the status “True”/ “False” will be stored.
Description: This keyword or action instructs Avo Assure Client to fetch the number of nodes in the specified tree and save the result in the output variable.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
GetTreeNodeCount
<<Path1>; <Path2>; …; <>; <Column Data>(optional)>
{Variable};{Status}
Text
Static Values
Dynamic Variables
Find the snippet of the keyword below:
In the above example, after the test case debug, Avo Assure Client will fetch the total number of nodes present in the specified tree path and store the result in the {get_treenode_count} variable. If an output variable is provided for execution status, “True”/ “False” will be stored in it.
Description: This keyword or action instructs Avo Assure Client to select the single parent of the selected tree node and save the result in the output variable.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
SingleSelectParentOfSelected
NA
(Optional)
NA
Find the snippet of the keyword below:
In the above example, after the test case debug, Avo Assure Client will select the single parent of the selected tree node, and execution status “True”/ “False” will be stored in {singleselect} variable.
Description: This keyword or action instructs Avo Assure Client to collapse the selected tree node and save the result in the output variable.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
CollapseTree
NA
{Variable}
NA
Find the snippet of the keyword below:
In the above example, after the test case debug, Avo Assure Client will collapse the selected tree node, and execution status “True”/ “False” will be stored in {collapsetree} variable.
Description: This keyword or action instructs Avo Assure Client to fetch the column value corresponding to the selected tree node and save the result in the output variable.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
GetColValueCorrToSelectedNode
<Column number>
{Variable}; {Status}
Text
Static Values
Dynamic Variables
Find the snippet of the keyword below:
In the above example, after the test case debug, Avo Assure Client will fetch the column value in the first column of the corresponding selected tree node and store the result in {colval} variable. If an output variable is provided for execution status, “True”/ “False” will be stored in it.
Description: This keyword or action instructs Avo Assure Client to fetch the node name by specified index in the tree and save the result in the output variable.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
GetNodeNameByIndex
<Index of item>
{Variable}; {Status}
Text
Static Values
Dynamic Variables
Find the snippet of the keyword below:
In the above example, after the test case debug, Avo Assure Client will fetch the node name and store the value in the {nodename_byindex} variable. If an output variable is provided for execution status, “True”/ “False” will be stored in it.
Description: This keyword or action instructs Avo Assure Client to verify the tree path specified and save the result in the output variable.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
VerifyTreePath
<<Path1>; <Path2>;…; <>; <Column Data>(optional)>
(Optional)
Text
Static Values
Dynamic Variables
Find the snippet of the keyword below:
In the above example, after the test case debug, Avo Assure Client will check the tree path given in the input, and execution status “True”/ “False” will be stored in {Verify_TreePath} variable.