Keywords (78)

Introduction

A resource file containing all global keywords to help Yangman GUI and functional testing.

Keywords

Arguments

branch_label id/ref/prefix_part index/key

Documentation

Clicks form list item with given index or key is visible.

Arguments

index

Documentation

Clicks indexed module`s config to load module detail config tab.

Arguments

index

Documentation

Clicks indexed module`s operational to load module detail operational tab.

Arguments

index

Documentation

Clicks indexed module`s operations to load module detail operations tab.

Arguments

module_detail_branch_indexed

Documentation

Click indexed branch in module detail.

Documentation

Collapses all branches in module detail active operations or operational or config tab.

Arguments

index

Documentation

Composes and returns string - branch id in the format branch-${index}.

Arguments

operation_id selected_operation_name selected_true_false

Documentation

Selects operation, selects or unselects fill form with received data after execution checkbox.

Arguments

operation_id selected_operation_name selected_true_false desired_code_regexp

Documentation

Selects operation, selects or unselects fill form with received data after execution checkbox and verifies that execution status matches regexp provided as an argument.

Documentation

Closes opened/ expanded dialogs/ menus by clicking the backdrop.

Documentation

Expands all branches in module detail active operations or operational or config tab.

Arguments

module_name module_id_index

Documentation

Clicks module list item in modules tab to expand the item and display its operations/ operational/ config items. Arguments are either module name, or module id index, that is a number, or ${EMPTY}, if the option is not used.

Arguments

module_name module_id_index

Documentation

Clicks module list item in modules tab and then clicks its config item to load operational tab in module detail. Arguments are either module name, or module id index, that is a number, or ${EMPTY}, if the option is not used.

Arguments

module_name module_id_index

Documentation

Clicks module list item in modules tab and then clicks its operational item to load operational tab in module detail. Arguments are either module name, or module id index, that is a number, or ${EMPTY}, if the option is not used.

Arguments

branch_label_curly_braces_part text

Documentation

Returns labelled form input field and inputs the text provided as an argument into it.

Documentation

Loads and expands network-topology top element container.

Documentation

Expands network-topology branch in testing module detail and clicks topology {topology-id} branch to load topology list node in form.

Documentation

Expands network-topology branch in testing module detail and clicks topology {topology-id} branch to load topology list node in form.

Documentation

Verifies that module tab is selected and history and collection tabs are unselected.

Arguments

label

Documentation

Returns xpath of labelled element yangmenu in form and clicks the yangmenu.

Arguments

branch_label

Documentation

Returns and click Click indexed branch in module detail.

Arguments

branch_label

Documentation

Returns string - curly braces part of label of indexed branch in module detail without curly braces.

Arguments

branch_label

Documentation

Returns string - part of label of indexed branch in module detail without curly braces part.

Arguments

branch_label

Documentation

Returns xpath toggle button of labelled branch in module detail and clicks it.

Arguments

branch_label branch_label_curly_braces_part index_or_key

Documentation

Returns string - catenated branch label and index, in the form "label [${index_or_key}]" or "label <${branch_label_curly_braces_part}:${index_or_key}>".

Documentation

Returns string - form top element label.

Arguments

label

Documentation

Returns xpath of form top element with label.

Arguments

module_detail_branch_indexed

Documentation

Returns string - label of indexed branch in module detail.

Arguments

index

Documentation

Returns Xpath of the indexed module`s config in Modules tab.

Arguments

index

Documentation

Returns xpath of indexed module expander icon.

Arguments

module_name

Documentation

Returns indexed Xpath of the module from the module`s name.

Arguments

index

Documentation

Returns Xpath of the indexed module`s operational in Modules tab.

Arguments

index

Documentation

Returns Xpath of the indexed module's operations item in Modules tab.

Arguments

branch_label_without_curly_braces_part

Documentation

Returns Xpath of labelled API path input field.

Arguments

labelled_branch_xpath

Documentation

Returns xpath of toggle button of labelled branch in module detail.

Arguments

label

Documentation

Returns xpath of labelled element yangmenu in form.

Arguments

branch_label_curly_braces_part

Documentation

Returns xpath of labelled form input field.

Arguments

branch_label_curly_braces_part

Documentation

Returns labelled form input field.

Documentation

Returns list of IDs of Get, Put, Post and Delete options in expanded operation select menu.

Documentation

Returns list of operations names.

Arguments

branch_label

Documentation

Returns string - module detail branch id in the format branch-${index}.

Arguments

branch_id

Documentation

Returns indexed Xpath of the module detail branch. Argument is ${branch_id} in the form "branch-"${index}"".

Arguments

branch_label

Documentation

Returns xpath of module detail labelled branch.

Arguments

module_name

Documentation

Returns number - module id index from module name.

Arguments

index

Documentation

Returns indexed Xpath of the module. ${index} is a number.

Arguments

index

Documentation

Returns Xpath of collapsed indexed module.

Arguments

index

Documentation

Returns Xpath of expanded indexed module.

Arguments

module_xpath

Documentation

Returns number of modules loaded in Modules tab.

Documentation

Click Form radiobutton to display form view.

Documentation

Click Json radiobutton to display json view.

Documentation

Selects config tab in module detail.

Documentation

Selects operational tab in module detail.

Arguments

operation_id

Documentation

Selects chosen operation from expanded operation select menu.

Arguments

operation_id selected_operation_name

Documentation

Selects chosen operation from expanded operation select menu and verifies the operation has been selected.

Documentation

Clicks Send request button and waits until progression bar disappears.

Arguments

desired_code_regexp

Documentation

Sends request and verifies that execution status code matches regexp provided as an argument.

Documentation

Click toggle module detail button to toggle from module detail to modules or history or collections tab.

Documentation

Verifies that at least one module has been loaded in Modules tab.

Arguments

error_message

Documentation

Verifies that the form contains error message that is provided as an argument.

Arguments

branch_label branch_label_curly_braces_part index_or_key

Documentation

Verifies that form list item with given index or key is visible.

Arguments

module_detail_branch_indexed

Documentation

Returns status "True" if module detail branch is a list branch and "False" if module detail branch is not a list brnach.

Arguments

code_mirror_code

Documentation

Verifies that there are no data displayed in either sent or received data code mirror. Value for ${code_mirror_code} is either ${SENT_DATA_CODE_MIRROR_CODE} or ${RECEIVED_DATA_CODE_MIRROR_CODE}.

Documentation

Verifies that received data code mirror is displayed.

Documentation

Verifies that received data code mirror is not displayed.

Documentation

Verifies that execution time value is present.

Documentation

Verifies that execution time value is threedots.

Arguments

desired_code_regexp

Documentation

Verifies that execution status code matches regexp provided as an argument.

Arguments

selected_operation_name

Documentation

Verifies that the selected operation is now displayed in collapsed operation select menu.

Documentation

Verifies that sent data code mirror is displayed.

Documentation

Verifies that sent data code mirror is not displayed.

Documentation

Verifies presence of Yangman home page elements.

YangmanKeywords

image/svg+xml