public class EmbeddedBrowserTestObject extends GuiTestObject implements IBrowserObject
TestObject class.ignoreTheObjectState, ref| Constructor and Description |
|---|
EmbeddedBrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use.
|
EmbeddedBrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use.
|
EmbeddedBrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use.
|
EmbeddedBrowserTestObject(TestObject obj)
Constructs one
TestObject from another. |
EmbeddedBrowserTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
back()
Navigates the browser back to the previous page
|
void |
deleteCookies()
Deletes all of the browser's cookies.
|
void |
deleteCookies(java.lang.String cookie,
boolean recursive)
Deletes browser cookies specified by the path in
cookie |
boolean |
forward()
Navigates the browser forward to the next page
|
boolean |
home()
Navigates the browser to the default home page.
|
boolean |
loadUrl(java.lang.String url)
Loads the given URL into the browser.
|
boolean |
loadUrl(java.lang.String url,
java.lang.String target)
Loads the given URL into the browser.
|
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 EmbeddedBrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public EmbeddedBrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
public EmbeddedBrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
public EmbeddedBrowserTestObject(com.rational.test.ft.object.TestObjectReference ref)
public EmbeddedBrowserTestObject(TestObject obj)
TestObject from another. Both are references to the same object.public boolean back()
IBrowserObjectback in interface IBrowserObjecttrue when the navigation starts;
false when there is no previous page.public boolean forward()
IBrowserObjectforward in interface IBrowserObjecttrue when the navigation starts;
false when there is no forward page.public boolean home()
IBrowserObjecthome in interface IBrowserObjecttrue when the navigation starts;
false when there is no home page defined for this browser.public boolean loadUrl(java.lang.String url,
java.lang.String target)
IBrowserObjectloadUrl in interface IBrowserObjecturl - string path of the page to load into browsertarget - string name of the HTML frame where page is to be loadedtrue when the page load starts;
false if the page does not load.public boolean loadUrl(java.lang.String url)
IBrowserObjectloadUrl in interface IBrowserObjecturl - string path of the page to load into browsertrue when the page load starts;
false if the page does not load.public void deleteCookies()
IBrowserObjectdeleteCookies in interface IBrowserObjectpublic void deleteCookies(java.lang.String cookie,
boolean recursive)
IBrowserObjectcookiedeleteCookies in interface IBrowserObjectcookie - The full path of the cookie. This is usually the domain followed by the directory
path in which the intended document resides, for example, http://a.com.recursive - If set, all cookies that are children of the path specified in cookie
are deleted, for example, a.com/b/.