JavaTreeFunctions::CaptureTreeDataToFile
Copy the current contents of a tree[branch] to a file.
The search of the path to the node is expected to be a case-sensitive
exact match of each node. Use 'PartialMatchTreeDataToFile' if you
wish to specify case-insensitive substring matches for tree nodes.
By default, the files will be
stored in the active "Test" directory. If you specify a
relative path, the path will be relative to the project
directory. The directory for a full or relative path
must already exist.
Fields: [ ]=
Optional with Default Value
-
File
The name of the file used to store the tree data.
The name of the file used to store the tree data.
By default, the files will be
stored in the active "Test" directory. If you specify a
relative path, the path will be relative to the project
directory. The directory for a full or relative path
must already exist.
- [ Branch = ]
The full name of the tree branch to capture.
The full name of the tree branch to capture. If omitted, all
branches/nodes are captured.
The search of the path to the node is expected to be a case-sensitive
exact match of each node. Use 'PartialMatchTreeDataToFile' if you
wish to specify case-insensitive substring matches for tree nodes.
- [ IndentMark = ]
The character(s) to use in the output file to indent the tree nodes from the
parent tree branches.
The character(s) to use in the output file to indent the tree nodes from the
parent tree branches. If omitted, a tab character is used.
- [ FileEncoding = ]
Specify a character encoding to be used when saving data to a file.
If it is not specified, the system default file encoding will be used.
The encoding should be a valid string supported by Java; if it is not valid,
the system default file encoding will be used instead.
- [ FilterMode = ]
(Future) Specify a file filter to use to process the text before comparison.
- [ FilterOptions = ]
(Future) Specify filter options to use with the file filter.
Examples:
-
T, Browser, aTreeView, CaptureTreeDataToFile, aFilename.ext
Capture the complete nodeset of aTreeView to a file.
Data is stored in
[project]\Datapool\Test\aFilename.ext file using tab chars to indent the nodes and branches.
Because no Branch was specified, the data for the whole tree is captured.
Note the unused reserved fields for FileFilter and FilterOptions were omitted.
-
T, Browser, aJavaTree, CaptureTreeDataToFile, myDirectory\aFilename.ext, "Parent Bank->Branch Banking and Trust", "_"
Capture the data contents from 'Parent Bank->Branch Banking and Trust' to a file.
Data is stored in
[project]\myDirectory\aFilename.ext file using "_" chars to indent the nodes and branches.
Because a Branch was specified, only nodes from that branch are captured.
Note the unused reserved fields for FileFilter and FilterOptions were omitted.
-
T, Browser, aTreeView, CaptureTreeDataToFile, aFilename.ext, , , "UTF-8"
Capture the complete nodeset of aTreeView to a file.
Data is stored in
[project]\Datapool\Test\aFilename.ext file using tab chars to indent the nodes and branches.
Because no Branch was specified, the data for the whole tree is captured.
Writing file with "UTF-8" encoding.
[How To Read This Reference]
JavaTreeFunctions::ClickTextNode
Action to click a node according to its text value. Currently, this component function
is for JavaTrees and works differently than documented in TreeViewFunctions (though that
functionality may be added in the near future).
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to click.
TextValue is the case-sensitive text of the node to click.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::ClickUnverifiedTextNode
Action to blindly click a node according to its text value. Currently, this component function
is for JavaTrees and may work differently than documented in TreeViewFunctions.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive full path text of node to click.
TextValue is the case-sensitive text of the node to click.
Parent-Child relationships are separated by "->" If the tree contains
hidden root nodes then they must be provided.
Examples:
-
T, WINDOW, AJTree, ClickUnverifiedTextNode, "root->Parent"
This action blindly clicks the "Parent" node.
The hidden root node is provided as required.
-
T, WINDOW, AJTree, ClickUnverifiedTextNode, "root->Parent->Child"
This action blindly clicks the "Child" node found under "Parent".
The hidden root node is provided as required.
[How To Read This Reference]
JavaTreeFunctions::Collapse (deprecated for: CollapseTextNode)
Use CollapseTextNode instead.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to collapse
TextValue is the case-sensitive text of the node to collapse.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::CollapsePartialTextNode
Action to collapse a node according to a partial match of its text value.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-Insensitive text of node to collapse
TextValue is the case-insensitive text of the node to collapse.
Parent-Child relationships are separated by "->"
For each level, a text comparison is performed. If the node
contains the requested substring anywhere in its text, then
that node is considered a match.
Examples:
[How To Read This Reference]
JavaTreeFunctions::CollapseTextNode
Action to collapse a node according to its text value.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to collapse
TextValue is the case-sensitive text of the node to collapse.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::CollapseUnverifiedTextNode
Action to blindly collapse a node according to its text value.
Generally, no pre- or post- node checks are done. If the tree contains
hidden root nodes the user must provide these.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive full path text of node to collapse
TextValue is the case-sensitive text of the node to collapse.
Parent-Child relationships are separated by "->"
If the tree contains hidden root nodes they must be provided.
Examples:
-
T, WINDOW, AJTree, CollapseUnverifiedTextNode, "root->Parent"
This action blindly collapses the "Parent" node.
The hidden root node 'root' is provided as required.
-
T, WINDOW, AJTree, CollapseUnverifiedTextNode, "root->Parent->Child"
This action collapses the "Child" node found under "Parent".
The hidden root node 'root' is provided as required.
[How To Read This Reference]
JavaTreeFunctions::CtrlClickUnverifiedTextNode
Action to blindly CTRL-click a node according to its text value. Currently, this component function is for JavaTrees only.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to CTRL-click.
TextValue is the case-sensitive text of the node to CTRL-click.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::DoubleClickTextNode
Action to double-click a node according to its text value. Currently, this component function
is for JavaTrees and works differently than documented in TreeViewFunctions (though that
functionality may be added in the near future).
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to double-click.
TextValue is the case-sensitive text of the node to double-click.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::DoubleClickUnverifiedTextNode
Action to blindly double-click a node according to its text value. Currently, this component function
is for JavaTrees and may work differently than documented in TreeViewFunctions.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive full path text of node to double-click.
TextValue is the case-sensitive text of the node to double-click.
Parent-Child relationships are separated by "->" If the tree contains
hidden root nodes then they must be provided.
Examples:
-
T, WINDOW, AJTree, DoubleClickUnverifiedTextNode, "root->Parent"
This action blindly double-clicks the "Parent" node.
The hidden root node is provided as required.
-
T, WINDOW, AJTree, DoubleClickUnverifiedTextNode, "root->Parent->Child"
This action blindly double-clicks the "Child" node found under "Parent".
The hidden root node is provided as required.
[How To Read This Reference]
JavaTreeFunctions::Expand (deprecated for: ExpandTextNode)
Use ExpandTextNode instead.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to expand
TextValue is the case-sensitive text of the node to expand.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::ExpandPartialTextNode
Action to expand a node according to a partial match of text value.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-Insensitive text of node to match.
TextValue is the case-insensitive text of the node.
Parent-Child relationships are separated by "->".
For each level, a text comparison is performed. If the node
contains the requested substring anywhere in its text, then
that node is considered a match.
Examples:
[How To Read This Reference]
JavaTreeFunctions::ExpandTextNode
Action to expand a node according to its text value.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to expand
TextValue is the case-sensitive text of the node to expand.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::ExpandUnverifiedTextNode
Action to blindly expand a node according to its text value.
Generally, no pre- or post- node checks are done. If the tree contains
hidden root nodes the user must provide these.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive full path text of node to expand
TextValue is the case-sensitive text of the node to expand.
Parent-Child relationships are separated by "->". If the tree
contains hidden root nodes the user must provide these.
Examples:
-
T, WINDOW, AJTree, ExpandUnverifiedTextNode, "root->Parent"
This action blindly expands the "root->Parent" node.
The hidden root node 'root' is provided as required.
-
T, WINDOW, AJTree, ExpandUnverifiedTextNode, "root->Parent->Child"
This action blindly expands the "Child" node found under "Parent".
The hidden root node 'root' is provided as required.
[How To Read This Reference]
JavaTreeFunctions::MakeSelection (deprecated for: SelectTextNode)
Use SelectTextNode instead.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to select
TextValue is the case-sensitive text of the node to select.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::PartialMatchTreeDataToFile
Copy the current contents of a tree[branch] to a file according to a partial match of its text value.
The search of the path to the node is a case-insensitive
substring match of each node. Use 'CaptureTreeDataToFile' if you
wish to specify case-sensitive exact matches for tree nodes.
By default, the files will be
stored in the active "Test" directory. If you specify a
relative path, the path will be relative to the project
directory. The directory for a full or relative path
must already exist.
Fields: [ ]=
Optional with Default Value
-
File
The name of the file used to store the tree data.
The name of the file used to store the tree data.
By default, the files will be
stored in the active "Test" directory. If you specify a
relative path, the path will be relative to the project
directory. The directory for a full or relative path
must already exist.
- [ Branch = ]
The full name of the tree branch to capture.
The full name of the tree branch to capture. If omitted,
all branches/nodes are captured.
The search of the path to the node is a case-insensitive
substring match of each node. Use 'CaptureTreeDataToFile' if you
wish to specify case-sensitive exact matches for tree nodes.
- [ IndentMark = ]
The character(s) to use in the output file to indent the tree nodes from the
parent tree branches.
The character(s) to use in the output file to indent the tree nodes from the
parent tree branches. If omitted, a tab character is used.
- [ FilterMode = ]
(Future) Specify a file filter to use to process the text before comparison.
- [ FilterOptions = ]
(Future) Specify filter options to use with the file filter.
Examples:
-
T, Browser, aTreeView, PartialMatchTreeDataToFile, aFilename.ext
Capture the complete nodeset of aTreeView to a file.
Data is stored in
[project]\Datapool\Test\aFilename.ext file using tab chars to indent the nodes and branches.
Because no Branch was specified, the data for the whole tree
is captured.
Note the unused reserved fields for FileFilter and FilterOptions were omitted.
-
T, Browser, aJavaTree, PartialMatchTreeDataToFile, myDirectory\aFilename.ext, "parent->branch", "_"
Capture the data contents from the first child node of 'parent' containing 'branch' to a file.
Thus, this could be a match for 'Parent Bank->Branch Banking and Trust'
Data is stored in
[project]\myDirectory\aFilename.ext file using "_" chars to indent the nodes and branches.
Because a Branch was specified, only nodes from that branch are captured.
Note the unused reserved fields for FileFilter and FilterOptions were omitted.
[How To Read This Reference]
JavaTreeFunctions::RightClickTextNode
Action to right-click a node according to its text value. Currently, this component function
is for JavaTrees and works differently than documented in TreeViewFunctions (though that
functionality may be added in the near future).
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to right-click.
TextValue is the case-sensitive text of the node to right-click.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::RightClickUnverifiedTextNode
Action to blindly right-click a node according to its text value. Currently, this component function
is for JavaTrees and may work differently than documented in TreeViewFunctions.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive full path text of node to right-click.
TextValue is the case-sensitive text of the node to right-click.
Parent-Child relationships are separated by "->" If the tree contains
hidden root nodes then they must be provided.
Examples:
-
T, WINDOW, AJTree, RightClickUnverifiedTextNode, "root->Parent"
This action blindly right-clicks the "Parent" node.
The hidden root node is provided as required.
-
T, WINDOW, AJTree, RightClickUnverifiedTextNode, "root->Parent->Child"
This action blindly right-clicks the "Child" node found under "Parent".
The hidden root node is provided as required.
[How To Read This Reference]
JavaTreeFunctions::SelectAnotherPartialTextNode
Action to select a node according to a partial match of its text value, in addition to any nodes already selected.
Performs selection as if CTRL key were held down during selection.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-Insensitive text of node to select.
TextValue is the case-insensitive text of the node to select.
Parent-Child relationships are separated by "->"
For each level, a text comparison is performed. If the node
contains the requested substring anywhere in its text, then
that node is considered a match.
Examples:
[How To Read This Reference]
JavaTreeFunctions::SelectAnotherTextNode
Action to select a node according to its text value, in addition to any nodes already selected.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to select.
TextValue is the case-sensitive text of the node to select.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::SelectAnotherUnverifiedTextNode
Action to blindly select a node according to its text value, in addition to any nodes already selected.
Generally, no pre- or post- node checks are done. If the tree contains
hidden root nodes the user must provide these.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive full path text of node to select.
TextValue is the case-sensitive text of the node to select.
Parent-Child relationships are separated by "->" If the tree contains
hidden root nodes they must be provided.
Examples:
-
T, WINDOW, AJTree, SelectAnotherUnverifiedTextNode, "root->Parent"
This action blindly selects the "Parent" node.
The hidden root node is provided as required.
-
T, WINDOW, AJTree, SelectAnotherUnverifiedTextNode, "root->Parent->Child"
This action blindly selects the "Child" node found under "Parent".
The hidden root node is provided as required.
[How To Read This Reference]
JavaTreeFunctions::SelectPartialTextNode
Action to select a node according to a partial match of its text value.
Performs selection as if CTRL key were held down during selection.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-Insensitive text of node to select.
TextValue is the case-insensitive text of the node to select.
Parent-Child relationships are separated by "->"
For each level, a text comparison is performed. If the node
contains the requested substring anywhere in its text, then
that node is considered a match.
Examples:
[How To Read This Reference]
JavaTreeFunctions::SelectTextNode
Action to select a node according to its text value.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to select.
TextValue is the case-sensitive text of the node to select.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::SelectUnverifiedTextNode
Action to blindly select a node according to its text value.
Generally, no pre- or post- node checks are done. If the tree contains
hidden root nodes the user must provide these.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive full path text of node to select.
TextValue is the case-sensitive text of the node to select.
Parent-Child relationships are separated by "->"
If the tree contains hidden root nodes they must be provided.
Examples:
-
T, WINDOW, AJTree, SelectUnverifiedTextNode, "root->Parent"
This action blindly selects the "Parent" node.
The hidden root node is provided as required.
-
T, WINDOW, AJTree, SelectUnverifiedTextNode, "root->Parent->Child"
This action blindly selects the "Child" node found under "Parent".
The hidden root node is provided as required.
[How To Read This Reference]
JavaTreeFunctions::SetTreeContainsNode
Sets a user-defined variable with the result of whether a tree contains the provided node.
The search of the path to the node is expected to be a case-sensitive
exact match of each node. Use 'SetTreeContainsPartialMatch' if you
wish to specify case-insensitive substring matches for tree nodes.
Fields: [ ]=
Optional with Default Value
-
Node
The name of the node to verify.
The search of the path to the node is expected to be a case-sensitive
exact match of each node. Use 'SetTreeContainsPartialMatch' if you
wish to specify case-insensitive substring matches for tree nodes.
-
ResultVar
The name of the variable which gets assigned the result.
The value of 'TRUE' indicates the node was found in the tree, and 'FALSE'
indicates that the node was not found in the tree.
Examples:
[How To Read This Reference]
JavaTreeFunctions::SetTreeContainsPartialMatch
Sets a user-defined variable with the result of whether a tree contains the provided node
according to a partial match of the node's text value.
The search of the path to the node is expected to be a case-insensitive
substring match of each node. Use 'SetTreeContainsNode' if you
wish to specify case-sensitive substring matches for tree nodes.
Fields: [ ]=
Optional with Default Value
-
Node
The name of the node to verify.
The search of the path to the node is expected to be a case-insensitive
substring match of each node. Use 'SetTreeContainsNode' if you
wish to specify case-sensitive substring matches for tree nodes.
-
ResultVar
The name of the variable which gets assigned the result.
The value of 'TRUE' indicates the node was found in the tree, and 'FALSE'
indicates that the node was not found in the tree.
Examples:
-
T, Browser, aTreeView, VerifyTreeContainsNode, "parent->branch", isFound
Variable isFound will be set to 'TRUE' if a child node of 'parent' containing
'branch' is found in aTreeView. If not found, isFound will be set to 'FALSE'.
Thus, this could be a match for 'Parent Bank->Branch Banking and Trust'.
[How To Read This Reference]
JavaTreeFunctions::ShiftClickUnverifiedTextNode
Action to blindly SHIFT-click a node according to its text value. Currently, this component function is for JavaTrees only.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to SHIFT-click.
TextValue is the case-sensitive text of the node to SHIFT-click.
Parent-Child relationships are separated by "->"
Examples:
[How To Read This Reference]
JavaTreeFunctions::VerifyTreeContainsNode
Verify that a tree contains the provided node.
The search of the path to the node is expected to be a case-sensitive
exact match of each node. Use 'VerifyTreeContainsPartialMatch' if you
wish to specify case-insensitive substring matches for tree nodes.
Fields: [ ]=
Optional with Default Value
-
Node
The name of the node to verify.
The search of the path to the node is expected to be a case-sensitive
exact match of each node. Use 'VerifyTreeContainsPartialMatch' if you
wish to specify case-insensitive substring matches for tree nodes.
Examples:
[How To Read This Reference]
JavaTreeFunctions::VerifyTreeContainsPartialMatch
Verify that a tree contains the provided node according to a partial match of the node's text value.
The search of the path to the node is expected to be a case-insensitive
substring match of each node. Use 'VerifyTreeContainsNode' if you
wish to specify case-sensitive substring matches for tree nodes.
Fields: [ ]=
Optional with Default Value
-
Node
The name of the node to verify.
The search of the path to the node is expected to be a case-insensitive
substring match of each node. Use 'VerifyTreeContainsNode' if you
wish to specify case-sensitive substring matches for tree nodes.
Examples:
-
T, Browser, aTreeView, VerifyTreeContainsNode, "parent->branch"
Verify that a child node of 'parent' containing 'branch' is found in aTreeView.
Thus, this could be a match for 'Parent Bank->Branch Banking and Trust'.
[How To Read This Reference]