Class: AddEditSiteProperties
- Defined in:
- lib/sakai-cle-test-api/page_objects/sites.rb
Instance Method Summary collapse
-
#done ⇒ Object
Clicks the Done button, then instantiates the EditSiteInfo class.
-
#new_property ⇒ Object
Clicks the New Property button.
-
#save ⇒ Object
Clicks the Save button, then instantiates the Sites page 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
#done ⇒ Object
Clicks the Done button, then instantiates the EditSiteInfo class.
241 242 243 244 |
# File 'lib/sakai-cle-test-api/page_objects/sites.rb', line 241 def done frm.(:value=>"Done").click EditSiteInfo.new(@browser) end |
#new_property ⇒ Object
Clicks the New Property button
234 235 236 237 |
# File 'lib/sakai-cle-test-api/page_objects/sites.rb', line 234 def new_property frm.(:value=>"New Property").click #Class.new(@browser) end |