Class: AddEditAnnouncements

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

Overview

The page where an announcement is created or edited.

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 BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#body=(text) ⇒ Object

Sends the specified text block to the rich text editor

Parameters:

  • text (String)

    the text that you want to add to the editor.



118
119
120
# File 'lib/sambal-cle/page_objects/announcements.rb', line 118

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