|
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 |
public interface IBrowserObject
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. |
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. |
Method Detail |
---|
boolean back()
true
when the navigation starts;
false
when there is no previous page.browser_htmlBrowser.back();
boolean forward()
true
when the navigation starts;
false
when there is no forward page.browser_htmlBrowser.forward();
boolean home()
true
when the navigation starts;
false
when there is no home page defined for this browser. browser_htmlBrowser.home();
boolean loadUrl(java.lang.String url, java.lang.String target)
url
- 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.browser_htmlBrowser.loadUrl("http://www.ibm.com","logtitle");
boolean loadUrl(java.lang.String url)
url
- string path of the page to load into browser
true
when the page load starts;
false
if the page does not load.browser_htmlBrowser.loadUrl("http://www.ibm.com");
void deleteCookies()
UnableToDeleteCookieException
- if the cookie can not be deletedbrowser_htmlBrowser.deleteCookies();
void deleteCookies(java.lang.String cookie, boolean recursive)
cookie
CookieNotFoundException
- when the specified cookie can not be found
UnableToDeleteCookieException
- if the cookie can not be deletedcookie
- 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/.browser_htmlBrowser.deleteCookies("CookieName",true);
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |