Module: AddQuestionPoolMethods

Includes:
PageObject
Defined in:
lib/kuali-sakai-common-lib/assessments.rb

Overview

The Page that appears when adding a new question pool

Instance Method Summary collapse

Instance Method Details

#cancelObject



750
751
752
753
# File 'lib/kuali-sakai-common-lib/assessments.rb', line 750

def cancel
  frm.button(:value=>"Cancel").click
  QuestionPoolsList.new @browser
end

#saveObject

Clicks the Save button, then instantiates the QuestionPoolsList page class.



742
743
744
745
746
747
748
# File 'lib/kuali-sakai-common-lib/assessments.rb', line 742

def save
  #10.times {frm.button(:id=>"questionpool:submit").flash}
  frm.button(:id=>"questionpool:submit").click
  #sleep 180
  #frm.button(:value=>"Create").wait_until_present(120)
  QuestionPoolsList.new(@browser)
end