Module: AudioRecordingMethods
- Includes:
- PageObject, QuestionHelpers
- Defined in:
- lib/kuali-sakai-common-lib/assessments.rb
Overview
The page for setting up a question that requires an audio response
Class Method Summary collapse
-
.page_elements(identifier) ⇒ Object
Encapsulates all the PageObject code into a module method that can be called from the necessary class.
Methods included from QuestionHelpers
Class Method Details
.page_elements(identifier) ⇒ Object
Encapsulates all the PageObject code into a module method that can be called from the necessary class.
777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 |
# File 'lib/kuali-sakai-common-lib/assessments.rb', line 777 def self.page_elements(identifier) QuestionHelpers.(identifier) in_frame(identifier) do |frame| (:cancel, :id=>"itemForm:_id63", :frame=>frame) text_field(:answer_point_value, :id=>"itemForm:answerptr", :frame=>frame) text_area(:question_text, :id=>"itemForm:_id69_textinput", :frame=>frame) (:add_attachments, :id=>"itemForm:_id113", :frame=>frame) text_field(:time_allowed, :id=>"itemForm:timeallowed", :frame=>frame) select_list(:number_of_attempts, :id=>"itemForm:noattempts", :frame=>frame) text_field(:feedback, :id=>"itemForm:_id146_textinput", :frame=>frame) select_list(:assign_to_part, :id=>"itemForm:assignToPart", :frame=>frame) select_list(:assign_to_pool, :id=>"itemForm:assignToPool", :frame=>frame) end end |