4.4.1 Browser

Description:

Synopsis:

New Actions
Name Type Parameters
Go Back e
HTML_WebBrowser_BrowserBackAction
Open URL e

String:URL

HTML_WebBrowser_BrowserGotoAction
Reload page e
HTML_WebBrowser_BrowserReloadAction
Select window with identifier e

String:Identifier
String:Identifier Type

HTML_WebBrowser_BrowserSelectWindow
Select window with title e

String:Window title
String:Operator

HTML_WebBrowser_BrowserSelectWindowWithTitle

Inherited Actions

none


Go Back (Browser)

This action has no parameters.


Open URL (Browser)

Parameters
Name Data Type Values Default
URL String - none


Reload page (Browser)

This action has no parameters.


Select window with identifier (Browser)

Use this action to switch to a new window that your HTML AUT has opened during the test, or to switch back to the main window once you have performed steps in a second window. In order to allow this, you must have specified the AUT as supporting multi-window mode in the AUT configuration.

This action allows you to use the window title or other identifiers to select the window.

Parameters
Name Data Type Values Default
Identifier String - none

Name Data Type Values Default
Identifier Type String title
name
any
none

Choose the type of identifier you are using.

title
If you use the title, this is the window title that you can see at the top of the window. This action only supports equals as a matching operator - if you want to be able to match window titles using regular expressions, use the action Select window with title.
name
You can enter the internal javascript name for the window, if it has one.
any
Use this option to be able to enter a javascript variable for the window. You must enter the variable name and the value, as described at:
http://selenium.googlecode.com/svn/trunk/docs/api/
java/com/thoughtworks/selenium/Selenium.html#selectWindow%28java.lang.String%29 .

\includegraphics[height=2cm]{lightbulb} If you enter the text null for any of these options, the main window will be selected.


Select window with title (Browser)

Use this action to switch to a new window that your HTML AUT has opened during the test, or to switch back to the main window once you have performed steps in a second window. In order to allow this, you must have specified the AUT as supporting multi-window mode in the AUT configuration.

This action allows you to use the window title to select the window. In most cases, this should be sufficient. You can, however, use the action Select wndow with identifier to be able to use other identifiers.

Parameters
Name Data Type Values Default
Window title String - none

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals



Copyright BREDEX GmbH 2014. Made available under the Eclipse Public License v1.0.