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.



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_poolsObject

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