Class: AddEditEvent

Inherits:
CalendarBase show all
Includes:
FCKEditor
Defined in:
lib/sambal-cle/page_objects/calendar.rb

Instance Method Summary collapse

Methods included from FCKEditor

#enter_source_text, #entity_picker, #get_source_text, #prepend, #select_all, #source, #source_field

Methods inherited from CalendarBase

menu_elements

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#attachment?(file_name) ⇒ Boolean

Returns true if the page has a link with the specified file name. Use for test case asserts.

Returns:

  • (Boolean)


185
186
187
# File 'lib/sambal-cle/page_objects/calendar.rb', line 185

def attachment?(file_name)
  frm.link(:text=>file_name).exist?
end

#message=(text) ⇒ Object



170
171
172
# File 'lib/sambal-cle/page_objects/calendar.rb', line 170

def message=(text)
  editor.td(:id, "xEditingArea").frame(:index=>0).send_keys(text)
end