|
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.SiebApplicationTestObject
public class SiebApplicationTestObject
Provides script access to the SiebApplication.TestObject class.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME
|
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
---|
ref |
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()
Returns the time (in milliseconds) that it took the Siebel Application Client to become idle when the Siebel Application UI changed from standard to high interactivity. |
int |
getClassCount(java.lang.String className)
Returns the number of objects of a specified object type by using the class name of that particular object. |
int |
getLastErrorCode()
Returns the error code issued for the last operation. |
java.lang.String |
getLastErrorMessage()
Returns the last error message issued. |
java.lang.String |
getLastOpId()
Returns the ID of the last operation. |
int |
getLastOpTime()
Returns the time (in milliseconds) that it took to execute the previous operation. |
SiebMenuTestObject |
getMenuItem(java.lang.String repositoryName)
Returns the menu item when given the repository name of the object. |
SiebMenuTestObjectDictionary |
getMenuItems()
Returns the collection of available menu items. |
java.lang.String |
getRepositoryName(java.lang.String className, java.lang.String uIName)
Returns the RepositoryName of the object when given the classname and UI name (name in the user interface). |
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. |
SiebScreenTestObject |
getScreen(java.lang.String repositoryName)
Returns a screen when given the repository name of the object. |
SiebScreenTestObjectDictionary |
getScreens()
Returns a collection of available screens. |
java.lang.String |
getSessionId()
Returns the ID of the current session. |
static SiebApplicationTestObject |
getSiebelApplication(java.lang.String applicationName)
Returns the Siebel application test object for the specified application name. |
SiebPageTabsTestObject |
getTabPage()
Returns the available tab page object. |
SiebToolbarTestObject |
getToolbar(java.lang.String repositoryName)
Returns a toolbar when given the name of a repository. |
SiebToolbarTestObjectDictionary |
getToolbars()
Returns a collection of available toolbars |
void |
processKeyboardAccelerator(java.lang.String keys)
Executes the keyboard accelerators. |
int |
setTimeOut(int newTimeOutInSecs)
Sets the maximum time (in seconds) that the test tool waits for the application to return from an operation before executing the next line of a script. |
void |
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 |
---|
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 SiebApplicationTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public SiebApplicationTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
public SiebApplicationTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public SiebApplicationTestObject(com.rational.test.ft.object.TestObjectReference ref)
public SiebApplicationTestObject(TestObject obj)
TestObject
from another.
Both are references to the same object. A TestObject
provides access to objects in the software under test.
Method Detail |
---|
public void processKeyboardAccelerator(java.lang.String keys)
keys
- string that specifies the accelerator keys to execute (for example, F9 or Ctrl-Shift-K). *public void sync()
public int getClassCount(java.lang.String className)
className
- the class of the object public java.lang.String getRepositoryNameByIndex(java.lang.String className, int index)
className
- the class of the objectindex
- the index (starting at zero) of the object in the value returned from the GetClassCount
method.
public java.lang.String getRepositoryName(java.lang.String className, java.lang.String uIName)
RepositoryName
of the object when given the classname and UI name (name in the user interface).
className
- the class of the objectuIName
- the name of the object in the user interface public int getLastErrorCode()
public java.lang.String getLastErrorMessage()
public int setTimeOut(int newTimeOutInSecs)
newTimeOutInSecs
- the new time out in seconds public int getLastOpTime()
public int getBusyTime()
public java.lang.String getLastOpId()
public java.lang.String getSessionId()
public static SiebApplicationTestObject getSiebelApplication(java.lang.String applicationName)
applicationName
- the name of the application public SiebScreenTestObject getScreen(java.lang.String repositoryName)
repositoryName
- the name of the repository public SiebScreenTestObjectDictionary getScreens()
public SiebToolbarTestObject getToolbar(java.lang.String repositoryName)
repositoryName
- the name of the repository public SiebToolbarTestObjectDictionary getToolbars()
public SiebMenuTestObject getMenuItem(java.lang.String repositoryName)
repositoryName
- the name of the repository public SiebMenuTestObjectDictionary getMenuItems()
public SiebPageTabsTestObject getTabPage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |