Class: EditQuestionPool

Inherits:
AssessmentsBase show all
Defined in:
lib/sambal-cle/page_objects/assessments.rb

Overview

The Page that appears when editing an existing question pool

Instance Method Summary collapse

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_questionObject

Clicks the Add Question link, then instantiates the SelectQuestionType class.



642
643
644
645
# File 'lib/sambal-cle/page_objects/assessments.rb', line 642

def add_question
  frm.link(:id=>"editform:addQlink").click
  SelectQuestionType.new(@browser)
end

#question_poolsObject

Clicks the Question Pools link, then instantiates the QuestionPoolsList class.



649
650
651
652
# File 'lib/sambal-cle/page_objects/assessments.rb', line 649

def question_pools
  frm.link(:text=>"Question Pools").click
  QuestionPoolsList.new(@browser)
end