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

Project Version 2.3

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

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.siebel.SiebTestObject
                  extended by com.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
           
 
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject
ref
 
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 processKey(java.lang.String KeyName)
          Invokes the Enter key inside the control.
 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
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, 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
 

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.

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

processKey

public void processKey(java.lang.String KeyName)
Invokes the Enter key inside the control. ProcessKey takes one argument, which may only be "Enter" This API is supported on Siebel7.8 and later versions

Parameters:
controlRepName - the repository name of the Control
Since:
RFT2.1