Class: EditQuestionPool

Inherits:
Object
  • Object
show all
Includes:
PageObject
Defined in:
lib/sakai-oae-test-api/cle_frame_classes.rb

Overview

The Page that appears when editing an existing question pool

Instance Method Summary collapse

Methods included from PageObject

#method_missing, #name_li, #name_link

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PageObject

Instance Method Details

#add_questionObject

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



819
820
821
822
# File 'lib/sakai-oae-test-api/cle_frame_classes.rb', line 819

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.



826
827
828
829
# File 'lib/sakai-oae-test-api/cle_frame_classes.rb', line 826

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