|
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 |
Supported by objects that represent HTML browser objects.
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. |
Method Detail |
public boolean back()
true
when the navigation starts; false
when there is no previous page.public boolean forward()
true
when the navigation starts; false
when there is no previous page.public boolean home()
true
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)
url
- 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)
url
- URL-identified page to load into browser
true
when the page load starts; false
if the page does not load.public void deleteCookies()
UnableToDeleteCookieException
- if the cookie can not be deletedpublic void deleteCookies(java.lang.String cookie, boolean recursive)
cookie
for the current profile/user.
There is an option to perform a recursive delete.
cookie
- 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/.
CookieNotFoundException
- when the specified cookie can not be found
UnableToDeleteCookieException
- if the cookie can not be deleted
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |