Module: AssignmentsReorderMethods
- Includes:
- PageObject
- Defined in:
- lib/kuali-sakai-common-lib/assignments.rb
Overview
The reorder page for Assignments
Class Method Summary collapse
Instance Method Summary collapse
-
#cancel ⇒ Object
Clicks the Cancel button, then instantiates the AssignmentsList Class.
-
#save ⇒ Object
Clicks the Save button, then instantiates the AssignmentsList page class.
Class Method Details
.page_elements(identifier) ⇒ Object
462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 |
# File 'lib/kuali-sakai-common-lib/assignments.rb', line 462 def self.page_elements(identifier) in_frame(identifier) do |frame| link(:add, :text=>"Add", :frame=>frame) link(:assignment_list, :text=>"Assignment List", :frame=>frame) link(:grade_report, :text=>"Grade Report", :frame=>frame) link(:student_view, :text=>"Student View", :frame=>frame) link(:permissions, :text=>"Permissions", :frame=>frame) link(:options, :text=>"Options", :frame=>frame) link(:sort_by_title, :text=>"Sort by title", :frame=>frame) link(:sort_by_open_date, :text=>"Sort by open date", :frame=>frame) link(:sort_by_due_date, :text=>"Sort by due date", :frame=>frame) link(:undo_last, :text=>"Undo last", :frame=>frame) link(:undo_all, :text=>"Undo all", :frame=>frame) end end |
Instance Method Details
#cancel ⇒ Object
Clicks the Cancel button, then instantiates the AssignmentsList Class.
457 458 459 460 |
# File 'lib/kuali-sakai-common-lib/assignments.rb', line 457 def cancel frm.(:value=>"Cancel").click AssignmentsList.new(@browser) end |
#save ⇒ Object
Clicks the Save button, then instantiates the AssignmentsList page class.
450 451 452 453 |
# File 'lib/kuali-sakai-common-lib/assignments.rb', line 450 def save frm.(:value=>"Save").click AssignmentsList.new(@browser) end |