IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.object.interfaces.WPF
Class WpfTopLevelTestObject

java.lang.Object   extended by com.rational.test.ft.object.interfaces.TestObject
      extended by com.rational.test.ft.object.interfaces.ClientTestObject
          extended by com.rational.test.ft.object.interfaces.GuiTestObject
              extended by com.rational.test.ft.object.interfaces.WPF.WpfVisualTestObject
                  extended by com.rational.test.ft.object.interfaces.WPF.WpfGuiTestObject
                      extended by com.rational.test.ft.object.interfaces.WPF.WpfFrameTestObject
                          extended by com.rational.test.ft.object.interfaces.WPF.WpfTopLevelTestObject
All Implemented Interfaces:
IFrame, IGraphical, ITopWindow, IWpfGraphical

public class WpfTopLevelTestObject
extends WpfFrameTestObject
implements ITopWindow


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
WpfTopLevelTestObject()
          For internal use.
WpfTopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
WpfTopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
WpfTopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
WpfTopLevelTestObject(TestObject obj)
          For internal use.
WpfTopLevelTestObject(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 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.
 
Methods inherited from class com.rational.test.ft.object.interfaces.WPF.WpfFrameTestObject
close, contextHelp, isIconified, maximize, minimize, move, resize, restore
 
Methods inherited from class com.rational.test.ft.object.interfaces.WPF.WpfGuiTestObject
click, click, doubleClick, doubleClick, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getScreenPoint, hover, hover, isPointInObject, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, nClickDragToScreenPoint
 
Methods inherited from class com.rational.test.ft.object.interfaces.WPF.WpfVisualTestObject
GetChildrenAtPoint, GetLogicalChildren, GetLogicalParent, GetVisualChildren, GetVisualParent
 
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 com.rational.test.ft.object.interfaces.TestObject
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, getProperty, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTestDataTypes, getTopMappableParent, getTopParent, hashCode, invoke, invokeProxy, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, performTest, setIndexer, setIndexer, setMapProperties, setProperty, toString, updateTestData, 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
close, contextHelp, isIconified, maximize, minimize, move, resize, restore
 
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

WpfTopLevelTestObject

public WpfTopLevelTestObject()
For internal use.

Since:
RFT8.0

WpfTopLevelTestObject

public WpfTopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,                              TestObject anchor,                              long scriptCommandFlags)
For internal use.

Since:
RFT8.0

WpfTopLevelTestObject

public WpfTopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,                              TestObject anchor)
For internal use.

Since:
RFT8.0

WpfTopLevelTestObject

public WpfTopLevelTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use.

Since:
RFT8.0

WpfTopLevelTestObject

public WpfTopLevelTestObject(TestObject obj)
For internal use.

Since:
RFT8.0

WpfTopLevelTestObject

public WpfTopLevelTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use.

Since:
RFT8.0
Method Detail

inputKeys

public void inputKeys(java.lang.String keys)
Sends the supplied characters to the associated window.

Specified by:
inputKeys in interface ITopWindow
Parameters:
keys - - the characters to be processed by this window
Since:
RFT8.0

activate

public void activate()
Causes the associated window control to become the active window if possible.

Specified by:
activate in interface ITopWindow
Detail description:
If this is not possible, an appropriate exception is thrown. Common causes for the window to not become active are that another window is modal or that the window cannot be displayed.
Since:
RFT8.0

clickDisabled

public void clickDisabled()
Records all actions performed against an inactive window.

Specified by:
clickDisabled in interface ITopWindow
Detail description:
Top objects become inactive when a modal dialog box prevents them from becoming active. Actions against an inactive window cause the topmost modal dialog box to be activated instead of the TestObject.
Since:
RFT8.0

inputChars

public void inputChars(java.lang.String keys)
Sends the supplied characters to the associated window.

Specified by:
inputChars in interface ITopWindow
Parameters:
keys - - The characters to be processed by this window
Detail description:
The window is responsible for sending the characters on to the appropriate controls nested in that window. The characters are uninterpreted. For example, inputChars("+a+b") emits "+a+b", in contrast to inputKeys("+a+b"), which interprets the "+" as a shift and emits "AB".
Since:
RFT8.0