Tree Control Operations

Keyword: SELECTTREEELEMENT

Description: This keyword or action instructs ICE 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, ICE will open Workbench >>Tree Controls >> SAP Column Tree. If output variable is provided for execution status “True”/ “False” will be stored in it.

Keyword: GETTREENODETEXT

Description: This keyword or action instructs ICE 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, ICE will fetch the text present in the specified tree node path and stores the result in {gettreenode_text} variable. If output variable is provided for execution status “True”/ “False” will be stored in it.

Keyword: GETTREENODECOUNT

Description: This keyword or action instructs ICE to fetch the number of nodes present 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, ICE will fetch the total number of nodes present in the specified tree path and stores the result in {get_treenode_count} variable. If output variable is provided for execution status “True”/ “False” will be stored in it.

Keyword: SINGLESELECTPARENTOFSELECTED

Description: This keyword or action instructs ICE to select the single parent of 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, ICE will select the single parent of selected tree node and execution status “True”/ “False” will be stored in {singleselect} variable.

Keyword: COLLAPSETREE

Description: This keyword or action instructs ICE 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, ICE will collapse the selected tree node and execution status “True”/ “False” will be stored in {collapsetree} variable

Keyword: GETCOLVALUECORRTOSELECTEDNODE

Description: This keyword or action instructs ICE 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, ICE will fetch the column value present in the first column of the corresponding selected tree node and store the result in {colval} variable. If output variable is provided for execution status “True”/ “False” will be stored in it.

Keyword: GETNODENAMEBYINDEX

Description: This keyword or action instructs ICE 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, ICE will fetch the node name and store the value in {nodename_byindex} variable. If output variable is provided for execution status “True”/ “False” will be stored in it.

Keyword: VERIFYTREEPATH

Description: This keyword or action instructs ICE 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, ICE will check the tree path given in the input and execution status “True”/ “False” will be stored in {Verify_TreePath} variable.

Last updated