|
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.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, 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, 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 ITopWindow
keys
- the characters to be processed by this windowpublic void inputChars(java.lang.String keys)
inputChars
in interface ITopWindow
keys
- The characters to be processed by this windowpublic void activate()
activate
in interface ITopWindow
public void close()
close
in interface IFrame
close
in class FrameTestObject
public void maximize()
maximize
in interface IFrame
maximize
in class FrameTestObject
public void minimize()
minimize
in interface IFrame
minimize
in class FrameTestObject
public void restore()
restore
in interface IFrame
restore
in class FrameTestObject
public boolean isIconified()
true
if the top-level window is iconified.
isIconified
in interface IFrame
isIconified
in class FrameTestObject
true
if the frame is iconified.
A frame cannot be iconified return false
.public void resize(int width, int height)
resize
in interface IFrame
resize
in class FrameTestObject
width
- - The width to set for the frameheight
- - The height to set for the framepublic void move(java.awt.Point screenPt)
move
in interface IFrame
move
in class FrameTestObject
screenPt
- - 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 |