Class: EventFrequency

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

Overview

The page that appears when the Frequency button is clicked on the Add/Edit Event page.

Instance Method Summary collapse

Methods inherited from CalendarBase

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

#cancelObject



317
318
319
320
# File 'lib/sakai-cle-test-api/page_objects/calendar.rb', line 317

def cancel
  frm.button(:value=>"Cancel").click
  AddEditEvent.new(@browser)
end

#save_frequencyObject



312
313
314
315
# File 'lib/sakai-cle-test-api/page_objects/calendar.rb', line 312

def save_frequency
  frm.button(:value=>"Save Frequency").click
  AddEditEvent.new(@browser)
end