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, frame_element

Instance Method Details

#add_questionObject

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



666
667
668
669
# File 'lib/sambal-cle/page_objects/assessments.rb', line 666

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.



673
674
675
676
# File 'lib/sambal-cle/page_objects/assessments.rb', line 673

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