Class: PreviewBloggerPost

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

Overview

The Preview page for 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

#backObject

Clicks the Back button and instantiates the CreateBloggerPost Class.



161
162
163
164
# File 'lib/sakai-cle-test-api/page_objects/blogger.rb', line 161

def back
  frm().button(:value=>"Back").click
  CreateBloggerPost.new(@browser)
end

#saveObject

Clicks the Save button and instantiates the CreateBloggerPost Class.



167
168
169
170
# File 'lib/sakai-cle-test-api/page_objects/blogger.rb', line 167

def save
  frm.button(:value=>"Save").click
  CreateBloggerPost.new(@browser)
end