Class: CalendarBase

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

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



7
8
9
10
11
12
13
14
15
16
# File 'lib/sakai-cle-test-api/page_objects/calendar.rb', line 7

def menu_elements
  # AddEditEvent
  action(:add_event) { |b| b.frm.link(:text=>"Add").click }

  # AddEditFields
  action(:fields) { |b| b.frm.link(:text=>"Fields").click }

  # ImportStepOne
  action(:import) { |b| b.frm.link(:text=>"Import").click }
end