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 SiebAppletTestObject

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

public class SiebAppletTestObject
extends SiebTestObject

Provides script access to the SiebApplet.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
SiebAppletTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
SiebAppletTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
SiebAppletTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
SiebAppletTestObject(TestObject obj)
          Constructs one TestObject from another.
SiebAppletTestObject(com.rational.test.ft.object.TestObjectReference ref)
          For internal use.
 
Method Summary
 java.lang.String getActiveControlName()
          Returns the name of the active control of the object.
 int getClassCount(java.lang.String className)
          Returns the number of objects of the specified type.
 SiebTestObject getControl(java.lang.String repositoryName)
          Returns the name of the Siebel control for a given repository name.
 SiebTestObjectDictionary getControls()
          Returns a collection containing Siebel controls of the test object.
 java.lang.String getRepositoryName(java.lang.String className, java.lang.String uIName)
          Returns the RepositoryName of the object.
 java.lang.String getRepositoryNameByIndex(java.lang.String className, int index)
          Returns the repository name of the object for a given classname and index of the object.
 boolean isControlExists(java.lang.String controlName)
          Returns a Boolean value indicating whether or not the specified control exists.
 void setActiveControl(java.lang.String controlRepName)
          Sets the focus on a particular control within a form applet This API is supported on Siebel7.8 and later versions
 
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

SiebAppletTestObject

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

Since:
RFT2.1

SiebAppletTestObject

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

Since:
RFT2.1

SiebAppletTestObject

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

Since:
RFT2.1

SiebAppletTestObject

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

Since:
RFT2.1

SiebAppletTestObject

public SiebAppletTestObject(TestObject obj)
Constructs one TestObject from another. Both are references to the same object. A TestObject provides access to objects in the software under test.

Since:
RFT2.1
Method Detail

getActiveControlName

public java.lang.String getActiveControlName()
Returns the name of the active control of the object.

Returns:
The name of the active control
Since:
RFT2.1

getRepositoryNameByIndex

public java.lang.String getRepositoryNameByIndex(java.lang.String className,                                                  int index)
Returns the repository name of the object for a given classname and index of the object.

Parameters:
className - the class of the object
index - the index (starting at zero) of the object in the value returned from the GetClassCount method.
Returns:
The name of the object in the repository
Since:
RFT2.1

getRepositoryName

public java.lang.String getRepositoryName(java.lang.String className,                                           java.lang.String uIName)
Returns the RepositoryName of the object.

Parameters:
className - The class of the object
uIName - The name of the object in the user interface
Returns:
The name of the object in the repository
Since:
RFT2.1

isControlExists

public boolean isControlExists(java.lang.String controlName)
Returns a Boolean value indicating whether or not the specified control exists. Returns true if the control exists or false if the control does not exist.

Parameters:
controlName - the name of the control
Returns:
true if the control exists, false if the control does not exist.
Since:
RFT2.1

getClassCount

public int getClassCount(java.lang.String className)
Returns the number of objects of the specified type.

Parameters:
className - the class of the object
Returns:
The number of objects of the specified type
Since:
RFT2.1

setActiveControl

public void setActiveControl(java.lang.String controlRepName)
Sets the focus on a particular control within a form applet This API is supported on Siebel7.8 and later versions

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

getControl

public SiebTestObject getControl(java.lang.String repositoryName)
Returns the name of the Siebel control for a given repository name.

Parameters:
repositoryName - the name of the repository
Returns:
The Siebel control name
Since:
RFT2.1

getControls

public SiebTestObjectDictionary getControls()
Returns a collection containing Siebel controls of the test object.

Returns:
A collection of Siebel controls of the test object
Since:
RFT2.1