Class: CourseSiteInfo

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

Overview

The Course Site Information page that appears when creating a new Site immediately after the Course/Section Information page

Instance Method Summary collapse

Methods included from FCKEditor

#enter_source_text, #entity_picker, #get_source_text, #select_all, #source, #source_field

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, next is the EditSiteTools Class.



620
621
622
623
# File 'lib/sakai-cle-test-api/page_objects/site_setup.rb', line 620

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

#description=(text) ⇒ Object



614
615
616
# File 'lib/sakai-cle-test-api/page_objects/site_setup.rb', line 614

def description=(text)
  editor.td(:id, "xEditingArea").frame(:index=>0).send_keys text
end