Class: NewTopic

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

Overview

The page for adding a new discussion topic.

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 JForumsBase

forums_page_elements

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#message_text=(text) ⇒ Object

Enters the specified string into the FCKEditor for the Message.



144
145
146
147
# File 'lib/sambal-cle/page_objects/jforums.rb', line 144

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