public class ToolBar extends GenericObject
Modifier | Constructor and Description |
---|---|
protected |
ToolBar(java.lang.String compname) |
|
ToolBar(java.lang.String winname,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
|
ToolBar(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 |
clickButton(StepTestTable table,
java.lang.String[] parameters)
Deprecated.
|
void |
clickButton(StepTestTable table,
java.lang.String buttonTextValue,
java.lang.String caseInsensitive)
Deprecated.
|
ComponentFunction |
clickButton(java.lang.String[] parameters)
Deprecated.
|
ComponentFunction |
clickButton(java.lang.String buttonTextValue,
java.lang.String caseInsensitive)
Deprecated.
|
void |
clickButtonIndex(StepTestTable table,
java.lang.String[] parameters)
Click on the icon at a certain position on the ToolBar object, it is 1-based.
|
void |
clickButtonIndex(StepTestTable table,
java.lang.String index,
java.lang.String coordination)
Click on the icon at a certain position on the ToolBar object, it is 1-based.
|
ComponentFunction |
clickButtonIndex(java.lang.String[] parameters)
Click on the icon at a certain position on the ToolBar object, it is 1-based.
|
ComponentFunction |
clickButtonIndex(java.lang.String index,
java.lang.String coordination)
Click on the icon at a certain position on the ToolBar object, it is 1-based.
|
void |
clickButtonText(StepTestTable table,
java.lang.String[] parameters)
Routine to Click on the specified Button.Key (Text) value.
|
void |
clickButtonText(StepTestTable table,
java.lang.String buttonTextValue,
java.lang.String caseInsensitive,
java.lang.String coordination)
Routine to Click on the specified Button.Key (Text) value.
|
ComponentFunction |
clickButtonText(java.lang.String[] parameters)
Routine to Click on the specified Button.Key (Text) value.
|
ComponentFunction |
clickButtonText(java.lang.String buttonTextValue,
java.lang.String caseInsensitive,
java.lang.String coordination)
Routine to Click on the specified Button.Key (Text) value.
|
void |
clickButtonTooltip(StepTestTable table,
java.lang.String tooltip)
Click on the icon whose tooltip equals to the provided parameter
Click on the icon whose tooltip equals to the provided parameter
|
ComponentFunction |
clickButtonTooltip(java.lang.String tooltip)
Click on the icon whose tooltip equals to the provided parameter
Click on the icon whose tooltip equals to the provided parameter
|
void |
clickUnverifiedButtonID(StepTestTable table,
java.lang.String buttonID)
Routine to select a toolbar button using it's ID.
|
ComponentFunction |
clickUnverifiedButtonID(java.lang.String buttonID)
Routine to select a toolbar button using it's ID.
|
void |
clickUnverifiedButtonText(StepTestTable table,
java.lang.String[] parameters)
Routine to Click on the specified Button.Key (Text) value.
|
void |
clickUnverifiedButtonText(StepTestTable table,
java.lang.String buttonTextValue,
java.lang.String caseInsensitive,
java.lang.String coordination)
Routine to Click on the specified Button.Key (Text) value.
|
ComponentFunction |
clickUnverifiedButtonText(java.lang.String[] parameters)
Routine to Click on the specified Button.Key (Text) value.
|
ComponentFunction |
clickUnverifiedButtonText(java.lang.String buttonTextValue,
java.lang.String caseInsensitive,
java.lang.String coordination)
Routine to Click on the specified Button.Key (Text) value.
|
void |
verifyButtonClicked(StepTestTable table,
java.lang.String buttonTextValue)
Verifies a particular case-sensitive button text item is selected
Verifies a particular case-sensitive button text item is selected
|
ComponentFunction |
verifyButtonClicked(java.lang.String buttonTextValue)
Verifies a particular case-sensitive button text item is selected
Verifies a particular case-sensitive button text item is selected
|
void |
verifyButtonCount(StepTestTable table,
java.lang.String buttonCount)
Verifies a total button presents in the Toolbar.
|
ComponentFunction |
verifyButtonCount(java.lang.String buttonCount)
Verifies a total button presents in the Toolbar.
|
void |
verifyButtonText(StepTestTable table,
java.lang.String[] parameters)
Verifies a particular case-sensitive text (button.key) item exists
Verifies a particular case-sensitive text (button.key) item exists
|
void |
verifyButtonText(StepTestTable table,
java.lang.String buttonTextValue,
java.lang.String caseInsensitive)
Verifies a particular case-sensitive text (button.key) item exists
Verifies a particular case-sensitive text (button.key) item exists
|
ComponentFunction |
verifyButtonText(java.lang.String[] parameters)
Verifies a particular case-sensitive text (button.key) item exists
Verifies a particular case-sensitive text (button.key) item exists
|
ComponentFunction |
verifyButtonText(java.lang.String buttonTextValue,
java.lang.String caseInsensitive)
Verifies a particular case-sensitive text (button.key) item exists
Verifies a particular case-sensitive text (button.key) item exists
|
void |
verifyButtonUnClicked(StepTestTable table,
java.lang.String buttonTextValue)
Verifies a particular case-sensitive button text item is unselected
Verifies a particular case-sensitive button text item is unselected
|
ComponentFunction |
verifyButtonUnClicked(java.lang.String buttonTextValue)
Verifies a particular case-sensitive button text item is unselected
Verifies a particular case-sensitive button text item is unselected
|
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 ToolBar(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 ToolBar(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 ToolBar(java.lang.String compname)
public ComponentFunction clickButton(java.lang.String buttonTextValue, java.lang.String caseInsensitive)
Deprecated. Use ClickButtonText instead. Deprecated. Use ClickButtonText instead.Supporting Engines:
buttonTextValue
- Optional:NO
Case-sensitive text of the toolbar button to select.caseInsensitive
- Optional:YES
"1", "CaseInsensitive", or "Case-Insensitive" to match button text in a case-insensitive manner.public void clickButton(StepTestTable table, java.lang.String buttonTextValue, java.lang.String caseInsensitive)
Deprecated. Use ClickButtonText instead. Deprecated. Use ClickButtonText instead.Supporting Engines:
table
- Optional:NO
The table to add the record to.buttonTextValue
- Optional:NO
Case-sensitive text of the toolbar button to select.caseInsensitive
- Optional:YES
"1", "CaseInsensitive", or "Case-Insensitive" to match button text in a case-insensitive manner.public ComponentFunction clickButton(java.lang.String[] parameters)
Deprecated. Use ClickButtonText instead. Deprecated. Use ClickButtonText instead.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public void clickButton(StepTestTable table, java.lang.String[] parameters)
Deprecated. Use ClickButtonText instead. Deprecated. Use ClickButtonText instead.Supporting Engines:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction clickButtonIndex(java.lang.String index, java.lang.String coordination)
Click on the icon at a certain position on the ToolBar object, it is 1-based. Click on the icon at a certain position on the ToolBar object, it is 1-based.Supporting Engines:
index
- Optional:NO
Index described which icon to be clicked in the toolbar.coordination
- Optional:YES
A position within the toolbar button, the mouse will be click there.
RJ Note: This parameter is special for RJ implementation.public void clickButtonIndex(StepTestTable table, java.lang.String index, java.lang.String coordination)
Click on the icon at a certain position on the ToolBar object, it is 1-based. Click on the icon at a certain position on the ToolBar object, it is 1-based.Supporting Engines:
table
- Optional:NO
The table to add the record to.index
- Optional:NO
Index described which icon to be clicked in the toolbar.coordination
- Optional:YES
A position within the toolbar button, the mouse will be click there.
RJ Note: This parameter is special for RJ implementation.public ComponentFunction clickButtonIndex(java.lang.String[] parameters)
Click on the icon at a certain position on the ToolBar object, it is 1-based. Click on the icon at a certain position on the ToolBar object, it is 1-based.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public void clickButtonIndex(StepTestTable table, java.lang.String[] parameters)
Click on the icon at a certain position on the ToolBar object, it is 1-based. Click on the icon at a certain position on the ToolBar object, it is 1-based.Supporting Engines:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction clickButtonText(java.lang.String buttonTextValue, java.lang.String caseInsensitive, java.lang.String coordination)
Routine to Click on the specified Button.Key (Text) value. Routine to Click on the specified Button.Key (Text) value. The user has an optional parameter to specify that the provided text is case-insensitive. The routine will also verify that the button is in the clicked or selected state upon completion. Use ClickUnverifiedButtonText if this post-click verification should be skipped.Supporting Engines:
buttonTextValue
- Optional:NO
Case-sensitive text of the toolbar button to select.caseInsensitive
- Optional:YES
"1", "CaseInsensitive", or "Case-Insensitive" to match button text in a case-insensitive manner.coordination
- Optional:YES
A position within the toolbar button, the mouse will be click there.
RJ Note: This parameter is special for RJ implementation.public void clickButtonText(StepTestTable table, java.lang.String buttonTextValue, java.lang.String caseInsensitive, java.lang.String coordination)
Routine to Click on the specified Button.Key (Text) value. Routine to Click on the specified Button.Key (Text) value. The user has an optional parameter to specify that the provided text is case-insensitive. The routine will also verify that the button is in the clicked or selected state upon completion. Use ClickUnverifiedButtonText if this post-click verification should be skipped.Supporting Engines:
table
- Optional:NO
The table to add the record to.buttonTextValue
- Optional:NO
Case-sensitive text of the toolbar button to select.caseInsensitive
- Optional:YES
"1", "CaseInsensitive", or "Case-Insensitive" to match button text in a case-insensitive manner.coordination
- Optional:YES
A position within the toolbar button, the mouse will be click there.
RJ Note: This parameter is special for RJ implementation.public ComponentFunction clickButtonText(java.lang.String[] parameters)
Routine to Click on the specified Button.Key (Text) value. Routine to Click on the specified Button.Key (Text) value. The user has an optional parameter to specify that the provided text is case-insensitive. The routine will also verify that the button is in the clicked or selected state upon completion. Use ClickUnverifiedButtonText if this post-click verification should be skipped.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public void clickButtonText(StepTestTable table, java.lang.String[] parameters)
Routine to Click on the specified Button.Key (Text) value. Routine to Click on the specified Button.Key (Text) value. The user has an optional parameter to specify that the provided text is case-insensitive. The routine will also verify that the button is in the clicked or selected state upon completion. Use ClickUnverifiedButtonText if this post-click verification should be skipped.Supporting Engines:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction clickButtonTooltip(java.lang.String tooltip)
Click on the icon whose tooltip equals to the provided parameter Click on the icon whose tooltip equals to the provided parameterSupporting Engines:
tooltip
- Optional:NO
Tooltip is description of the icon on ToolBar.public void clickButtonTooltip(StepTestTable table, java.lang.String tooltip)
Click on the icon whose tooltip equals to the provided parameter Click on the icon whose tooltip equals to the provided parameterSupporting Engines:
table
- Optional:NO
The table to add the record to.tooltip
- Optional:NO
Tooltip is description of the icon on ToolBar.public ComponentFunction clickUnverifiedButtonID(java.lang.String buttonID)
Routine to select a toolbar button using it's ID. Routine to select a toolbar button using it's ID.Supporting Engines:
buttonID
- Optional:NO
ID for a particular button in the toolbar to select.public void clickUnverifiedButtonID(StepTestTable table, java.lang.String buttonID)
Routine to select a toolbar button using it's ID. Routine to select a toolbar button using it's ID.Supporting Engines:
table
- Optional:NO
The table to add the record to.buttonID
- Optional:NO
ID for a particular button in the toolbar to select.public ComponentFunction clickUnverifiedButtonText(java.lang.String buttonTextValue, java.lang.String caseInsensitive, java.lang.String coordination)
Routine to Click on the specified Button.Key (Text) value. Routine to Click on the specified Button.Key (Text) value. The user has an optional parameter to specify that the provided text is case-insensitive. However, not all Toolbars and Buttons will be able to support this case-insensitive capability.Supporting Engines:
buttonTextValue
- Optional:NO
Case-sensitive text of the toolbar button to select.caseInsensitive
- Optional:YES
"1", "CaseInsensitive", or "Case-Insensitive" to match button text in a case-insensitive manner.coordination
- Optional:YES
A position within the toolbar button, the mouse will be click there.
RJ Note: This parameter is special for RJ implementation.public void clickUnverifiedButtonText(StepTestTable table, java.lang.String buttonTextValue, java.lang.String caseInsensitive, java.lang.String coordination)
Routine to Click on the specified Button.Key (Text) value. Routine to Click on the specified Button.Key (Text) value. The user has an optional parameter to specify that the provided text is case-insensitive. However, not all Toolbars and Buttons will be able to support this case-insensitive capability.Supporting Engines:
table
- Optional:NO
The table to add the record to.buttonTextValue
- Optional:NO
Case-sensitive text of the toolbar button to select.caseInsensitive
- Optional:YES
"1", "CaseInsensitive", or "Case-Insensitive" to match button text in a case-insensitive manner.coordination
- Optional:YES
A position within the toolbar button, the mouse will be click there.
RJ Note: This parameter is special for RJ implementation.public ComponentFunction clickUnverifiedButtonText(java.lang.String[] parameters)
Routine to Click on the specified Button.Key (Text) value. Routine to Click on the specified Button.Key (Text) value. The user has an optional parameter to specify that the provided text is case-insensitive. However, not all Toolbars and Buttons will be able to support this case-insensitive capability.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public void clickUnverifiedButtonText(StepTestTable table, java.lang.String[] parameters)
Routine to Click on the specified Button.Key (Text) value. Routine to Click on the specified Button.Key (Text) value. The user has an optional parameter to specify that the provided text is case-insensitive. However, not all Toolbars and Buttons will be able to support this case-insensitive capability.Supporting Engines:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction verifyButtonClicked(java.lang.String buttonTextValue)
Verifies a particular case-sensitive button text item is selected Verifies a particular case-sensitive button text item is selectedSupporting Engines:
buttonTextValue
- Optional:NO
Case-sensitive text(Button.Key) of button that will be verified as clickedpublic void verifyButtonClicked(StepTestTable table, java.lang.String buttonTextValue)
Verifies a particular case-sensitive button text item is selected Verifies a particular case-sensitive button text item is selectedSupporting Engines:
table
- Optional:NO
The table to add the record to.buttonTextValue
- Optional:NO
Case-sensitive text(Button.Key) of button that will be verified as clickedpublic ComponentFunction verifyButtonCount(java.lang.String buttonCount)
Verifies a total button presents in the Toolbar. Verifies a total button presents in the Toolbar. Count includes buttons which are not visible as well.Supporting Engines:
buttonCount
- Optional:NO
Numeric count value represents the total button counts in the Toolbar.public void verifyButtonCount(StepTestTable table, java.lang.String buttonCount)
Verifies a total button presents in the Toolbar. Verifies a total button presents in the Toolbar. Count includes buttons which are not visible as well.Supporting Engines:
table
- Optional:NO
The table to add the record to.buttonCount
- Optional:NO
Numeric count value represents the total button counts in the Toolbar.public ComponentFunction verifyButtonText(java.lang.String buttonTextValue, java.lang.String caseInsensitive)
Verifies a particular case-sensitive text (button.key) item exists Verifies a particular case-sensitive text (button.key) item existsSupporting Engines:
buttonTextValue
- Optional:NO
Case-sensitive text (button.key) item that will be verified as existscaseInsensitive
- Optional:YES
"1", "CaseInsensitive", or "Case-Insensitive" to match button text in a case-insensitive manner.public void verifyButtonText(StepTestTable table, java.lang.String buttonTextValue, java.lang.String caseInsensitive)
Verifies a particular case-sensitive text (button.key) item exists Verifies a particular case-sensitive text (button.key) item existsSupporting Engines:
table
- Optional:NO
The table to add the record to.buttonTextValue
- Optional:NO
Case-sensitive text (button.key) item that will be verified as existscaseInsensitive
- Optional:YES
"1", "CaseInsensitive", or "Case-Insensitive" to match button text in a case-insensitive manner.public ComponentFunction verifyButtonText(java.lang.String[] parameters)
Verifies a particular case-sensitive text (button.key) item exists Verifies a particular case-sensitive text (button.key) item existsSupporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public void verifyButtonText(StepTestTable table, java.lang.String[] parameters)
Verifies a particular case-sensitive text (button.key) item exists Verifies a particular case-sensitive text (button.key) item existsSupporting Engines:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction verifyButtonUnClicked(java.lang.String buttonTextValue)
Verifies a particular case-sensitive button text item is unselected Verifies a particular case-sensitive button text item is unselectedSupporting Engines:
buttonTextValue
- Optional:NO
Case-sensitive text(Button.Key) of button that will be verified as unselectedpublic void verifyButtonUnClicked(StepTestTable table, java.lang.String buttonTextValue)
Verifies a particular case-sensitive button text item is unselected Verifies a particular case-sensitive button text item is unselectedSupporting Engines:
table
- Optional:NO
The table to add the record to.buttonTextValue
- Optional:NO
Case-sensitive text(Button.Key) of button that will be verified as unselectedCopyright © SAS Institute. All Rights Reserved.