|
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 |
public interface ITopWindow
Defines the interface for top-level GUI objects. This is needed when keys played back to top-level windows. We always know how to activate top-level windows, but not always know how to activate (set focus) to nested GUI components.
IFrame
Field Summary | |
---|---|
static java.lang.String |
INPUTCHARS_METHOD
The name of the inputChars method. |
static java.lang.String |
INPUTKEYS_METHOD
The name of the inputKeys method. |
Method Summary | |
---|---|
void |
activate()
Brings the window to top |
void |
clickDisabled()
Click on a window that is disabled or waiting on the modal dialog. |
void |
inputChars(java.lang.String characters)
Sends the supplied characters to the associated window. |
void |
inputKeys(java.lang.String keys)
Sends the supplied characters to the associated window. |
Methods inherited from interface com.rational.test.ft.object.interfaces.IFrame |
---|
close, contextHelp, isIconified, maximize, minimize, move, resize, restore |
Methods inherited from interface com.rational.test.ft.object.interfaces.IGraphical |
---|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
Field Detail |
---|
static final java.lang.String INPUTCHARS_METHOD
inputChars
method.
static final java.lang.String INPUTKEYS_METHOD
inputKeys
method.
Method Detail |
---|
void inputKeys(java.lang.String keys)
{@link
- com.rational.test.ft.BadArgumentException} if the input parameters is null.keys
- java.lang.String The keys to be sent to the current active windownull
string will result in a
BadArgumentException
being thrown.
Strings that do not contain any characters with special meaning
are played back as is. For example, if you put "abcd" in a keystring,
it plays back as "abcd." The characters with special meanings are:
+^%~(){}
The meanings of these special characters are described as follows:
For example, the following string plays back "ABCD":
"+a+b+c+d"
{CAPSLOCK} {NUMLOCK} {SCROLLLOCK} {ESCAPE} {ESC} {ENTER} {HELP} {PRTSC} {TAB} {BREAK} {CLEAR} {BACKSPACE} {BS} {BKSP} {DELETE} {DEL} {INSERT} {LEFT} {RIGHT} {UP} {DOWN} {PGUP} {PGDN} {HOME} {END} {F1} {F2} {F3} {F4} {F5} {F6} {F7} {F8} {F9} {F10} {F11} {F12} {F13} {F14} {F15} {F16} {APPS} {Win} {LEFTWIN} {RIGHTWIN} {CTRL} {SHIFT} {ALT} {LEFTCTRL} {LEFTSHIFT} {LEFTALT} {RIGHTCTRL} {RIGHTSHIFT} {RIGHTALT} {ExtDelete} {ExtInsert} {ExtLeft} {ExtRight} {ExtUp} {ExtDown} {ExtPgUp} {ExtPgDn} {ExtHome} {ExtEnd} {NumDelete} {NumInsert} {NumLeft} {NumRight} {NumUp} {NumDown} {NumPgUp} {NumPgDn} {NumHome} {NumEnd} {Num} {Num-} {Num/} {Num+} {Num~} {NumEnter} {Num0} {Num1} {Num2} {Num3} {Num4} {Num5} {Num6} {Num7} {Num8} {Num9} {Num.}
void inputChars(java.lang.String characters)
Note that passing in a null
string will result in a
BadArgumentException
being thrown.
characters
- the characters to be processed by this windowvoid activate()
classicsJava().activate();
void clickDisabled()
placeAnOrder(ANY,DISABLED).clickDisabled();
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |