public interface ITopWindow extends IFrame
IFrame
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INPUTCHARS_METHOD
The name of the
inputChars method. |
static java.lang.String |
INPUTKEYS_METHOD
The name of the
inputKeys method. |
Modifier and Type | Method and Description |
---|---|
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.
|
close, contextHelp, isIconified, maximize, minimize, move, resize, restore
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
static final java.lang.String INPUTCHARS_METHOD
inputChars
method.static final java.lang.String INPUTKEYS_METHOD
inputKeys
method.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();