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 SiebApplicationTestObject

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

public class SiebApplicationTestObject
extends SiebTestObject

Provides script access to SiebApplication.TestObject class.

Since:
RFT1.0

Field Summary
static java.lang.String CLASSNAME
           
 
Constructor Summary
SiebApplicationTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
SiebApplicationTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
SiebApplicationTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
SiebApplicationTestObject(TestObject obj)
          Constructs one TestObject from another.
SiebApplicationTestObject(com.rational.test.ft.object.TestObjectReference ref)
          For internal use.
 
Method Summary
 int getBusyTime()
          Integer GetBusyTime() Returns the time (in milliseconds) it took Siebel Application Client to become idle when the Siebel Application UI changed from standard- to high-interactivity.
 int getClassCount(java.lang.String className)
          Integer GetClassCount (ClassName) Returns the number of objects of the specified type.
 int getLastErrorCode()
          Integer GetLastErrorCode() Returns the last error code issued.
 java.lang.String getLastErrorMessage()
          String GetLastErrorMessage() Returns the last error message issued.
 java.lang.String getLastOpId()
          String GetLastOpId() Returns the Id of the previous operation.
 int getLastOpTime()
          Integer GetLastOpTime() Returns the time (in milliseconds) it took to execute the previous operation.
 SiebMenuTestObject getMenuItem(java.lang.String repositoryName)
           
 SiebMenuTestObjectDictionary getMenuItems()
           
 java.lang.String getRepositoryName(java.lang.String className, java.lang.String uIName)
          String GetRepositoryName (ClassName, UIName) Returns the RepositoryName of the object.
 java.lang.String getRepositoryNameByIndex(java.lang.String className, int index)
          String GetRepositoryNameByIndex (ClassName, ClassIndex) Returns the RepositoryName of the object.
 SiebScreenTestObject getScreen(java.lang.String repositoryName)
           
 SiebScreenTestObjectDictionary getScreens()
           
 java.lang.String getSessionId()
          String GetSessionId() Returns the Id of current session.
static SiebApplicationTestObject getSiebelApplication(java.lang.String applicationName)
           
 SiebPageTabsTestObject getTabPage()
           
 SiebToolbarTestObject getToolbar(java.lang.String repositoryName)
           
 SiebToolbarTestObjectDictionary getToolbars()
           
 void processKeyboardAccelerator(java.lang.String keys)
          ProcessKeyboardAccelerator (AccelKeys) Executes keyboard accelerators.
 void setTimeOut(int newTimeOutInSecs)
          Integer SetTimeOut (TimeOutSeconds) Sets the maximum length of time (in seconds) that the test tool waits for the application to return from an operation before executing the next line of script.
 void sync()
          Sync Synchronizes the automation framework with the Siebel application.
 
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

SiebApplicationTestObject

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

Since:
RFT1.0

SiebApplicationTestObject

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

Since:
RFT1.0

SiebApplicationTestObject

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

Since:
RFT1.0

SiebApplicationTestObject

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

Since:
RFT1.0

SiebApplicationTestObject

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

Since:
RFT1.0
Method Detail

processKeyboardAccelerator

public void processKeyboardAccelerator(java.lang.String keys)
ProcessKeyboardAccelerator (AccelKeys) Executes keyboard accelerators. AccelKeys is a string that specifies the accelerator keys to execute (for example, F9 or Ctrl-Shift-K).

Since:
RFT1.0

sync

public void sync()
Sync Synchronizes the automation framework with the Siebel application.

Since:
RFT1.0

getClassCount

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

Since:
RFT1.0

getRepositoryNameByIndex

public java.lang.String getRepositoryNameByIndex(java.lang.String className,
                                                 int index)
String GetRepositoryNameByIndex (ClassName, ClassIndex) Returns the RepositoryName of the object. ClassName = the class of the object, ClassIndex = the index (starting at zero) of the object in the value returned from the GetClassCount method.

Since:
RFT1.0

getRepositoryName

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

Since:
RFT1.0

getLastErrorCode

public int getLastErrorCode()
Integer GetLastErrorCode() Returns the last error code issued.

Since:
RFT1.0

getLastErrorMessage

public java.lang.String getLastErrorMessage()
String GetLastErrorMessage() Returns the last error message issued.

Since:
RFT1.0

setTimeOut

public void setTimeOut(int newTimeOutInSecs)
Integer SetTimeOut (TimeOutSeconds) Sets the maximum length of time (in seconds) that the test tool waits for the application to return from an operation before executing the next line of script. When timeout is exceeded, the test tool halts the script and displays an error. TimeOutSeconds is an Integer that indicates the number of seconds.

Since:
RFT2.1

getLastOpTime

public int getLastOpTime()
Integer GetLastOpTime() Returns the time (in milliseconds) it took to execute the previous operation.

Since:
RFT1.0

getBusyTime

public int getBusyTime()
Integer GetBusyTime() Returns the time (in milliseconds) it took Siebel Application Client to become idle when the Siebel Application UI changed from standard- to high-interactivity.

Since:
RFT1.0

getLastOpId

public java.lang.String getLastOpId()
String GetLastOpId() Returns the Id of the previous operation.

Since:
RFT1.0

getSessionId

public java.lang.String getSessionId()
String GetSessionId() Returns the Id of current session.

Since:
RFT1.0

getSiebelApplication

public static SiebApplicationTestObject getSiebelApplication(java.lang.String applicationName)

getScreen

public SiebScreenTestObject getScreen(java.lang.String repositoryName)

getScreens

public SiebScreenTestObjectDictionary getScreens()

getToolbar

public SiebToolbarTestObject getToolbar(java.lang.String repositoryName)

getToolbars

public SiebToolbarTestObjectDictionary getToolbars()

getMenuItem

public SiebMenuTestObject getMenuItem(java.lang.String repositoryName)

getMenuItems

public SiebMenuTestObjectDictionary getMenuItems()

getTabPage

public SiebPageTabsTestObject getTabPage()