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 SiebPicklistTestObject

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.SiebPicklistTestObject
All Implemented Interfaces:
IGraphical, ISiebTestObject

public class SiebPicklistTestObject
extends SiebTestObject

Provides script access to the SiebPicklist.TestObject class.

Since:
RFT2.1

Field Summary
static java.lang.String CLASSNAME
           
 
Constructor Summary
SiebPicklistTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
SiebPicklistTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
SiebPicklistTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
SiebPicklistTestObject(TestObject obj)
          Constructs one TestObject from another.
SiebPicklistTestObject(com.rational.test.ft.object.TestObjectReference ref)
          For internal use.
 
Method Summary
 java.lang.String getItemByIndex(int index)
          Returns the visible text of the picklist item.
 boolean isExists(java.lang.String lOVItem)
          Returns a Boolean value indicating whether or not the specified picklist item exists.
 void select(java.lang.String lOVItem)
          Selects an item from the picklist.
 void setText(java.lang.String text)
          Enters text in the picklist control (for example, when composing a query).
 
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

SiebPicklistTestObject

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

Since:
RFT2.1

SiebPicklistTestObject

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

Since:
RFT2.1

SiebPicklistTestObject

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

Since:
RFT2.1

SiebPicklistTestObject

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

Since:
RFT2.1

SiebPicklistTestObject

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

Since:
RFT2.1
Method Detail

select

public void select(java.lang.String lOVItem)
Selects an item from the picklist. ItemName is a String that specifies the visible text of the picklist item.

Parameters:
lOVItem - the visible text of the picklist item
Since:
RFT2.1

setText

public void setText(java.lang.String text)
Enters text in the picklist control (for example, when composing a query). TextValue is a String that specifies the text to enter. The SetText event fails on picklists that are used as applet toggle controls.

Parameters:
text - the text to enter
Since:
RFT2.1

getItemByIndex

public java.lang.String getItemByIndex(int index)
Returns the visible text of the picklist item.

Parameters:
index - the index (starting at zero) of the object in the Count property.
Returns:
The visible text of the picklist item
Since:
RFT2.1

isExists

public boolean isExists(java.lang.String lOVItem)
Returns a Boolean value indicating whether or not the specified picklist item exists. Returns true if the specified picklist item exists or false otherwise

Parameters:
lOVItem - the visible text of the picklist item
Returns:
true if the specified picklist item exists or false otherwise
Since:
RFT2.1