public class DocumentTestObject extends GuiTestObject
TestObject class.ignoreTheObjectState, ref| Constructor and Description |
|---|
DocumentTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use.
|
DocumentTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use.
|
DocumentTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use.
|
DocumentTestObject(TestObject obj)
For internal use.
|
DocumentTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
click(Subitem subitem) |
int |
getAjaxCompletedRequests()
Return the count of completed AJAX request
|
int |
getAjaxPendingRequests()
Return the number of pending AJAX request.
|
java.lang.String |
invokeScript(java.lang.String method)
Execute JavaScript in the given page
|
void |
setAjaxTrace(boolean value)
To turn the AJAX Request tracing facility ON or OFF.
|
void |
waitForAjaxCompletedRequests(int noOfCompletedRequests)
Wait untill the specified count of AJAX request are completed
|
void |
waitForAjaxPendingRequests()
Wait until all pending request gets completed.
|
void |
waitForAjaxPendingRequests(int noOfPendingRequests)
Wait for the specified count of pending requests
|
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, switchToexists, exists, exists, find, find, findAndInvoke, findAndInvokeProxy, getProperty, getTestDataTypes, invoke, invokeProxy, unregister, waitForExistencecompare, compare, compareAndLog, compareAndLog, equals, find, findAndInvoke, getActualData, getChildren, 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, isHtmlWebui, isLoggedDuringUnregister, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, performTest, setIndexer, setIndexer, setLoggedDuringUnregister, setMapProperties, setProperty, toString, updateTestData, waitForExistencepublic DocumentTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
DocumentTestObject.public DocumentTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
DocumentTestObject.public DocumentTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
DocumentTestObject.public DocumentTestObject(com.rational.test.ft.object.TestObjectReference ref)
DocumentTestObject from another TestObjectReference.
Both are references to the same object.public DocumentTestObject(TestObject obj)
TestObject from another. Both are references to the same object.public void setAjaxTrace(boolean value)
value - true for turning ON, false for turning OFFgetAjaxPendingRequests() API. Similarly,
the number completed AJAX requests also get stored and
can be retrieve using getAjaxCompletedRequests() API.document_ibmIndia().setAjaxTrace(true);public int getAjaxPendingRequests()
document_ibmIndia().setAjaxTrace(true);
int pendingRequest = document_ibmIndia().getAjaxPendingRequests();
document_ibmIndia().setAjaxTrace(false);
public void waitForAjaxPendingRequests()
document_ibmIndia().setAjaxTrace(true);
document_ibmIndia().waitForAjaxPendingRequests();
document_ibmIndia().setAjaxTrace(false);
public void waitForAjaxPendingRequests(int noOfPendingRequests)
AjaxWaitTimeOutException() - on timeout.noOfPendingRequests - - number of allowed pending requests
document_ibmIndia().setAjaxTrace(true);
document_ibmIndia().waitForAjaxPendingRequests(2);
document_ibmIndia().setAjaxTrace(false);
getAjaxPendingRequests()public int getAjaxCompletedRequests()
document_ibmIndia().setAjaxTrace(true);
int numCompletedRequest = document_ibmIndia().getAjaxCompletedRequests();
document_ibmIndia().setAjaxTrace(false);
public void waitForAjaxCompletedRequests(int noOfCompletedRequests)
AjaxWaitTimeOutException() - on timeout.noOfCompletedRequests - - number of completed requests to wait
document_ibmIndia().setAjaxTrace(true);
int numCompletedRequest = document_ibmIndia().waitForAjaxCompletedRequests(2);
document_ibmIndia().setAjaxTrace(false);
public java.lang.String invokeScript(java.lang.String method)
method - java.lang.String the JavaScript method nameDocumentTestObject object.
Internally uses EvalString() API provided by the Browsers to execute the script.document_ibmIndia().invokeScript("verifyCred('username', 'password')");
public void click(Subitem subitem)