Class: SectionsBase
- Defined in:
- lib/sakai-cle-test-api/page_objects/sections.rb
Overview
Sections - Site Management
Direct Known Subclasses
AddEditSections, AddSections, AssignStudents, AssignTeachingAssistants, EditSections, Sections, SectionsOptions, SectionsOverview
Class Method Summary collapse
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
Class Method Details
.menu_elements ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/sakai-cle-test-api/page_objects/sections.rb', line 11 def # Clicks the Add Sections button/link and instantiates # the AddEditSections Class. action(:add_sections) { |b| b.frm.link(:text=>"Add Sections").click } action(:overview) { |b| b.frm.link(:text=>"Overview").click } action(:student_memberships) { |b| b.frm.link(:text=>"Student Memberships").click } action(:options) { |b| b.frm.link(:text=>"Options").click } end |