Class: RemoveSite

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

Overview

Page that appears when you click “Remove Site” when editing a Site in Sites

Defined Under Namespace

Classes: SiteSaveAs

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

#removeObject

Clicks the Remove button, then instantiates the Sites class.



206
207
208
209
# File 'lib/sakai-cle-test-api/page_objects/sites.rb', line 206

def remove
  frm.button(:value=>"Remove").click
  Sites.new(@browser)
end