public class JavaTree extends GenericObject
Modifier | Constructor and Description |
---|---|
protected |
JavaTree(java.lang.String compname) |
|
JavaTree(java.lang.String winname,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
|
JavaTree(Window window,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
Modifier and Type | Method and Description |
---|---|
void |
captureTreeDataToFile(StepTestTable table,
java.lang.String[] parameters)
Copy the current contents of a tree[branch] to a file.
|
void |
captureTreeDataToFile(StepTestTable table,
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.
|
ComponentFunction |
captureTreeDataToFile(java.lang.String[] parameters)
Copy the current contents of a tree[branch] to a file.
|
ComponentFunction |
captureTreeDataToFile(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.
|
void |
clickTextNode(StepTestTable table,
java.lang.String textValue)
Action to click a node according to its text value.
|
ComponentFunction |
clickTextNode(java.lang.String textValue)
Action to click a node according to its text value.
|
void |
clickUnverifiedTextNode(StepTestTable table,
java.lang.String textValue)
Action to blindly click a node according to its text value.
|
ComponentFunction |
clickUnverifiedTextNode(java.lang.String textValue)
Action to blindly click a node according to its text value.
|
void |
collapse(StepTestTable table,
java.lang.String textValue)
Use CollapseTextNode instead.
|
ComponentFunction |
collapse(java.lang.String textValue)
Use CollapseTextNode instead.
|
void |
collapsePartialTextNode(StepTestTable table,
java.lang.String textValue)
Action to collapse a node according to a partial match of its text value.
|
ComponentFunction |
collapsePartialTextNode(java.lang.String textValue)
Action to collapse a node according to a partial match of its text value.
|
void |
collapseTextNode(StepTestTable table,
java.lang.String textValue)
Action to collapse a node according to its text value.
|
ComponentFunction |
collapseTextNode(java.lang.String textValue)
Action to collapse a node according to its text value.
|
void |
collapseUnverifiedTextNode(StepTestTable table,
java.lang.String textValue)
Action to blindly collapse a node according to its text value.
|
ComponentFunction |
collapseUnverifiedTextNode(java.lang.String textValue)
Action to blindly collapse a node according to its text value.
|
void |
ctrlClickUnverifiedTextNode(StepTestTable table,
java.lang.String textValue)
Action to blindly CTRL-click a node according to its text value.
|
ComponentFunction |
ctrlClickUnverifiedTextNode(java.lang.String textValue)
Action to blindly CTRL-click a node according to its text value.
|
void |
doubleClickTextNode(StepTestTable table,
java.lang.String textValue)
Action to double-click a node according to its text value.
|
ComponentFunction |
doubleClickTextNode(java.lang.String textValue)
Action to double-click a node according to its text value.
|
void |
doubleClickUnverifiedTextNode(StepTestTable table,
java.lang.String textValue)
Action to blindly double-click a node according to its text value.
|
ComponentFunction |
doubleClickUnverifiedTextNode(java.lang.String textValue)
Action to blindly double-click a node according to its text value.
|
void |
expand(StepTestTable table,
java.lang.String textValue)
Use ExpandTextNode instead.
|
ComponentFunction |
expand(java.lang.String textValue)
Use ExpandTextNode instead.
|
void |
expandPartialTextNode(StepTestTable table,
java.lang.String textValue)
Action to expand a node according to a partial match of text value.
|
ComponentFunction |
expandPartialTextNode(java.lang.String textValue)
Action to expand a node according to a partial match of text value.
|
void |
expandTextNode(StepTestTable table,
java.lang.String textValue)
Action to expand a node according to its text value.
|
ComponentFunction |
expandTextNode(java.lang.String textValue)
Action to expand a node according to its text value.
|
void |
expandUnverifiedTextNode(StepTestTable table,
java.lang.String textValue)
Action to blindly expand a node according to its text value.
|
ComponentFunction |
expandUnverifiedTextNode(java.lang.String textValue)
Action to blindly expand a node according to its text value.
|
void |
makeSelection(StepTestTable table,
java.lang.String textValue)
Use SelectTextNode instead.
|
ComponentFunction |
makeSelection(java.lang.String textValue)
Use SelectTextNode instead.
|
void |
partialMatchTreeDataToFile(StepTestTable table,
java.lang.String[] parameters)
Copy the current contents of a tree[branch] to a file according to a partial match of its text value.
|
void |
partialMatchTreeDataToFile(StepTestTable table,
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.
|
ComponentFunction |
partialMatchTreeDataToFile(java.lang.String[] parameters)
Copy the current contents of a tree[branch] to a file according to a partial match of its text value.
|
ComponentFunction |
partialMatchTreeDataToFile(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.
|
void |
rightClickTextNode(StepTestTable table,
java.lang.String textValue)
Action to right-click a node according to its text value.
|
ComponentFunction |
rightClickTextNode(java.lang.String textValue)
Action to right-click a node according to its text value.
|
void |
rightClickUnverifiedTextNode(StepTestTable table,
java.lang.String textValue)
Action to blindly right-click a node according to its text value.
|
ComponentFunction |
rightClickUnverifiedTextNode(java.lang.String textValue)
Action to blindly right-click a node according to its text value.
|
void |
selectAnotherPartialTextNode(StepTestTable table,
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.
|
ComponentFunction |
selectAnotherPartialTextNode(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.
|
void |
selectAnotherTextNode(StepTestTable table,
java.lang.String textValue)
Action to select a node according to its text value, in addition to any nodes already selected.
|
ComponentFunction |
selectAnotherTextNode(java.lang.String textValue)
Action to select a node according to its text value, in addition to any nodes already selected.
|
void |
selectAnotherUnverifiedTextNode(StepTestTable table,
java.lang.String textValue)
Action to blindly select a node according to its text value, in addition to any nodes already selected.
|
ComponentFunction |
selectAnotherUnverifiedTextNode(java.lang.String textValue)
Action to blindly select a node according to its text value, in addition to any nodes already selected.
|
void |
selectPartialTextNode(StepTestTable table,
java.lang.String textValue)
Action to select a node according to a partial match of its text value.
|
ComponentFunction |
selectPartialTextNode(java.lang.String textValue)
Action to select a node according to a partial match of its text value.
|
void |
selectTextNode(StepTestTable table,
java.lang.String textValue)
Action to select a node according to its text value.
|
ComponentFunction |
selectTextNode(java.lang.String textValue)
Action to select a node according to its text value.
|
void |
selectUnverifiedTextNode(StepTestTable table,
java.lang.String textValue)
Action to blindly select a node according to its text value.
|
ComponentFunction |
selectUnverifiedTextNode(java.lang.String textValue)
Action to blindly select a node according to its text value.
|
void |
setTreeContainsNode(StepTestTable table,
java.lang.String[] parameters)
Sets a user-defined variable with the result of whether a tree contains the provided node.
|
void |
setTreeContainsNode(StepTestTable table,
java.lang.String node,
java.lang.String resultVar)
Sets a user-defined variable with the result of whether a tree contains the provided node.
|
ComponentFunction |
setTreeContainsNode(java.lang.String[] parameters)
Sets a user-defined variable with the result of whether a tree contains the provided node.
|
ComponentFunction |
setTreeContainsNode(java.lang.String node,
java.lang.String resultVar)
Sets a user-defined variable with the result of whether a tree contains the provided node.
|
void |
setTreeContainsPartialMatch(StepTestTable table,
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.
|
void |
setTreeContainsPartialMatch(StepTestTable table,
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.
|
ComponentFunction |
setTreeContainsPartialMatch(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.
|
ComponentFunction |
setTreeContainsPartialMatch(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.
|
void |
shiftClickUnverifiedTextNode(StepTestTable table,
java.lang.String textValue)
Action to blindly SHIFT-click a node according to its text value.
|
ComponentFunction |
shiftClickUnverifiedTextNode(java.lang.String textValue)
Action to blindly SHIFT-click a node according to its text value.
|
void |
verifyTreeContainsNode(StepTestTable table,
java.lang.String node)
Verify that a tree contains the provided node.
|
ComponentFunction |
verifyTreeContainsNode(java.lang.String node)
Verify that a tree contains the provided node.
|
void |
verifyTreeContainsPartialMatch(StepTestTable table,
java.lang.String node)
Verify that a tree contains the provided node according to a partial match of the node's text value.
|
ComponentFunction |
verifyTreeContainsPartialMatch(java.lang.String node)
Verify that a tree contains the provided node according to a partial match of the node's text value.
|
altLeftDrag, altLeftDrag, click, click, click, click, clickScreenImage, clickScreenImage, clickScreenLocation, clickScreenLocation, clickScreenPoint, clickScreenPoint, compareStoredData, compareStoredData, compareStoredData, compareStoredData, compareStoredProperties, compareStoredProperties, compareStoredProperties, compareStoredProperties, ctrlAltLeftDrag, ctrlAltLeftDrag, ctrlClick, ctrlClick, ctrlClick, ctrlClick, ctrlClickScreenImage, ctrlClickScreenImage, ctrlLeftDrag, ctrlLeftDrag, ctrlRightClick, ctrlRightClick, ctrlRightClick, ctrlRightClick, ctrlRightClickScreenImage, ctrlRightClickScreenImage, ctrlShiftLeftDrag, ctrlShiftLeftDrag, doubleClick, doubleClick, doubleClick, doubleClick, doubleClickScreenImage, doubleClickScreenImage, doubleClickScreenLocation, doubleClickScreenLocation, doubleClickScreenPoint, doubleClickScreenPoint, doubleTap, doubleTap, dragTo, dragTo, dragTo, dragTo, flick, flick, flick, flick, flickDown, flickDown, flickLeft, flickLeft, flickRight, flickRight, flickUp, flickUp, hScrollTo, hScrollTo, javaMenuSelect, javaMenuSelect, leftDrag, leftDrag, mouseClick, mouseClick, multiClick, multiClick, multiClick, multiClick, multiClickScreenImage, multiClickScreenImage, multiClickScreenImage, multiClickScreenImage, press, press, rightClick, rightClick, rightClick, rightClick, rightClickScreenImage, rightClickScreenImage, rightClickScreenLocation, rightClickScreenLocation, rightClickScreenPoint, rightClickScreenPoint, rightDrag, rightDrag, shiftClick, shiftClick, shiftClick, shiftClick, shiftClickScreenImage, shiftClickScreenImage, shiftLeftDrag, shiftLeftDrag, tap, tap, twoFingerTap, twoFingerTap, verifyImage, verifyImage, vScrollTo, vScrollTo
assignPropertyVariable, assignPropertyVariable, assignPropertyVariable, assignPropertyVariable, captureObjectDataToFile, captureObjectDataToFile, captureObjectDataToFile, captureObjectDataToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertyToFile, capturePropertyToFile, capturePropertyToFile, capturePropertyToFile, clearAppMapCache, clearAppMapCache, clearCache, clearCache, executeScript, executeScript, executeScript, executeScript, getComputedStyle, getComputedStyle, getGUIImage, getGUIImage, getGUIImage, getGUIImage, getTextFromGUI, getTextFromGUI, getTextFromGUI, getTextFromGUI, gUIDoesExist, gUIDoesExist, gUIDoesNotExist, gUIDoesNotExist, hoverMouse, hoverMouse, hoverMouse, hoverMouse, hoverScreenLocation, hoverScreenLocation, hoverScreenLocation, hoverScreenLocation, inputCharacters, inputCharacters, inputKeys, inputKeys, isPropertyExist, isPropertyExist, isPropertyExist, isPropertyExist, locateScreenImage, locateScreenImage, locateScreenImage, locateScreenImage, saveTextFromGUI, saveTextFromGUI, saveTextFromGUI, saveTextFromGUI, sendEvent, sendEvent, sendEvent, sendEvent, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, showOnPage, showOnPage, typeChars, typeChars, typeEncryption, typeEncryption, typeEncryption, typeEncryption, typeKeys, typeKeys, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardVP, verifyClipboardVP, verifyComputedStyle, verifyComputedStyle, verifyFileToFile, verifyFileToFile, verifyFileToFile, verifyFileToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyProperty, verifyProperty, verifyProperty, verifyProperty, verifyPropertyContains, verifyPropertyContains, verifyPropertyContains, verifyPropertyContains, verifyPropertyToFile, verifyPropertyToFile, verifyPropertyToFile, verifyPropertyToFile, verifyTabOrder, verifyTabOrder, verifyTextFileToFile, verifyTextFileToFile, verifyTextFileToFile, verifyTextFileToFile, verifyValueContains, verifyValueContains, verifyValueContains, verifyValueContains, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValues, verifyValues, verifyValues, verifyValues, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesNotEqual, verifyValuesNotEqual, verifyValuesNotEqual, verifyValuesNotEqual
getWindow, setWindow
getName, getParent, getParentName, quote
public JavaTree(Window window, java.lang.String compname)
window
- Optional:NO
Specifies which Window this component is 'in'.compname
- Optional:NO
Specifies the AppMap name of the component in the Window.public JavaTree(java.lang.String winname, java.lang.String compname)
winname
- Optional:NO
Specifies the AppMap name of the window.compname
- Optional:NO
Specifies the AppMap name of the component in the Window.protected JavaTree(java.lang.String compname)
public ComponentFunction captureTreeDataToFile(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:
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 void captureTreeDataToFile(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.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 ComponentFunction captureTreeDataToFile(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:
parameters
- Optional:NO
An array containing the following parameters:
public void captureTreeDataToFile(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction clickTextNode(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:
textValue
- Optional:NO
Case-sensitive text of node to click.public void clickTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to click.public ComponentFunction clickUnverifiedTextNode(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:
textValue
- Optional:NO
Case-sensitive full path text of node to click.public void clickUnverifiedTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive full path text of node to click.public ComponentFunction collapse(java.lang.String textValue)
Use CollapseTextNode instead.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text of node to collapsepublic void collapse(StepTestTable table, java.lang.String textValue)
Use CollapseTextNode instead.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to collapsepublic ComponentFunction collapsePartialTextNode(java.lang.String textValue)
Action to collapse a node according to a partial match of its text value.Supporting Engines:
textValue
- Optional:NO
Case-Insensitive text of node to collapsepublic void collapsePartialTextNode(StepTestTable table, java.lang.String textValue)
Action to collapse a node according to a partial match of its text value.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-Insensitive text of node to collapsepublic ComponentFunction collapseTextNode(java.lang.String textValue)
Action to collapse a node according to its text value.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text of node to collapsepublic void collapseTextNode(StepTestTable table, java.lang.String textValue)
Action to collapse a node according to its text value.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to collapsepublic ComponentFunction collapseUnverifiedTextNode(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:
textValue
- Optional:NO
Case-sensitive full path text of node to collapsepublic void collapseUnverifiedTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive full path text of node to collapsepublic ComponentFunction ctrlClickUnverifiedTextNode(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:
textValue
- Optional:NO
Case-sensitive text of node to CTRL-click.public void ctrlClickUnverifiedTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to CTRL-click.public ComponentFunction doubleClickTextNode(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:
textValue
- Optional:NO
Case-sensitive text of node to double-click.public void doubleClickTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to double-click.public ComponentFunction doubleClickUnverifiedTextNode(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:
textValue
- Optional:NO
Case-sensitive full path text of node to double-click.public void doubleClickUnverifiedTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive full path text of node to double-click.public ComponentFunction expand(java.lang.String textValue)
Use ExpandTextNode instead.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text of node to expandpublic void expand(StepTestTable table, java.lang.String textValue)
Use ExpandTextNode instead.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to expandpublic ComponentFunction expandPartialTextNode(java.lang.String textValue)
Action to expand a node according to a partial match of text value.Supporting Engines:
textValue
- Optional:NO
Case-Insensitive text of node to match.public void expandPartialTextNode(StepTestTable table, java.lang.String textValue)
Action to expand a node according to a partial match of text value.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-Insensitive text of node to match.public ComponentFunction expandTextNode(java.lang.String textValue)
Action to expand a node according to its text value.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text of node to expandpublic void expandTextNode(StepTestTable table, java.lang.String textValue)
Action to expand a node according to its text value.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to expandpublic ComponentFunction expandUnverifiedTextNode(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:
textValue
- Optional:NO
Case-sensitive full path text of node to expandpublic void expandUnverifiedTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive full path text of node to expandpublic ComponentFunction makeSelection(java.lang.String textValue)
Use SelectTextNode instead.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text of node to selectpublic void makeSelection(StepTestTable table, java.lang.String textValue)
Use SelectTextNode instead.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to selectpublic ComponentFunction partialMatchTreeDataToFile(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:
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 void partialMatchTreeDataToFile(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.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 ComponentFunction partialMatchTreeDataToFile(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:
parameters
- Optional:NO
An array containing the following parameters:
public void partialMatchTreeDataToFile(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction rightClickTextNode(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:
textValue
- Optional:NO
Case-sensitive text of node to right-click.public void rightClickTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to right-click.public ComponentFunction rightClickUnverifiedTextNode(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:
textValue
- Optional:NO
Case-sensitive full path text of node to right-click.public void rightClickUnverifiedTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive full path text of node to right-click.public ComponentFunction selectAnotherPartialTextNode(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:
textValue
- Optional:NO
Case-Insensitive text of node to select.public void selectAnotherPartialTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-Insensitive text of node to select.public ComponentFunction selectAnotherTextNode(java.lang.String textValue)
Action to select a node according to its text value, in addition to any nodes already selected.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text of node to select.public void selectAnotherTextNode(StepTestTable table, java.lang.String textValue)
Action to select a node according to its text value, in addition to any nodes already selected.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to select.public ComponentFunction selectAnotherUnverifiedTextNode(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:
textValue
- Optional:NO
Case-sensitive full path text of node to select.public void selectAnotherUnverifiedTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive full path text of node to select.public ComponentFunction selectPartialTextNode(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:
textValue
- Optional:NO
Case-Insensitive text of node to select.public void selectPartialTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-Insensitive text of node to select.public ComponentFunction selectTextNode(java.lang.String textValue)
Action to select a node according to its text value.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text of node to select.public void selectTextNode(StepTestTable table, java.lang.String textValue)
Action to select a node according to its text value.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to select.public ComponentFunction selectUnverifiedTextNode(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:
textValue
- Optional:NO
Case-sensitive full path text of node to select.public void selectUnverifiedTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive full path text of node to select.public ComponentFunction setTreeContainsNode(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:
node
- Optional:NO
The name of the node to verify.resultVar
- Optional:NO
The name of the variable which gets assigned the result.public void setTreeContainsNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.node
- Optional:NO
The name of the node to verify.resultVar
- Optional:NO
The name of the variable which gets assigned the result.public ComponentFunction setTreeContainsNode(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:
parameters
- Optional:NO
An array containing the following parameters:
public void setTreeContainsNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction setTreeContainsPartialMatch(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:
node
- Optional:NO
The name of the node to verify.resultVar
- Optional:NO
The name of the variable which gets assigned the result.public void setTreeContainsPartialMatch(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.node
- Optional:NO
The name of the node to verify.resultVar
- Optional:NO
The name of the variable which gets assigned the result.public ComponentFunction setTreeContainsPartialMatch(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:
parameters
- Optional:NO
An array containing the following parameters:
public void setTreeContainsPartialMatch(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction shiftClickUnverifiedTextNode(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:
textValue
- Optional:NO
Case-sensitive text of node to SHIFT-click.public void shiftClickUnverifiedTextNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text of node to SHIFT-click.public ComponentFunction verifyTreeContainsNode(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:
node
- Optional:NO
The name of the node to verify.public void verifyTreeContainsNode(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.node
- Optional:NO
The name of the node to verify.public ComponentFunction verifyTreeContainsPartialMatch(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:
node
- Optional:NO
The name of the node to verify.public void verifyTreeContainsPartialMatch(StepTestTable table, 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:
table
- Optional:NO
The table to add the record to.node
- Optional:NO
The name of the node to verify.Copyright © SAS Institute. All Rights Reserved.