|
IBM Rational Functional Tester Version 8.2.1 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.Objectcom.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.EmbeddedBrowserTestObject
public class EmbeddedBrowserTestObject
Provides script access
to the general embedded browser, which is the HTML Browser TestObject class.
| Field Summary |
|---|
| Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
|---|
ref |
| 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. |
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. |
| 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, getIWindow, getRole, 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, getProperty, getTestDataTypes, invoke, invokeProxy, unregister, waitForExistence |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, 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 forward 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 - string path of the page to load into browsertarget - string name of the HTML frame where page is to be 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 - string path of the 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
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 | |||||||||