|
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.ShellTestObject
com.rational.test.ft.object.interfaces.EclipseTestObject
public class EclipseTestObject
Provides Script access to Eclipse User Interface.
ShellTestObject| 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 | |
|---|---|
EclipseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use. |
|
EclipseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use. |
|
EclipseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use. |
|
EclipseTestObject(TestObject obj)
Constructs one EclipseTestObject from another TestObject. |
|
EclipseTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCurrentPerspectiveID()
Provide access to the current perspective ID |
void |
openPerspective(java.lang.String perspectiveID)
Open the perspective with the given perspective ID. |
void |
showView(java.lang.String viewId)
Activates a View in the Eclipse. |
| Methods inherited from class com.rational.test.ft.object.interfaces.ShellTestObject |
|---|
getEclipsePlatformObject |
| 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, 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 EclipseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public EclipseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
public EclipseTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
public EclipseTestObject(com.rational.test.ft.object.TestObjectReference ref)
public EclipseTestObject(TestObject obj)
EclipseTestObject from another TestObject.
Both are references to the same object.
| Method Detail |
|---|
public void openPerspective(java.lang.String perspectiveID)
perspectiveID - the perspective ID to activate
EclipseTestObject eto = Eclipse().getEclipsePlatformObject();
if(eto != null)
{
eto.openPerspective("org.eclipse.sdk.ide");
}
public java.lang.String getCurrentPerspectiveID()
EclipseTestObject eto = Eclipse().getEclipsePlatformObject();
if(eto != null)
{
String perspectiveID = eto.getCurrentPerspectiveID();
}
public void showView(java.lang.String viewId)
viewId - The View Id to activate
EclipseTestObject eto = Eclipse().getEclipsePlatformObject();
if(eto != null)
{
eto.showView("com.rational.test.ft.view");
}
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||