IBM Rational Functional Tester
Version 6.1
IBM Rational Functional Tester API Reference

Project Version 2.0

com.rational.test.ft.object.interfaces.siebel
Class SiebTreeTestObject

java.lang.Object
  extended bycom.rational.test.ft.object.interfaces.TestObject
      extended bycom.rational.test.ft.object.interfaces.GuiTestObject
          extended bycom.rational.test.ft.object.interfaces.siebel.SiebTestObject
              extended bycom.rational.test.ft.object.interfaces.siebel.SiebTreeTestObject
All Implemented Interfaces:
IGraphical, ISiebTestObject

public class SiebTreeTestObject
extends SiebTestObject

Provides script access to SiebTree.TestObject class.

Since:
RFT1.0

Field Summary
static java.lang.String CLASSNAME
           
 
Constructor Summary
SiebTreeTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
SiebTreeTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
SiebTreeTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
SiebTreeTestObject(TestObject obj)
          Constructs one TestObject from another.
SiebTreeTestObject(com.rational.test.ft.object.TestObjectReference ref)
          For internal use.
 
Method Summary
 void collapse(Subitem pathOrIndex)
          Collapse (Position) Collapses a node in the tree view.
 void expand(Subitem pathOrIndex)
          Expand (Position) Expands a node in the tree view.
 int getChildCount(Subitem pathOrIndex)
          Integer GetChildCount (Position) Returns the number of child nodes of the tree item that are displayed on the current page.
 java.lang.String getTreeItemName(Subitem pathOrIndex)
          String GetTreeItemName (Position) Returns the visible text of the specified tree item.
 boolean isExists(Subitem pathOrIndex)
          Boolean IsExists (Position) Returns a Boolean value indicating whether the specified object exists (TRUE) or does not exist (FALSE).
 boolean isExpanded(Subitem pathOrIndex)
          Boolean IsExpanded (Position)
 boolean isSelected(Subitem pathOrIndex)
          Boolean IsSelected (Position)
 void nextPage()
          NextPage Scrolls the tree view to the next page.
 void previousPage()
          PreviousPage Scrolls the tree view to the previous page.
 void select(java.lang.String position)
          Select (Position) Selects a node in the tree view.
 void select(Subitem pathOrIndex)
          Select (Position) Selects a node in the tree view.
 
Methods inherited from class com.rational.test.ft.object.interfaces.siebel.SiebTestObject
atChild, atChild, atDescendant, atDescendant, getChildOfName, getChildOfName, getChildOfNameAndType, getChildOfNameAndType, getChildOfUIName, getChildOfUIName, getChildOfUINameAndType, getChildOfUINameAndType, getChildren, getChildren, getChildrenOfType, getChildrenOfType, getDescendantsOfName, getDescendantsOfName, getDescendantsOfNameAndType, getDescendantsOfNameAndType, getDescendantsOfType, getDescendantsOfType, getDescendantsOfUIName, getDescendantsOfUIName, getDescendantsOfUINameAndType, getDescendantsOfUINameAndType, submit, submit, submit, submit, submit, submit
 
Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject
click, click, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, 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.TestObject
equals, exists, find, find, find, findAndInvoke, findAndInvoke, findAndInvokeProxy, getDescribedObject, getDescribedObjects, getDomain, getField, getIndexer, getIndexer, getIndexers, getMappableChildren, getMappableParent, getMethods, getNameInScript, getNonValueProperties, getObjectClassName, getObjectReference, getOwnedObjects, getOwner, getParent, getProcess, getProperties, getProperty, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTestDataTypes, getTopMappableParent, getTopParent, invoke, invoke, invokeProxy, invokeProxy, isMappedObject, isSameObject, setIndexer, setIndexer, setProperty, toString, unregister, updateTestData, waitForExistence, waitForExistence
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME
See Also:
Constant Field Values
Constructor Detail

SiebTreeTestObject

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

Since:
RFT1.0

SiebTreeTestObject

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

Since:
RFT1.0

SiebTreeTestObject

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

Since:
RFT1.0

SiebTreeTestObject

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

Since:
RFT1.0

SiebTreeTestObject

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

Since:
RFT1.0
Method Detail

getChildCount

public int getChildCount(Subitem pathOrIndex)
Integer GetChildCount (Position) Returns the number of child nodes of the tree item that are displayed on the current page. Position = A Subitem (either atPath() or atList()) that indicates the position of the node in the tree

Since:
RFT1.0

getTreeItemName

public java.lang.String getTreeItemName(Subitem pathOrIndex)
String GetTreeItemName (Position) Returns the visible text of the specified tree item. Position = A Subitem (either atPath() or atList()) that indicates the position of the node in the tree * @since RFT1.0


nextPage

public void nextPage()
NextPage Scrolls the tree view to the next page.

Since:
RFT1.0

previousPage

public void previousPage()
PreviousPage Scrolls the tree view to the previous page.

Since:
RFT1.0

expand

public void expand(Subitem pathOrIndex)
Expand (Position) Expands a node in the tree view. Position = A Subitem (either atPath() or atList()) that indicates the position of the node in the tree * @since RFT1.0


collapse

public void collapse(Subitem pathOrIndex)
Collapse (Position) Collapses a node in the tree view. Position = A Subitem (either atPath() or atList()) that indicates the position of the node in the tree * @since RFT1.0


select

public void select(java.lang.String position)
Select (Position) Selects a node in the tree view. Position is a String that indicates the name of the node in the tree.

Since:
RFT1.0

select

public void select(Subitem pathOrIndex)
Select (Position) Selects a node in the tree view. Position = A Subitem (either atPath() or atList()) that indicates the position of the node in the tree * @since RFT1.0


isExpanded

public boolean isExpanded(Subitem pathOrIndex)
Boolean IsExpanded (Position)

Parameters:
pathOrIndex - = A Subitem (either atPath() or atList()) that indicates the position of the node in the tree * @since RFT1.0
Since:
RFT2.1

isSelected

public boolean isSelected(Subitem pathOrIndex)
Boolean IsSelected (Position)

Parameters:
pathOrIndex - = A Subitem (either atPath() or atList()) that indicates the position of the node in the tree * @since RFT1.0
Since:
RFT2.1

isExists

public boolean isExists(Subitem pathOrIndex)
Boolean IsExists (Position) Returns a Boolean value indicating whether the specified object exists (TRUE) or does not exist (FALSE). Position = A Subitem (either atPath() or atList()) that indicates the position of the node in the tree * @since RFT1.0