Class: AddBlogEntry

Inherits:
BlogsBase show all
Includes:
FCKEditor
Defined in:
lib/sakai-cle-test-api/page_objects/blogs.rb

Instance Method Summary collapse

Methods included from FCKEditor

#enter_source_text, #get_source_text, #select_all, #source

Methods inherited from BlogsBase

menu_elements

Methods inherited from BasePage

basic_page_elements, frame_element

Methods inherited from PageMaker

element, expected_element, expected_title, #initialize, #method_missing, page_url

Constructor Details

This class inherits a constructor from PageMaker

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PageMaker

Instance Method Details

#blog_text=(text) ⇒ Object



39
40
41
42
# File 'lib/sakai-cle-test-api/page_objects/blogs.rb', line 39

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