|
IBM Rational Functional Tester Version 6.1 IBM Rational Functional Tester API Reference Project Version 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.rational.test.ft.object.interfaces.TestObject
com.rational.test.ft.object.interfaces.GuiTestObject
com.rational.test.ft.object.interfaces.EmbeddedBrowserTestObject
Provides script access
to the general embedded browser, which is the HTML Browser TestObject class.
| Constructor Summary | |
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. |
|
| Method Summary | |
boolean |
back()
Navigates the browser back to the previous page. |
void |
deleteCookies()
Deletes all of the browser's cookies for the current profile/user. |
void |
deleteCookies(java.lang.String cookie,
boolean recursive)
Deletes browser cookies specified by the path in cookie for the current profile/user. |
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. |
| 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, 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, getChildren, 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 |
| Constructor Detail |
public 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.
| Method Detail |
public boolean back()
IBrowserObject
back in interface IBrowserObjecttrue when the navigation starts; false when there is no previous page.public boolean forward()
IBrowserObject
forward in interface IBrowserObjecttrue when the navigation starts; false when there is no previous page.public boolean home()
IBrowserObject
home 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)
IBrowserObject
loadUrl in interface IBrowserObjecturl - URL-identified page to load into browsertarget - name of frame where the page is loaded
true when the page load starts; false if the page does not load.public boolean loadUrl(java.lang.String url)
IBrowserObject
loadUrl in interface IBrowserObjecturl - URL-identified page to load into browser
true when the page load starts; false if the page does not load.public void deleteCookies()
IBrowserObject
deleteCookies in interface IBrowserObject
public void deleteCookies(java.lang.String cookie,
boolean recursive)
IBrowserObjectcookie for the current profile/user.
There is an option to perform a recursive delete.
deleteCookies 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/.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||