Class: ForwardMessage

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

Overview

The page for composing a message

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

#message_text=(text) ⇒ Object



168
169
170
171
# File 'lib/sambal-cle/page_objects/messages.rb', line 168

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