public class SSTreeFunctions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COLLAPSENODE_KEYWORD
"CollapseNode"
|
static java.lang.String |
EXPANDNODE_KEYWORD
"ExpandNode"
|
static java.lang.String |
SELECTNODE_KEYWORD
"SelectNode"
|
static java.lang.String |
VERIFYEXPANDEDSTATE_KEYWORD
"VerifyExpandedState"
|
static java.lang.String |
VERIFYSELECTEDTEXT_KEYWORD
"VerifySelectedText"
|
Modifier and Type | Method and Description |
---|---|
static ComponentFunction |
collapseNode(java.lang.String winname,
java.lang.String compname,
java.lang.String appMapSubkey)
Routine to DblClick a node according to its AppMap reference.
|
static ComponentFunction |
expandNode(java.lang.String winname,
java.lang.String compname,
java.lang.String appMapSubkey)
Routine to DblClick a node according to its AppMap reference.
|
static SSTreeFunctions |
getInstance()
public Singleton to access class static methods via instance
|
static ComponentFunction |
selectNode(java.lang.String winname,
java.lang.String compname,
java.lang.String appMapSubkey)
Routine to select a node according to its AppMap reference.
|
static ComponentFunction |
verifyExpandedState(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine to verify the state of the Expanded property--True or False--
for the node with the provided text.
|
static ComponentFunction |
verifyExpandedState(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue,
java.lang.String expectedState)
Routine to verify the state of the Expanded property--True or False--
for the node with the provided text.
|
static ComponentFunction |
verifySelectedText(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Routine to verify the text of the currently selected node.
|
public static final java.lang.String COLLAPSENODE_KEYWORD
public static final java.lang.String EXPANDNODE_KEYWORD
public static final java.lang.String SELECTNODE_KEYWORD
public static final java.lang.String VERIFYEXPANDEDSTATE_KEYWORD
public static final java.lang.String VERIFYSELECTEDTEXT_KEYWORD
public static SSTreeFunctions getInstance()
public static ComponentFunction collapseNode(java.lang.String winname, java.lang.String compname, java.lang.String appMapSubkey)
Routine to DblClick a node according to its AppMap reference. Routine to DblClick a node according to its AppMap reference. Because the SSTree is unsupported, this reference is the x,y coordinate of a GenericObject DblClick command in the form x,y (i.e. "25,10"). Because of the nature of the reference, we cannot check whether or not the node is collapsed/expanded before or after this routine or even if we clicked on the right node. Verify the selection and expanded state of the node before and/or after to check.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.appMapSubkey
- Optional:NO
The named reference of the coordinates to expand/collapsepublic static ComponentFunction expandNode(java.lang.String winname, java.lang.String compname, java.lang.String appMapSubkey)
Routine to DblClick a node according to its AppMap reference. Routine to DblClick a node according to its AppMap reference. Because the SSTree is unsupported, this reference is the x,y coordinate of a GenericObject DblClick command in the form x,y (i.e. "25,10"). Because of the nature of the reference, we cannot check whether or not the node is collapsed/expanded before or after this routine or even if we clicked on the right node. Verify the selection and expanded state of the node before and/or after to check.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.appMapSubkey
- Optional:NO
The named reference of the coordinates to expand/collapsepublic static ComponentFunction selectNode(java.lang.String winname, java.lang.String compname, java.lang.String appMapSubkey)
Routine to select a node according to its AppMap reference. Routine to select a node according to its AppMap reference. Because the SSTree is unsupported this reference is the x,y coordinate of a GenericObject Click command in the form x,y (i.e. "25,10"). Because of the nature of the reference, we cannot check whether or not the node is collapsed/expanded before or after this routine or even if we clicked on the right node. Verify the selection and expanded state of the node before and/or after to check.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.appMapSubkey
- Optional:NO
The named reference of the coordinates to clickpublic static ComponentFunction verifyExpandedState(java.lang.String winname, java.lang.String compname, java.lang.String textValue, java.lang.String expectedState)
Routine to verify the state of the Expanded property--True or False-- for the node with the provided text. Routine to verify the state of the Expanded property--True or False-- for the node with the provided text.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 the node to check.expectedState
- Optional:NO
Expected State: "True" or "False" (not case-sensitive)public static ComponentFunction verifyExpandedState(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine to verify the state of the Expanded property--True or False-- for the node with the provided text. Routine to verify the state of the Expanded property--True or False-- for the node with the provided text.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 verifySelectedText(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Routine to verify the text of the currently selected node. Routine to verify the text of the currently selected node.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 expected in the selected node.Copyright © SAS Institute. All Rights Reserved.