Class: AddEditPages

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

Overview

The page you come to when editing a Site in Sites and you click on the Pages button

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

#new_pageObject

Clicks the link for New Page, then instantiates the NewPage page class.



131
132
133
134
# File 'lib/sakai-cle-test-api/page_objects/sites.rb', line 131

def new_page
  frm.link(:text=>"New Page").click
  NewPage.new(@browser)
end