Class: EditQuestionPool
- Inherits:
-
AssessmentsBase
- Object
- PageMaker
- BasePage
- AssessmentsBase
- EditQuestionPool
- Defined in:
- lib/sakai-cle-test-api/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, frame_element
Methods inherited from PageMaker
element, expected_element, expected_title, #initialize, #method_missing, page_url
Constructor Details
This class inherits a constructor from PageMaker
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PageMaker
Instance Method Details
#add_question ⇒ Object
Clicks the Add Question link, then instantiates the SelectQuestionType class.
616 617 618 619 |
# File 'lib/sakai-cle-test-api/page_objects/assessments.rb', line 616 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.
623 624 625 626 |
# File 'lib/sakai-cle-test-api/page_objects/assessments.rb', line 623 def question_pools frm.link(:text=>"Question Pools").click QuestionPoolsList.new(@browser) end |