Class: SiteType

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

Overview

The Site Type page that appears when creating a new 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

#continueObject

FIXME



449
450
451
452
453
454
455
456
457
458
# File 'lib/sakai-cle-test-api/page_objects/site_setup.rb', line 449

def continue #FIXME
  if frm.button(:id, "submitBuildOwn").enabled?
    frm.button(:id, "submitBuildOwn").click
  elsif frm.button(:id, "submitFromTemplateCourse").enabled?
    frm.button(:id, "submitFromTemplateCourse").click
  elsif frm.button(:id, "submitFromTemplate").enabled?
    frm.button(:id, "submitFromTemplate").click
  end

end