Class: LessonsBase
- Defined in:
- lib/sakai-cle-test-api/page_objects/lessons.rb
Overview
Contains items common to most Lessons pages.
Direct Known Subclasses
AddEditContentSection, AddEditModule, ConfirmModule, ConfirmSectionAdd, LessonAddAttachment, LessonImportExport, LessonManage, LessonManageContent, LessonManageSort, LessonPreferences, LessonStudentSide, Lessons, SectionStudentSide, SelectingContent, ViewModule, ViewModuleList
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
12 13 14 15 16 17 18 19 20 |
# File 'lib/sakai-cle-test-api/page_objects/lessons.rb', line 12 def # Clicks on the Preferences link on the Lessons page, # next is the LessonPreferences class. action(:preferences) { |b| b.frm.link(:text=>"Preferences").click } action(:view) { |b| b.frm.link(:text=>"View").click } action(:manage) { |b| b.frm.link(:text=>"Manage").click } end |