This space is archived
For current information please use the current ExamSys documentation
UI Elements
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
Element | Description | Example |
---|---|---|
navigation | Breadcrumb navigation link | Home > Module Page > Paper Type Page |
page_title | Title of page | Paper Title |
content | The data we are manipulating | List of Screens and Questions in a Paper |
main_menu | Container that hold system level actions | - |
main_menu_item | System level action | Sign Out |
menu | Container that holds actions that can be applied to the content | - |
menu_section | Container that Content level actions | Paper Tasks |
menu_item | Content level action | Import/Export |
sub_menu | Container that sub menu level actions | - |
sub_menu_item | Content level sub-action | Export as QTI 1.2 Format |
Example in current theme:
Questions
Element | Description | Example |
---|---|---|
question_type | the question type link in the add question window launched form the module page | true_false |
paper_question_leadin | the question leadin in the paper details page | some leadin text |
bank_question_leadin | the question leadin in the question bank popup | some leadin text |