Class: AssignmentsReorder

Inherits:
AssignmentsBase show all
Defined in:
lib/sakai-cle-test-api/page_objects/assignments.rb

Overview

The reorder page for Assignments

Instance Method Summary collapse

Methods inherited from AssignmentsBase

listview_elements, menu_elements

Methods inherited from BasePage

basic_page_elements, frame_element

Methods inherited from PageMaker

element, expected_element, expected_title, #initialize, #method_missing, page_url

Constructor Details

This class inherits a constructor from PageMaker

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PageMaker

Instance Method Details

#cancelObject

Clicks the Cancel button, then instantiates the AssignmentsList Class.



421
422
423
424
# File 'lib/sakai-cle-test-api/page_objects/assignments.rb', line 421

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

#saveObject

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



414
415
416
417
# File 'lib/sakai-cle-test-api/page_objects/assignments.rb', line 414

def save
  frm.button(:value=>"Save").click
  AssignmentsList.new(@browser)
end