Class: ViewBloggerPost

Inherits:
BasePage show all
Defined in:
lib/sakai-cle-test-api/page_objects/blogger.rb

Overview

The page for Viewing a blog post.

Instance Method Summary collapse

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

#add_commentObject

Clicks the button for adding a comment to a blog post, then instantiates the AddBloggerComment Class.



181
182
183
184
# File 'lib/sakai-cle-test-api/page_objects/blogger.rb', line 181

def add_comment
  frm.button(:value=>"Add comment").click
  AddBloggerComment.new(@browser)
end