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

Project Version 2.3

com.rational.test.ft.object.interfaces
Class ShellTestObject

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.FrameTestObject
                  extended by com.rational.test.ft.object.interfaces.TopLevelTestObject
                      extended by com.rational.test.ft.object.interfaces.ShellTestObject
All Implemented Interfaces:
IFrame, IGraphical, ITopWindow
Direct Known Subclasses:
EclipseTestObject

public class ShellTestObject
extends TopLevelTestObject

Represents org.eclipse.swt.widgets.Shell objects in the System Under Test. The TestObject provides access to the various actions that can be performed on the org.eclipse.swt.widgets.Shell.

Since:
RFT8.0
See Also:
TopLevelTestObject, EclipseTestObject

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
ShellTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
ShellTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
ShellTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
ShellTestObject(TestObject obj)
          Constructs one ShellTestObject from another TestObject.
ShellTestObject(com.rational.test.ft.object.TestObjectReference ref)
          For internal use.
 
Method Summary
 EclipseTestObject getEclipsePlatformObject()
          Provide access to Eclipse User Interface.
 
Methods inherited from class com.rational.test.ft.object.interfaces.TopLevelTestObject
activate, clickDisabled, close, 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, 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
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

ShellTestObject

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

Since:
RFT8.0

ShellTestObject

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

Since:
RFT8.0

ShellTestObject

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

Since:
RFT8.0

ShellTestObject

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

Since:
RFT8.0

ShellTestObject

public ShellTestObject(TestObject obj)
Constructs one ShellTestObject from another TestObject. Both are references to the same object.

Since:
RFT8.0
Method Detail

getEclipsePlatformObject

public EclipseTestObject getEclipsePlatformObject()
Provide access to Eclipse User Interface.

Returns:
EclipseTestObject if the Shell is part of Eclipse, otherwise null.
Detail description:
Returns EclipseTestObject If the org.eclipse.swt.widgets.Shell is part of Eclipse Platform, otherwise null.
Example:

EclipseTestObject eto = Eclipse().getEclipsePlatformObject();
Since:
RFT8.0