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
- #cancel ⇒ Object
-
#save ⇒ Object
Clicks the Save button, then instantiates the QuestionPoolsList page class.
Instance Method Details
#cancel ⇒ Object
750 751 752 753 |
# File 'lib/kuali-sakai-common-lib/assessments.rb', line 750 def cancel frm.(:value=>"Cancel").click QuestionPoolsList.new @browser end |
#save ⇒ Object
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.(:id=>"questionpool:submit").click #sleep 180 #frm.button(:value=>"Create").wait_until_present(120) QuestionPoolsList.new(@browser) end |