|
IBM Rational Functional Tester Version 8.2.1 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.Objectcom.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.FrameTestObject
com.rational.test.ft.object.interfaces.TopLevelTestObject
public class TopLevelTestObject
Represents top-level window objects in the system under test. These controls must be acted upon in a consistent and resilient fashion across the various supported platforms. These classes are typically frames or dialog objects.
| Field Summary |
|---|
| Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
|---|
ref |
| Fields inherited from interface com.rational.test.ft.object.interfaces.ITopWindow |
|---|
INPUTCHARS_METHOD, INPUTKEYS_METHOD |
| Constructor Summary | |
|---|---|
TopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use. |
|
TopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use. |
|
TopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use. |
|
TopLevelTestObject(TestObject obj)
Construct a TopLevelTestObject from a TestObject. |
|
TopLevelTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use. |
|
| Method Summary | |
|---|---|
void |
activate()
Causes the associated window control to become the active window if possible. |
void |
clickDisabled()
Records all actions performed against an inactive window. |
void |
close()
Closes the associated window. |
void |
inputChars(java.lang.String keys)
Sends the supplied characters to the associated window. |
void |
inputKeys(java.lang.String keys)
Sends the supplied characters to the associated window. |
boolean |
isIconified()
Returns true if the top-level window is iconified. |
void |
maximize()
Maximizes the associated window. |
void |
minimize()
Iconifies the associated window. |
void |
move(java.awt.Point screenPt)
Moves the top-level window to the specified location on the desktop. |
void |
resize(int width,
int height)
Resizes the window to the specified width and height. |
void |
restore()
Restores the associated window. |
| Methods inherited from class com.rational.test.ft.object.interfaces.FrameTestObject |
|---|
contextHelp |
| Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject |
|---|
canTakeVP, click, click, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getClippedScreenRectangle, getImage, getImage, getIWindow, getRole, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getVisibleArea, hasFocus, hover, hover, hover, hover, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, 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, getProperty, getTestDataTypes, invoke, invokeProxy, unregister, waitForExistence |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rational.test.ft.object.interfaces.IFrame |
|---|
contextHelp |
| 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 |
| Constructor Detail |
|---|
public TopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public TopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
public TopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
public TopLevelTestObject(com.rational.test.ft.object.TestObjectReference ref)
public TopLevelTestObject(TestObject obj)
TopLevelTestObject from a TestObject. Both are references to the same object.
| Method Detail |
|---|
public void inputKeys(java.lang.String keys)
ITopWindow.inputKeys.
inputKeys in interface ITopWindowkeys - the characters to be processed by this windowpublic void inputChars(java.lang.String keys)
inputChars in interface ITopWindowkeys - The characters to be processed by this windowpublic void activate()
activate in interface ITopWindowpublic void close()
close in interface IFrameclose in class FrameTestObjectpublic void maximize()
maximize in interface IFramemaximize in class FrameTestObjectpublic void minimize()
minimize in interface IFrameminimize in class FrameTestObjectpublic void restore()
restore in interface IFramerestore in class FrameTestObjectpublic boolean isIconified()
true if the top-level window is iconified.
isIconified in interface IFrameisIconified in class FrameTestObjecttrue if the frame is iconified.
A frame cannot be iconified return false.
public void resize(int width,
int height)
resize in interface IFrameresize in class FrameTestObjectwidth - - The width to set for the frameheight - - The height to set for the framepublic void move(java.awt.Point screenPt)
move in interface IFramemove in class FrameTestObjectscreenPt - - The point where you want to move the framepublic void clickDisabled()
TestObject.
clickDisabled in interface ITopWindow
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||