Class: AssignmentsReorder
- Inherits:
-
AssignmentsBase
- Object
- PageMaker
- BasePage
- AssignmentsBase
- AssignmentsReorder
- Defined in:
- lib/sakai-cle-test-api/page_objects/assignments.rb
Overview
The reorder page for Assignments
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.
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
#cancel ⇒ Object
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.(:value=>"Cancel").click AssignmentsList.new(@browser) end |
#save ⇒ Object
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.(:value=>"Save").click AssignmentsList.new(@browser) end |