public class TopLevelTestObject extends FrameTestObject implements ITopWindow
ignoreTheObjectState, refINPUTCHARS_METHOD, INPUTKEYS_METHOD| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
contextHelpcanTakeVP, 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, switchToexists, exists, exists, find, find, findAndInvoke, findAndInvokeProxy, getProperty, getTestDataTypes, invoke, invokeProxy, unregister, waitForExistencecompare, compare, compareAndLog, compareAndLog, equals, find, findAndInvoke, getActualData, getChildren, getDescribedObject, getDescribedObjects, getDescriptiveName, getDomain, getField, getIndexer, getIndexer, getIndexers, getMappableChildren, getMappableParent, getMapProperties, getMethods, getNameInScript, getNonValueProperties, getObjectClassName, getObjectCustomClassName, getObjectReference, getOwnedObjects, getOwner, getParent, getProcess, getProperties, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTopMappableParent, getTopParent, hashCode, invoke, invoke, invoke, invokeProxy, invokeProxy, isHtmlWebui, isLoggedDuringUnregister, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, performTest, setIndexer, setIndexer, setLoggedDuringUnregister, setMapProperties, setProperty, toString, updateTestData, waitForExistenceclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontextHelpclick, 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, nClickDragToScreenPointpublic 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.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