Class: PreviewBloggerPost
- Defined in:
- lib/sakai-cle-test-api/page_objects/blogger.rb
Overview
The Preview page for a Blog post.
Instance Method Summary collapse
-
#back ⇒ Object
Clicks the Back button and instantiates the CreateBloggerPost Class.
-
#save ⇒ Object
Clicks the Save button and instantiates the CreateBloggerPost Class.
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
#back ⇒ Object
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().(:value=>"Back").click CreateBloggerPost.new(@browser) end |
#save ⇒ Object
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.(:value=>"Save").click CreateBloggerPost.new(@browser) end |