|
IBM Rational Functional Tester Version 8.1.1000 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.FrameTestObject
com.rational.test.ft.object.interfaces.TopLevelTestObject
com.rational.test.ft.object.interfaces.BrowserTestObject
public class BrowserTestObject
Provides script access to the general browser, which is the HTML Browser TestObject class.
| Field Summary |
|---|
| Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
|---|
ref |
| Fields inherited from interface com.rational.test.ft.object.interfaces.ITopWindow |
|---|
INPUTCHARS_METHOD, INPUTKEYS_METHOD |
| Constructor Summary | |
|---|---|
BrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use. |
|
BrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
For internal use. |
|
BrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
For internal use. |
|
BrowserTestObject(TestObject obj)
Constructs one TestObject from another. |
|
BrowserTestObject(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.TopLevelTestObject |
|---|
activate, clickDisabled, close, inputChars, inputKeys, isIconified, maximize, minimize, move, resize, restore |
| Methods inherited from class com.rational.test.ft.object.interfaces.FrameTestObject |
|---|
contextHelp |
| 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, 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, invoke, invokeProxy, unregister, waitForExistence |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rational.test.ft.object.interfaces.IFrame |
|---|
contextHelp |
| Methods inherited from interface com.rational.test.ft.object.interfaces.IGraphical |
|---|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
| Constructor Detail |
|---|
public BrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public BrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
public BrowserTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public BrowserTestObject(com.rational.test.ft.object.TestObjectReference ref)
public BrowserTestObject(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 IBrowserObjectpublic 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 | |||||||||