public class SiebApplicationTestObject extends SiebTestObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME |
ignoreTheObjectState, ref
Constructor and Description |
---|
SiebApplicationTestObject(SpyMappedTestObject mappedObject)
For internal use.
|
SiebApplicationTestObject(SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use.
|
SiebApplicationTestObject(SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use.
|
SiebApplicationTestObject(TestObjectReference ref)
For internal use.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
canTakeVP, click, click, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getClippedScreenRectangle, getImage, getImage, getIWindow, getRole, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getVisibleArea, hasFocus, hover, hover, hover, hover, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint
exists, exists, exists, find, find, findAndInvoke, findAndInvokeProxy, getProperty, getTestDataTypes, invoke, invokeProxy, unregister, waitForExistence
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, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTopMappableParent, getTopParent, hashCode, invoke, invoke, invoke, invokeProxy, invokeProxy, isLoggedDuringUnregister, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, performTest, setIndexer, setIndexer, setLoggedDuringUnregister, setMapProperties, setProperty, toString, updateTestData, waitForExistence
public static final java.lang.String CLASSNAME
public SiebApplicationTestObject(SpyMappedTestObject mappedObject)
public SiebApplicationTestObject(SpyMappedTestObject mappedObject, TestObject anchor)
public SiebApplicationTestObject(SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public SiebApplicationTestObject(TestObjectReference ref)
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 objectpublic 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 interfacepublic int getLastErrorCode()
public java.lang.String getLastErrorMessage()
public int setTimeOut(int newTimeOutInSecs)
newTimeOutInSecs
- the new time out in secondspublic 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 applicationpublic SiebScreenTestObject getScreen(java.lang.String repositoryName)
repositoryName
- the name of the repositorypublic SiebScreenTestObjectDictionary getScreens()
public SiebToolbarTestObject getToolbar(java.lang.String repositoryName)
repositoryName
- the name of the repositorypublic SiebToolbarTestObjectDictionary getToolbars()
public SiebMenuTestObject getMenuItem(java.lang.String repositoryName)
repositoryName
- the name of the repositorypublic SiebMenuTestObjectDictionary getMenuItems()
public SiebPageTabsTestObject getTabPage()