|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rational.test.ft.object.interfaces.TestObject com.rational.test.ft.object.interfaces.ClientTestObject com.rational.test.ft.object.interfaces.GuiTestObject com.rational.test.ft.object.interfaces.flex.FlexObjectTestObject com.rational.test.ft.object.interfaces.flex.FlexComboBaseTestObject
public class FlexComboBaseTestObject
The ComboBase class is the base class for controls that display text in a text field and have a button that causes a drop-down list to appear where the user can choose which text to display.
Field Summary |
---|
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
---|
ref |
Constructor Summary | |
---|---|
FlexComboBaseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
|
|
FlexComboBaseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
|
|
FlexComboBaseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
|
|
FlexComboBaseTestObject(TestObject obj)
|
|
FlexComboBaseTestObject(com.rational.test.ft.object.TestObjectReference ref)
|
Method Summary | |
---|---|
void |
close()
Dispatched when the drop-down list is dismissed for any reason such when the user: selects an item in the drop-down list clicks outside of the drop-down list clicks the drop-down button while the drop-down list is displayed presses the ESC key while the drop-down list is displayed |
void |
close(java.lang.String triggerEvent)
Dispatched when the drop-down list is dismissed for any reason such when the user: selects an item in the drop-down list clicks outside of the drop-down list clicks the drop-down button while the drop-down list is displayed presses the ESC key while the drop-down list is displayed |
void |
input(java.lang.String itemName)
Dispatched when the user enters character in the editable control |
void |
inputKeys(java.lang.String keyCode)
Event is dispatched when keyboard is used to perform an action |
void |
inputKeys(java.lang.String keyCode, int keyModifier)
Event is dispathed when a combination of keys are pressed to perform an action. |
void |
open()
Dispatched when the user clicks the drop-down button to display the drop-down list. |
void |
open(java.lang.String triggerEvent)
Dispatched when the user clicks the drop-down button to display the drop-down list. |
void |
scroll(int position, java.lang.String scrollDirection)
Dispatched when the user scrolls the ComboBox control's drop-down list |
void |
scroll(int position, java.lang.String scrollDirection, java.lang.String scrollDetails)
Dispatched when the user scrolls the ComboBox control's drop-down list |
void |
scroll(Subitem subitem, java.lang.String scrollDirection)
Dispatched when the user scrolls the ComboBox control's drop-down list |
void |
scroll(Subitem subitem, java.lang.String scrollDirection, java.lang.String scrollDetails)
Dispatched when the user scrolls the ComboBox control's drop-down list |
void |
selectText(java.awt.Point point)
Dispatched when the user selects the text in the control |
void |
type(java.lang.String keyCode)
Event is dispatched when keyboard is used to perform an action |
void |
type(java.lang.String keyCode, int keyModifier)
Event is dispathed when a combination of keys are pressed to perform an action. |
Methods inherited from class com.rational.test.ft.object.interfaces.flex.FlexObjectTestObject |
---|
changeFocus, changeFocus, changeFocus, changeFocus, click, click, click, getAutomationChildAt, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, performAction, performAction, performAction, performAction, performAction, performAction, performTest, setFocus |
Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject |
---|
canTakeVP, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getClippedScreenRectangle, getImage, getImage, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getVisibleArea, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
Methods inherited from class com.rational.test.ft.object.interfaces.ClientTestObject |
---|
exists, find, find, findAndInvoke, findAndInvokeProxy, invoke, invokeProxy, unregister, waitForExistence |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FlexComboBaseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public FlexComboBaseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
public FlexComboBaseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public FlexComboBaseTestObject(com.rational.test.ft.object.TestObjectReference ref)
public FlexComboBaseTestObject(TestObject obj)
Method Detail |
---|
public void close()
public void close(java.lang.String triggerEvent)
triggerEvent
- Whether the event was triggered by mouse or keyboardpublic void open()
public void open(java.lang.String triggerEvent)
triggerEvent
- Whether the event was triggered by mouse or keyboardpublic void input(java.lang.String itemName)
itemName
- The character or sequence of characters entered by the user.public void scroll(int position, java.lang.String scrollDirection)
position
- The new scroll positionscrollDirection
- The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.public void scroll(int position, java.lang.String scrollDirection, java.lang.String scrollDetails)
position
- The new scroll position.scrollDirection
- The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.scrollDetails
- Provides the details of the scroll activity. For most scroll activities the value is one of the listed constants,
such as THUMB_TRACK. If the event indicates that the scrollbar has moved up, down, left, or right, the value is the string concatenation of the amount of motion (such as "Line" or "Page") and the constant that indicates the direction, such as LEFTpublic void selectText(java.awt.Point point)
point
- Selected item's start and end position in the form of pointpublic void inputKeys(java.lang.String keyCode)
keyCode
- The key code value of the key pressedpublic void inputKeys(java.lang.String keyCode, int keyModifier)
keyCode
- The key code value of the key pressedkeyModifier
- A constant that indicates which key or key combination, if any, was pressed while this operation took place.
One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example,
if the Shift and Alt keys were pressed, then the value would be flexShiftAlt.public void type(java.lang.String keyCode)
keyCode
- The key code value of the key pressedpublic void type(java.lang.String keyCode, int keyModifier)
keyCode
- The key code value of the key pressedkeyModifier
- A constant that indicates which key or key combination, if any, was pressed while this operation took place.
One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example,
if the Shift and Alt keys were pressed, then the value would be flexShiftAlt.public void scroll(Subitem subitem, java.lang.String scrollDirection)
subitem
- The subitem giving the value of the scroll positionscrollDirection
- The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.public void scroll(Subitem subitem, java.lang.String scrollDirection, java.lang.String scrollDetails)
subitem
- The subitem giving the value of the scroll positionscrollDirection
- The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.scrollDetails
- Provides the details of the scroll activity. For most scroll activities the value is one of the listed constants,
such as THUMB_TRACK. If the event indicates that the scrollbar has moved up, down, left, or right, the value is the string concatenation of the amount of motion (such as "Line" or "Page") and the constant that indicates the direction, such as LEFT
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |