Method: AssignmentSubmissionListMethods#grade

Defined in:
lib/kuali-sakai-common-lib/assignments.rb

#grade(student_name) ⇒ Object

Clicks the Grade link for the specified student, then instantiates the AssignmentSubmission page class.



692
693
694
695
696
# File 'lib/kuali-sakai-common-lib/assignments.rb', line 692

def grade(student_name)
  frm.table(:class=>"listHier lines nolines").row(:text=>/#{Regexp.escape(student_name)}/).link(:text=>"Grade").click
  frm.frame(:id, "grade_submission_feedback_comment___Frame").td(:id, "xEditingArea").frame(:index=>0).wait_until_present
  AssignmentSubmission.new(@browser)
end