|
IBM Rational Functional Tester Version 8.1.1000 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.Object com.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.siebel.SiebTestObject com.rational.test.ft.object.interfaces.siebel.SiebTreeTestObject
public class SiebTreeTestObject
Provides script access to the SiebTree.TestObject class.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME
|
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
---|
ref |
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)
Collapses a node in the tree view. |
void |
expand(Subitem pathOrIndex)
Expands a node in the tree view. |
int |
getChildCount(Subitem pathOrIndex)
Finds the tree item and returns the number of child nodes of the tree item that are displayed on the current page. |
java.lang.String |
getTreeItemName(Subitem pathOrIndex)
Finds the tree item and returns the visible text of the specified tree item. |
boolean |
isExists(Subitem pathOrIndex)
Returns a Boolean value indicating whether the specified object exists (TRUE) or does not exist (FALSE). |
boolean |
isExpanded(Subitem pathOrIndex)
Returns a Boolean value indicating whether the specified tree node is expanded (TRUE) or collapsed (FALSE). |
boolean |
isSelected(Subitem pathOrIndex)
Returns a Boolean value indicating whether the specified tree node is selected (TRUE) or not selected (FALSE). |
void |
nextPage()
Scrolls the tree view to the next page. |
void |
previousPage()
Scrolls the tree view to the previous page. |
void |
select(java.lang.String position)
Selects a node in the tree view. |
void |
select(Subitem pathOrIndex)
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 |
---|
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 java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASSNAME
Constructor Detail |
---|
public SiebTreeTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public SiebTreeTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
public SiebTreeTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public SiebTreeTestObject(com.rational.test.ft.object.TestObjectReference ref)
public SiebTreeTestObject(TestObject obj)
TestObject
from another. Both are references to the same object.
Method Detail |
---|
public int getChildCount(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the tree public java.lang.String getTreeItemName(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the tree public void nextPage()
public void previousPage()
public void expand(Subitem pathOrIndex)
pathOrIndex
- A Subitem (either atPath() or atList()) that indicates the position of the node in the treepublic void collapse(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the treepublic void select(java.lang.String position)
position
- the position of the node (in the CAS supported format) in the treepublic void select(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the treepublic boolean isExpanded(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the tree true
if the specified tree node is expanded or false
if collapsedpublic boolean isSelected(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the tree true
if the specified tree node is selected or false
otherwisepublic boolean isExists(Subitem pathOrIndex)
pathOrIndex
- a Subitem (either atPath() or atList()) that indicates the position of the node in the tree true
if the specified object exists. false
if it doesn not exist.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |