public class DialogTestObject extends TopLevelTestObject
FileDialogTestObject
,
MessageBoxTestObject
,
ColorDialogTestObject
ignoreTheObjectState, ref
INPUTCHARS_METHOD, INPUTKEYS_METHOD
Constructor and Description |
---|
DialogTestObject(SpyMappedTestObject mappedObject)
For internal use.
|
DialogTestObject(SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use.
|
DialogTestObject(SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use.
|
DialogTestObject(TestObjectReference ref)
For internal use.
|
Modifier and Type | Method and Description |
---|---|
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.
|
activate, clickDisabled, inputChars, inputKeys, isIconified, maximize, minimize, move, resize, restore
contextHelp
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
exists, exists, exists, find, find, findAndInvoke, findAndInvokeProxy, getProperty, getTestDataTypes, invoke, invokeProxy, unregister, waitForExistence
compare, 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, isLoggedDuringUnregister, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, performTest, setIndexer, setIndexer, setLoggedDuringUnregister, setMapProperties, setProperty, toString, updateTestData, waitForExistence
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contextHelp
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
public DialogTestObject(SpyMappedTestObject mappedObject)
public DialogTestObject(SpyMappedTestObject mappedObject, TestObject anchor)
public DialogTestObject(SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public DialogTestObject(TestObjectReference ref)
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 IFrame
close
in class TopLevelTestObject
dialog().close();