public class JavaTreeFunctions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CAPTURETREEDATATOFILE_KEYWORD
"CaptureTreeDataToFile"
|
static java.lang.String |
CLICKTEXTNODE_KEYWORD
"ClickTextNode"
|
static java.lang.String |
CLICKUNVERIFIEDTEXTNODE_KEYWORD
"ClickUnverifiedTextNode"
|
static java.lang.String |
COLLAPSE_KEYWORD
"Collapse"
|
static java.lang.String |
COLLAPSEPARTIALTEXTNODE_KEYWORD
"CollapsePartialTextNode"
|
static java.lang.String |
COLLAPSETEXTNODE_KEYWORD
"CollapseTextNode"
|
static java.lang.String |
COLLAPSEUNVERIFIEDTEXTNODE_KEYWORD
"CollapseUnverifiedTextNode"
|
static java.lang.String |
CTRLCLICKUNVERIFIEDTEXTNODE_KEYWORD
"CtrlClickUnverifiedTextNode"
|
static java.lang.String |
DOUBLECLICKTEXTNODE_KEYWORD
"DoubleClickTextNode"
|
static java.lang.String |
DOUBLECLICKUNVERIFIEDTEXTNODE_KEYWORD
"DoubleClickUnverifiedTextNode"
|
static java.lang.String |
EXPAND_KEYWORD
"Expand"
|
static java.lang.String |
EXPANDPARTIALTEXTNODE_KEYWORD
"ExpandPartialTextNode"
|
static java.lang.String |
EXPANDTEXTNODE_KEYWORD
"ExpandTextNode"
|
static java.lang.String |
EXPANDUNVERIFIEDTEXTNODE_KEYWORD
"ExpandUnverifiedTextNode"
|
static java.lang.String |
MAKESELECTION_KEYWORD
"MakeSelection"
|
static java.lang.String |
PARTIALMATCHTREEDATATOFILE_KEYWORD
"PartialMatchTreeDataToFile"
|
static java.lang.String |
RIGHTCLICKTEXTNODE_KEYWORD
"RightClickTextNode"
|
static java.lang.String |
RIGHTCLICKUNVERIFIEDTEXTNODE_KEYWORD
"RightClickUnverifiedTextNode"
|
static java.lang.String |
SELECTANOTHERPARTIALTEXTNODE_KEYWORD
"SelectAnotherPartialTextNode"
|
static java.lang.String |
SELECTANOTHERTEXTNODE_KEYWORD
"SelectAnotherTextNode"
|
static java.lang.String |
SELECTANOTHERUNVERIFIEDTEXTNODE_KEYWORD
"SelectAnotherUnverifiedTextNode"
|
static java.lang.String |
SELECTPARTIALTEXTNODE_KEYWORD
"SelectPartialTextNode"
|
static java.lang.String |
SELECTTEXTNODE_KEYWORD
"SelectTextNode"
|
static java.lang.String |
SELECTUNVERIFIEDTEXTNODE_KEYWORD
"SelectUnverifiedTextNode"
|
static java.lang.String |
SETTREECONTAINSNODE_KEYWORD
"SetTreeContainsNode"
|
static java.lang.String |
SETTREECONTAINSPARTIALMATCH_KEYWORD
"SetTreeContainsPartialMatch"
|
static java.lang.String |
SHIFTCLICKUNVERIFIEDTEXTNODE_KEYWORD
"ShiftClickUnverifiedTextNode"
|
static java.lang.String |
VERIFYTREECONTAINSNODE_KEYWORD
"VerifyTreeContainsNode"
|
static java.lang.String |
VERIFYTREECONTAINSPARTIALMATCH_KEYWORD
"VerifyTreeContainsPartialMatch"
|
Modifier and Type | Method and Description |
---|---|
static ComponentFunction |
captureTreeDataToFile(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Copy the current contents of a tree[branch] to a file.
|
static ComponentFunction |
captureTreeDataToFile(java.lang.String winname,
java.lang.String compname,
java.lang.String file,
java.lang.String branch,
java.lang.String indentMark,
java.lang.String fileEncoding,
java.lang.String filterMode,
java.lang.String filterOptions)
Copy the current contents of a tree[branch] to a file.
|
static ComponentFunction |
clickTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to click a node according to its text value.
|
static ComponentFunction |
clickUnverifiedTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to blindly click a node according to its text value.
|
static ComponentFunction |
collapse(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Use CollapseTextNode instead.
|
static ComponentFunction |
collapsePartialTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to collapse a node according to a partial match of its text value.
|
static ComponentFunction |
collapseTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to collapse a node according to its text value.
|
static ComponentFunction |
collapseUnverifiedTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to blindly collapse a node according to its text value.
|
static ComponentFunction |
ctrlClickUnverifiedTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to blindly CTRL-click a node according to its text value.
|
static ComponentFunction |
doubleClickTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to double-click a node according to its text value.
|
static ComponentFunction |
doubleClickUnverifiedTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to blindly double-click a node according to its text value.
|
static ComponentFunction |
expand(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Use ExpandTextNode instead.
|
static ComponentFunction |
expandPartialTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to expand a node according to a partial match of text value.
|
static ComponentFunction |
expandTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to expand a node according to its text value.
|
static ComponentFunction |
expandUnverifiedTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to blindly expand a node according to its text value.
|
static JavaTreeFunctions |
getInstance()
public Singleton to access class static methods via instance
|
static ComponentFunction |
makeSelection(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Use SelectTextNode instead.
|
static ComponentFunction |
partialMatchTreeDataToFile(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Copy the current contents of a tree[branch] to a file according to a partial match of its text value.
|
static ComponentFunction |
partialMatchTreeDataToFile(java.lang.String winname,
java.lang.String compname,
java.lang.String file,
java.lang.String branch,
java.lang.String indentMark,
java.lang.String filterMode,
java.lang.String filterOptions)
Copy the current contents of a tree[branch] to a file according to a partial match of its text value.
|
static ComponentFunction |
rightClickTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to right-click a node according to its text value.
|
static ComponentFunction |
rightClickUnverifiedTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to blindly right-click a node according to its text value.
|
static ComponentFunction |
selectAnotherPartialTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to select a node according to a partial match of its text value, in addition to any nodes already selected.
|
static ComponentFunction |
selectAnotherTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to select a node according to its text value, in addition to any nodes already selected.
|
static ComponentFunction |
selectAnotherUnverifiedTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to blindly select a node according to its text value, in addition to any nodes already selected.
|
static ComponentFunction |
selectPartialTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to select a node according to a partial match of its text value.
|
static ComponentFunction |
selectTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to select a node according to its text value.
|
static ComponentFunction |
selectUnverifiedTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to blindly select a node according to its text value.
|
static ComponentFunction |
setTreeContainsNode(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Sets a user-defined variable with the result of whether a tree contains the provided node.
|
static ComponentFunction |
setTreeContainsNode(java.lang.String winname,
java.lang.String compname,
java.lang.String node,
java.lang.String resultVar)
Sets a user-defined variable with the result of whether a tree contains the provided node.
|
static ComponentFunction |
setTreeContainsPartialMatch(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
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.
|
static ComponentFunction |
setTreeContainsPartialMatch(java.lang.String winname,
java.lang.String compname,
java.lang.String node,
java.lang.String resultVar)
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.
|
static ComponentFunction |
shiftClickUnverifiedTextNode(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Action to blindly SHIFT-click a node according to its text value.
|
static ComponentFunction |
verifyTreeContainsNode(java.lang.String winname,
java.lang.String compname,
java.lang.String node)
Verify that a tree contains the provided node.
|
static ComponentFunction |
verifyTreeContainsPartialMatch(java.lang.String winname,
java.lang.String compname,
java.lang.String node)
Verify that a tree contains the provided node according to a partial match of the node's text value.
|
public static final java.lang.String CAPTURETREEDATATOFILE_KEYWORD
public static final java.lang.String CLICKTEXTNODE_KEYWORD
public static final java.lang.String CLICKUNVERIFIEDTEXTNODE_KEYWORD
public static final java.lang.String COLLAPSE_KEYWORD
public static final java.lang.String COLLAPSEPARTIALTEXTNODE_KEYWORD
public static final java.lang.String COLLAPSETEXTNODE_KEYWORD
public static final java.lang.String COLLAPSEUNVERIFIEDTEXTNODE_KEYWORD
public static final java.lang.String CTRLCLICKUNVERIFIEDTEXTNODE_KEYWORD
public static final java.lang.String DOUBLECLICKTEXTNODE_KEYWORD
public static final java.lang.String DOUBLECLICKUNVERIFIEDTEXTNODE_KEYWORD
public static final java.lang.String EXPAND_KEYWORD
public static final java.lang.String EXPANDPARTIALTEXTNODE_KEYWORD
public static final java.lang.String EXPANDTEXTNODE_KEYWORD
public static final java.lang.String EXPANDUNVERIFIEDTEXTNODE_KEYWORD
public static final java.lang.String MAKESELECTION_KEYWORD
public static final java.lang.String PARTIALMATCHTREEDATATOFILE_KEYWORD
public static final java.lang.String RIGHTCLICKTEXTNODE_KEYWORD
public static final java.lang.String RIGHTCLICKUNVERIFIEDTEXTNODE_KEYWORD
public static final java.lang.String SELECTANOTHERPARTIALTEXTNODE_KEYWORD
public static final java.lang.String SELECTANOTHERTEXTNODE_KEYWORD
public static final java.lang.String SELECTANOTHERUNVERIFIEDTEXTNODE_KEYWORD
public static final java.lang.String SELECTPARTIALTEXTNODE_KEYWORD
public static final java.lang.String SELECTTEXTNODE_KEYWORD
public static final java.lang.String SELECTUNVERIFIEDTEXTNODE_KEYWORD
public static final java.lang.String SETTREECONTAINSNODE_KEYWORD
public static final java.lang.String SETTREECONTAINSPARTIALMATCH_KEYWORD
public static final java.lang.String SHIFTCLICKUNVERIFIEDTEXTNODE_KEYWORD
public static final java.lang.String VERIFYTREECONTAINSNODE_KEYWORD
public static final java.lang.String VERIFYTREECONTAINSPARTIALMATCH_KEYWORD
public static JavaTreeFunctions getInstance()
public static ComponentFunction captureTreeDataToFile(java.lang.String winname, java.lang.String compname, java.lang.String file, java.lang.String branch, java.lang.String indentMark, java.lang.String fileEncoding, java.lang.String filterMode, java.lang.String filterOptions)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.file
- Optional:NO
The name of the file used to store the tree data.branch
- Optional:YES
The full name of the tree branch to capture.indentMark
- Optional:YES
The character(s) to use in the output file to indent the tree nodes from the
parent tree branches.fileEncoding
- Optional:YES DefaultVal:
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
- Optional:YES DefaultVal:
(Future) Specify a file filter to use to process the text before comparison.filterOptions
- Optional:YES DefaultVal:
(Future) Specify filter options to use with the file filter.public static ComponentFunction captureTreeDataToFile(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction clickTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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).Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to click.public static ComponentFunction clickUnverifiedTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive full path text of node to click.public static ComponentFunction collapse(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Use CollapseTextNode instead.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to collapsepublic static ComponentFunction collapsePartialTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Action to collapse a node according to a partial match of its text value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-Insensitive text of node to collapsepublic static ComponentFunction collapseTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Action to collapse a node according to its text value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to collapsepublic static ComponentFunction collapseUnverifiedTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive full path text of node to collapsepublic static ComponentFunction ctrlClickUnverifiedTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Action to blindly CTRL-click a node according to its text value. Currently, this component function is for JavaTrees only.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to CTRL-click.public static ComponentFunction doubleClickTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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).Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to double-click.public static ComponentFunction doubleClickUnverifiedTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive full path text of node to double-click.public static ComponentFunction expand(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Use ExpandTextNode instead.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to expandpublic static ComponentFunction expandPartialTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Action to expand a node according to a partial match of text value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-Insensitive text of node to match.public static ComponentFunction expandTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Action to expand a node according to its text value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to expandpublic static ComponentFunction expandUnverifiedTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive full path text of node to expandpublic static ComponentFunction makeSelection(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Use SelectTextNode instead.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to selectpublic static ComponentFunction partialMatchTreeDataToFile(java.lang.String winname, java.lang.String compname, java.lang.String file, java.lang.String branch, java.lang.String indentMark, java.lang.String filterMode, java.lang.String filterOptions)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.file
- Optional:NO
The name of the file used to store the tree data.branch
- Optional:YES
The full name of the tree branch to capture.indentMark
- Optional:YES
The character(s) to use in the output file to indent the tree nodes from the
parent tree branches.filterMode
- Optional:YES DefaultVal:
(Future) Specify a file filter to use to process the text before comparison.filterOptions
- Optional:YES DefaultVal:
(Future) Specify filter options to use with the file filter.public static ComponentFunction partialMatchTreeDataToFile(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction rightClickTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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).Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to right-click.public static ComponentFunction rightClickUnverifiedTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive full path text of node to right-click.public static ComponentFunction selectAnotherPartialTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-Insensitive text of node to select.public static ComponentFunction selectAnotherTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Action to select a node according to its text value, in addition to any nodes already selected.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to select.public static ComponentFunction selectAnotherUnverifiedTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive full path text of node to select.public static ComponentFunction selectPartialTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-Insensitive text of node to select.public static ComponentFunction selectTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Action to select a node according to its text value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to select.public static ComponentFunction selectUnverifiedTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive full path text of node to select.public static ComponentFunction setTreeContainsNode(java.lang.String winname, java.lang.String compname, java.lang.String node, java.lang.String resultVar)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.node
- Optional:NO
The name of the node to verify.resultVar
- Optional:NO
The name of the variable which gets assigned the result.public static ComponentFunction setTreeContainsNode(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction setTreeContainsPartialMatch(java.lang.String winname, java.lang.String compname, java.lang.String node, java.lang.String resultVar)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.node
- Optional:NO
The name of the node to verify.resultVar
- Optional:NO
The name of the variable which gets assigned the result.public static ComponentFunction setTreeContainsPartialMatch(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction shiftClickUnverifiedTextNode(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Action to blindly SHIFT-click a node according to its text value. Currently, this component function is for JavaTrees only.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to SHIFT-click.public static ComponentFunction verifyTreeContainsNode(java.lang.String winname, java.lang.String compname, java.lang.String node)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.node
- Optional:NO
The name of the node to verify.public static ComponentFunction verifyTreeContainsPartialMatch(java.lang.String winname, java.lang.String compname, java.lang.String node)
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.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.node
- Optional:NO
The name of the node to verify.Copyright © SAS Institute. All Rights Reserved.