Class: SiteAccess

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

Overview

The Site Access Page that appears during Site creation immediately following the Add Multiple Tools Options page.

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

Clicks the Continue button, then instantiates the ConfirmCourseSiteSetup class.



564
565
566
567
# File 'lib/sakai-cle-test-api/page_objects/site_setup.rb', line 564

def continue
  frm.button(:value=>"Continue").click
  ConfirmSiteSetup.new(@browser)
end

#joiner_role_divObject

The page element that displays the joiner role select list. Use this method to validate whether the select list is visible or not.

Example: page.joiner_role_div.visible?



558
559
560
# File 'lib/sakai-cle-test-api/page_objects/site_setup.rb', line 558

def joiner_role_div
  frm.div(:id=>"joinerrole")
end