Class: AddBloggerComment

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

Overview

The page for adding a comment to a Blog post.

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

#your_comment=(text) ⇒ Object

Enters the specified string into the FCKEditor box for the Comment.



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

def your_comment=(text)
  frm.frame(:id, "_id1:_id11_inputRichText___Frame").td(:id, "xEditingArea").frame(:index=>0).send_keys(text)
end