|
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.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
public class FrameTestObject
Represents frame objects in the system under test. These controls must be acted upon in a consistent and resilient fashion across the various supported platforms.
| Field Summary |
|---|
| Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
|---|
ref |
| Constructor Summary | |
|---|---|
FrameTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use. |
|
FrameTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use. |
|
FrameTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use. |
|
FrameTestObject(TestObject obj)
Construct one FrameTestObject from a TestObject. |
|
FrameTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the associated frame. |
void |
contextHelp()
Activates the window's context-sensitive Help mode. |
boolean |
isIconified()
This will check whether the frame is iconfied or not |
void |
maximize()
Maximizes the associated frame. |
void |
minimize()
Iconifies the associated frame.. |
void |
move(java.awt.Point screenPt)
Moves the frame to the specified location within parent. |
void |
resize(int width,
int height)
Resizes the frame to the specified width and height. |
void |
restore()
Restores the associated frame. |
| 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.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 FrameTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public FrameTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
public FrameTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
public FrameTestObject(com.rational.test.ft.object.TestObjectReference ref)
public FrameTestObject(TestObject obj)
FrameTestObject from a TestObject. Both are references to the same object.
| Method Detail |
|---|
public void close()
close in interface IFrameclassicsJava().close(); Here classicsJava is of type TopLevelTestObject and i have used
the ClassicjavaA as Application under test.public void maximize()
maximize in interface IFrameclassicsJava().maximize(); Here classicsJava is of type TopLevelTestObject and i have used
the ClassicjavaA as Application under test.public void minimize()
minimize in interface IFrameclassicsJava().minimize(); Here classicsJava is of type TopLevelTestObject and i have used
the ClassicjavaA as Application under test.public void restore()
restore in interface IFrameclassicsJava().restore(); Here classicsJava is of type TopLevelTestObject and i have used
the ClassicjavaA as Application under test.public boolean isIconified()
isIconified in interface IFrametrue if the frame is iconified.
A frame cannot be iconified return false.classicsJava().isIconified(); Here classicsJava is of type TopLevelTestObject and i have used
the ClassicjavaA as Application under test.
public void resize(int width,
int height)
resize in interface IFramewidth - - The width to set for the frameheight - - The height to set for the frameclassicsJava().resize(500,600); Here classicsJava is of type TopLevelTestObject and i have used
the ClassicjavaA as Application under test.public void move(java.awt.Point screenPt)
move in interface IFramescreenPt - - The point where you want to move the frameclassicsJava().move(new Point(100,100)); Here classicsJava is of type TopLevelTestObject and i have used
the ClassicjavaA as Application under test.public void contextHelp()
contextHelp in interface IFrameclassicsJava().contextHelp(); Here classicsJava is of type TopLevelTestObject and i have used
the ClassicjavaA as Application under test.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||