Class: EditQuestionPool
- Inherits:
-
AssessmentsBase
- Object
- PageFactory
- BasePage
- AssessmentsBase
- EditQuestionPool
- Defined in:
- lib/sambal-cle/page_objects/assessments.rb
Overview
The Page that appears when editing an existing question pool
Instance Method Summary collapse
-
#add_question ⇒ Object
Clicks the Add Question link, then instantiates the SelectQuestionType class.
-
#question_pools ⇒ Object
Clicks the Question Pools link, then instantiates the QuestionPoolsList class.
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
#add_question ⇒ Object
Clicks the Add Question link, then instantiates the SelectQuestionType class.
647 648 649 650 |
# File 'lib/sambal-cle/page_objects/assessments.rb', line 647 def add_question frm.link(:id=>"editform:addQlink").click SelectQuestionType.new(@browser) end |
#question_pools ⇒ Object
Clicks the Question Pools link, then instantiates the QuestionPoolsList class.
654 655 656 657 |
# File 'lib/sambal-cle/page_objects/assessments.rb', line 654 def question_pools frm.link(:text=>"Question Pools").click QuestionPoolsList.new(@browser) end |