Class: DeleteSite

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

Overview

The Delete Confirmation Page for deleting a Site

Instance Method Summary collapse

Methods inherited from SiteSetupBase

menu_elements

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

#cancelObject

Clicks the Cancel button, then instantiates the SiteSetup class.



437
438
439
440
# File 'lib/sakai-cle-test-api/page_objects/site_setup.rb', line 437

def cancel
  frm.button(:value=>"Cancel").click
  SiteSetup.new(@browser)
end

#removeObject

Clicks the Remove button, then instantiates the SiteSetup class.



430
431
432
433
# File 'lib/sakai-cle-test-api/page_objects/site_setup.rb', line 430

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