public class TabControl extends GenericObject
Modifier | Constructor and Description |
---|---|
protected |
TabControl(java.lang.String compname) |
|
TabControl(java.lang.String winname,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
|
TabControl(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 |
click(StepTestTable table,
java.lang.String[] parameters)
Use ClickTab instead (where available).
|
void |
click(StepTestTable table,
java.lang.String textValue,
java.lang.String process)
Use ClickTab instead (where available).
|
ComponentFunction |
click(java.lang.String[] parameters)
Use ClickTab instead (where available).
|
ComponentFunction |
click(java.lang.String textValue,
java.lang.String process)
Use ClickTab instead (where available).
|
void |
clickTab(StepTestTable table,
java.lang.String textValue)
Attempts to perform a standard Click on a particular Tab on the TabControl
Attempts to perform a standard Click on a particular Tab on the TabControl.
|
ComponentFunction |
clickTab(java.lang.String textValue)
Attempts to perform a standard Click on a particular Tab on the TabControl
Attempts to perform a standard Click on a particular Tab on the TabControl.
|
void |
clickTabContains(StepTestTable table,
java.lang.String textValue)
Attempts to perform a Click on a Tab according to a partial match of its text value.
|
ComponentFunction |
clickTabContains(java.lang.String textValue)
Attempts to perform a Click on a Tab according to a partial match of its text value.
|
void |
makeSelection(StepTestTable table,
java.lang.String textValue)
Attempts to perform a standard Click on a particular Tab on the TabControl
Attempts to perform a standard Click on a particular Tab on the TabControl.
|
ComponentFunction |
makeSelection(java.lang.String textValue)
Attempts to perform a standard Click on a particular Tab on the TabControl
Attempts to perform a standard Click on a particular Tab on the TabControl.
|
void |
selectTab(StepTestTable table,
java.lang.String textValue)
Attempts to perform a standard SelectTab on a particular Tab on the TabControl
Attempts to perform a standard Selection on a particular Tab on the TabControl.
|
ComponentFunction |
selectTab(java.lang.String textValue)
Attempts to perform a standard SelectTab on a particular Tab on the TabControl
Attempts to perform a standard Selection on a particular Tab on the TabControl.
|
void |
selectTabIndex(StepTestTable table,
java.lang.String tabIndex)
Attempts to select a particular Tab by Index.
|
ComponentFunction |
selectTabIndex(java.lang.String tabIndex)
Attempts to select a particular Tab by Index.
|
void |
unverifiedClick(StepTestTable table,
java.lang.String textValue)
Use UnverifiedClickTab instead (where available).
|
ComponentFunction |
unverifiedClick(java.lang.String textValue)
Use UnverifiedClickTab instead (where available).
|
void |
unverifiedClickTab(StepTestTable table,
java.lang.String textValue)
Attempts to perform an unverified Click on a particular Tab on the TabControl
Attempts to perform an unverified Click on a particular Tab on the TabControl.
|
ComponentFunction |
unverifiedClickTab(java.lang.String textValue)
Attempts to perform an unverified Click on a particular Tab on the TabControl
Attempts to perform an unverified Click on a particular Tab on the TabControl.
|
altClick, altClick, altClick, altClick, altLeftDrag, altLeftDrag, 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 TabControl(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 TabControl(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 TabControl(java.lang.String compname)
public ComponentFunction click(java.lang.String textValue, java.lang.String process)
Use ClickTab instead (where available). Attempts to perform a standard Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
click
in class GenericObject
textValue
- Optional:NO
Case-sensitive text* on the tab to identify which tab to click.process
- Optional:YES
Indicator for unverified click.public void click(StepTestTable table, java.lang.String textValue, java.lang.String process)
Use ClickTab instead (where available). Attempts to perform a standard Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
click
in class GenericObject
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text* on the tab to identify which tab to click.process
- Optional:YES
Indicator for unverified click.public ComponentFunction click(java.lang.String[] parameters)
Use ClickTab instead (where available). Attempts to perform a standard Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
click
in class GenericObject
parameters
- Optional:NO
An array containing the following parameters:
public void click(StepTestTable table, java.lang.String[] parameters)
Use ClickTab instead (where available). Attempts to perform a standard Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
click
in class GenericObject
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction clickTab(java.lang.String textValue)
Attempts to perform a standard Click on a particular Tab on the TabControl Attempts to perform a standard Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text on the tab to identify which tab to click.public void clickTab(StepTestTable table, java.lang.String textValue)
Attempts to perform a standard Click on a particular Tab on the TabControl Attempts to perform a standard Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text on the tab to identify which tab to click.public ComponentFunction clickTabContains(java.lang.String textValue)
Attempts to perform a Click on a Tab according to a partial match of its text value. Attempts to perform a Click on a Tab according to a partial match of its text value. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility. Note: this keyword used to be UnverifiedClickTabContains, and it was renamed on 01/26/2011 due to conflict.Supporting Engines:
textValue
- Optional:NO
Partial case-sensitive text on the tab to identify which tab to click.public void clickTabContains(StepTestTable table, java.lang.String textValue)
Attempts to perform a Click on a Tab according to a partial match of its text value. Attempts to perform a Click on a Tab according to a partial match of its text value. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility. Note: this keyword used to be UnverifiedClickTabContains, and it was renamed on 01/26/2011 due to conflict.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Partial case-sensitive text on the tab to identify which tab to click.public ComponentFunction makeSelection(java.lang.String textValue)
Attempts to perform a standard Click on a particular Tab on the TabControl Attempts to perform a standard Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text on the tab to identify which tab to click.public void makeSelection(StepTestTable table, java.lang.String textValue)
Attempts to perform a standard Click on a particular Tab on the TabControl Attempts to perform a standard Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text on the tab to identify which tab to click.public ComponentFunction selectTab(java.lang.String textValue)
Attempts to perform a standard SelectTab on a particular Tab on the TabControl Attempts to perform a standard Selection on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility. Note, this routine will call the CLICK function to try default CLICK processing if it is not able to locate all the component properties it needs for success. This command has been provided for times when it might work and the other TabControl CLICK alternatives do not.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text on the tab to identify which tab to click.public void selectTab(StepTestTable table, java.lang.String textValue)
Attempts to perform a standard SelectTab on a particular Tab on the TabControl Attempts to perform a standard Selection on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility. Note, this routine will call the CLICK function to try default CLICK processing if it is not able to locate all the component properties it needs for success. This command has been provided for times when it might work and the other TabControl CLICK alternatives do not.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text on the tab to identify which tab to click.public ComponentFunction selectTabIndex(java.lang.String tabIndex)
Attempts to select a particular Tab by Index. Attempts to select a particular Tab by Index. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility. For some engines, like Rational Robot, the user must know whether the indices of the TabControl are 0-based or 1-based and use the raw index number. For Rational Functional Tester we attempt to enforce that all indices are 1-based whenever possible. Thus, the first tab would be specified as TabIndex=1 even if the control itself uses 0-based tab indices.Supporting Engines:
tabIndex
- Optional:NO
Index of the tab to click.public void selectTabIndex(StepTestTable table, java.lang.String tabIndex)
Attempts to select a particular Tab by Index. Attempts to select a particular Tab by Index. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility. For some engines, like Rational Robot, the user must know whether the indices of the TabControl are 0-based or 1-based and use the raw index number. For Rational Functional Tester we attempt to enforce that all indices are 1-based whenever possible. Thus, the first tab would be specified as TabIndex=1 even if the control itself uses 0-based tab indices.Supporting Engines:
table
- Optional:NO
The table to add the record to.tabIndex
- Optional:NO
Index of the tab to click.public ComponentFunction unverifiedClick(java.lang.String textValue)
Use UnverifiedClickTab instead (where available). Attempts to perform an unverified Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text* on the tab to identify which tab to click.public void unverifiedClick(StepTestTable table, java.lang.String textValue)
Use UnverifiedClickTab instead (where available). Attempts to perform an unverified Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text* on the tab to identify which tab to click.public ComponentFunction unverifiedClickTab(java.lang.String textValue)
Attempts to perform an unverified Click on a particular Tab on the TabControl Attempts to perform an unverified Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
textValue
- Optional:NO
Case-sensitive text* on the tab to identify which tab to click.public void unverifiedClickTab(StepTestTable table, java.lang.String textValue)
Attempts to perform an unverified Click on a particular Tab on the TabControl Attempts to perform an unverified Click on a particular Tab on the TabControl. The routine will set the StepDriverTestInfo.statuscode and log any pass/warning/fail info using the StepDriverTestInfo.fac LogFacility.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
Case-sensitive text* on the tab to identify which tab to click.Copyright © SAS Institute. All Rights Reserved.