Class: NewTool

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

Overview

Page for creating a new tool for a page in a site

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

#doneObject

Clicks the Done button, the instantiates The AddEditTools class.



186
187
188
189
# File 'lib/sakai-cle-test-api/page_objects/sites.rb', line 186

def done
  frm.button(:value=>"Done").click
  AddEditTools.new(@browser)
end