5.2.6 Menu Bar

Description:

Figure 5.10: Menu Bar
Image Menu

Because the forward slash (/) is a special symbol for menus, if you want to use a slash as part of your parameter value, you have to mask it. See the section later in this document 9 for more details.

Mapping menu bars

Menu bars do not need to be mapped in the Object Mapping Mode as they are automatically found during test execution.

\includegraphics[height=2cm]{lightbulb} Actions on menus are not supported in the HTML toolkit.

Synopsis:

New Actions
Name Type Parameters
Check Enablement of Entry by Indexpath e

String:Indexpath
Boolean:Enabled

CONCRETE_MenuBar_VerifyEnabledByIndexpath
Check Enablement of Entry by Textpath e

String:Menupath
String:Operator
Boolean:Enabled

CONCRETE_MenuBar_VerifyEnabledByTextpath
Check Existence of Entry by Indexpath e

String:Indexpath
Boolean:Exists

CONCRETE_MenuBar_VerifyExistsByIndexpath
Check Existence of Entry by Textpath e

String:Menupath
String:Operator
Boolean:Exists

CONCRETE_MenuBar_VerifyExistsByTextpath
Check Selection of Entry by Indexpath e

String:Indexpath
Boolean:Selected

CONCRETE_MenuBar_VerifySelectedByIndexpath
Check Selection of Entry by Textpath e

String:Menupath
String:Operator
Boolean:Selected

CONCRETE_MenuBar_VerifySelectedByTextpath
Select Menu Entry by Indexpath e

String:Indexpath

CONCRETE_MenuBar_SelectMenuItemByIndexpath
Select Menu Entry by Textpath e

String:Menupath
String:Operator

CONCRETE_MenuBar_SelectMenuItem
Wait for Component e

Integer:Timeout in ms
Integer:Delay after Visibility

CONCRETE_MenuBar_WaitForComponent

Inherited Actions

none


Check Enablement of Entry by Indexpath (Menu Bar)

Parameters
Name Data Type Values Default
Indexpath String - none

Use this parameter to specify the menupath to the item you want to check.Make sure you give the whole menupath (start from the very beginning of the menu).

Name Data Type Values Default
Enabled Boolean true
false
true


Check Enablement of Entry by Textpath (Menu Bar)

Parameters
Name Data Type Values Default
Menupath String - none

Use this parameter to specify the menupath to the item you want to check. Make sure you enter the whole menupath.

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

Name Data Type Values Default
Enabled Boolean true
false
true


Check Existence of Entry by Indexpath (Menu Bar)

Parameters
Name Data Type Values Default
Indexpath String - none

Use this parameter to specify the menupath to the item you want to check. Make sure you give the whole menupath (start from the very beginning of the menu).

Name Data Type Values Default
Exists Boolean true
false
true


Check Existence of Entry by Textpath (Menu Bar)

Parameters
Name Data Type Values Default
Menupath String - none

Use this parameter to specify the menupath to the item you want to check. Make sure you enter the whole path.

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

Name Data Type Values Default
Exists Boolean true
false
true


Check Selection of Entry by Indexpath (Menu Bar)

Parameters
Name Data Type Values Default
Indexpath String - none

Use this parameter to specify the menupath to the item you want to check. Make sure you give the whole menupath (start from the very beginning of the menu).

Name Data Type Values Default
Selected Boolean true
false
true


Check Selection of Entry by Textpath (Menu Bar)

Parameters
Name Data Type Values Default
Menupath String - none

Use this parameter to specify the menupath to the item you want to check. Make sure you enter the whole path.

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

Name Data Type Values Default
Selected Boolean true
false
true


Select Menu Entry by Indexpath (Menu Bar)

Parameters
Name Data Type Values Default
Indexpath String - none

Use this parameter to specify the menupath to the item you want to select.Make sure you give the whole menupath (start from the very beginning of the menu).


Select Menu Entry by Textpath (Menu Bar)

Parameters
Name Data Type Values Default
Menupath String - none

Use this parameter to specify the menupath to the item you want to select. Make sure you enter the whole path.

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


Wait for Component (Menu Bar)

Parameters
Name Data Type Values Default
Timeout in ms Integer - 1000

Name Data Type Values Default
Delay after Visibility Integer - 200



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