Class: SectionsBase

Inherits:
BasePage
  • Object
show all
Defined in:
lib/sambal-cle/page_objects/sections.rb

Overview

Sections - Site Management

Class Method Summary collapse

Methods inherited from BasePage

basic_page_elements, frame_element

Class Method Details



11
12
13
14
15
16
17
18
# File 'lib/sambal-cle/page_objects/sections.rb', line 11

def menu_elements
  # 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