|
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
com.rational.test.ft.object.interfaces.DialogTestObject
public class DialogTestObject
Represents native-style Dialog controls. This interface can be used to make the native-control recording more resilient. Due to disconnects between the host domain and the native-level implementation, these controls typically do not expose all the visible child controls.
FileDialogTestObject,
MessageBoxTestObject,
ColorDialogTestObject| 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 | |
|---|---|
DialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use. |
|
DialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use. |
|
DialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use. |
|
DialogTestObject(TestObject obj)
For internal use. |
|
DialogTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use. |
|
| Method Summary | |
|---|---|
void |
clickAccept()
Clicks on the dialog button that accepts the recognition information. |
void |
clickCancel()
Clicks on the cancel button on the dialog. |
void |
close()
Clicks on the close button on the top right corner of the Dialog |
int |
getStyle()
Allows direct access to the style property on the control. |
java.lang.String |
getText()
Allows direct access to the text property on the control. |
void |
setText(java.lang.String text)
Directly modifies the text on the control. |
| Methods inherited from class com.rational.test.ft.object.interfaces.TopLevelTestObject |
|---|
activate, clickDisabled, inputChars, inputKeys, isIconified, maximize, minimize, move, resize, restore |
| 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 DialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public DialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
public DialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
public DialogTestObject(com.rational.test.ft.object.TestObjectReference ref)
public DialogTestObject(TestObject obj)
| Method Detail |
|---|
public java.lang.String getText()
String text = dialog().getText();public void setText(java.lang.String text)
text - the text to update the control with.public int getStyle()
int style = dialog().getStyle();public void clickAccept()
public void clickCancel()
public void close()
close in interface IFrameclose in class TopLevelTestObjectdialog().close();
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||