Class: SelectQuestionType
- Inherits:
-
AssessmentsBase
- Object
- PageFactory
- BasePage
- AssessmentsBase
- SelectQuestionType
- Defined in:
- lib/sambal-cle/page_objects/assessments.rb
Overview
This page appears when adding a question to a pool
Instance Method Summary collapse
-
#select_question_type(qtype) ⇒ Object
Selects the specified question type from the drop-down list, then instantiates the appropriate page class, based on the question type selected.
Methods inherited from AssessmentsBase
menu_bar_elements, pool_page_elements, question_page_elements
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#select_question_type(qtype) ⇒ Object
Selects the specified question type from the drop-down list, then instantiates the appropriate page class, based on the question type selected.
741 742 743 744 |
# File 'lib/sambal-cle/page_objects/assessments.rb', line 741 def select_question_type(qtype) frm.select(:id=>"_id1:selType").select(qtype) frm.(:value=>"Save").click end |