This space is archived

For current information please use the current ExamSys documentation

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

Work in progress


When writing feature files for behat tests we want to refer to UI elements by a common/generic name i.e. not theme specific


e.g.

...
Then I should see "Paper Tasks" "menu_section"
When I follow "Import/Export" "menu_item" I should see "sub_menu_item"
|"Export as QTI 1.2 format"|
|"Export as Rogō Assessment format"|
...
Then I follow "main_menu"
When I follow "Sign Out" "main_menu_item"
I should be logged out

General

ElementDescriptionExample
navigationBreadcrumb navigation linkHome > Module Page > Paper Type Page
page_titleTitle of pagePaper Title
contentThe data we are manipulatingList of Screens and Questions in a Paper
main_menuContainer that hold system level actions-
main_menu_itemSystem level actionSign Out
menuContainer that holds actions that can be applied to the content-

menu_section

Container that Content level actionsPaper Tasks
menu_itemContent level actionImport/Export
sub_menuContainer that sub menu level actions-
sub_menu_itemContent level sub-actionExport as QTI 1.2 Format

Example in current theme:


  • No labels