Class: NewEvaluation

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

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

#continue_to_settingsObject



80
81
82
83
# File 'lib/sakai-cle-test-api/page_objects/evaluations.rb', line 80

def continue_to_settings
  frm.button(:value=>"Continue to Settings").click
  EvaluationSettings.new(@browser)
end

#instructions=(text) ⇒ Object



85
86
87
# File 'lib/sakai-cle-test-api/page_objects/evaluations.rb', line 85

def instructions=(text)
  frm.frame(:id, "instructions:1:input___Frame").td(:id, "xEditingArea").frame(:index=>0).send_keys(text)
end