Class: EvaluationSystem
- Defined in:
- lib/sakai-cle-test-api/page_objects/evaluations.rb
Overview
The “Evaluations Dashboard”
Instance Method Summary collapse
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
#status_of(evaluation_name) ⇒ Object
22 23 24 |
# File 'lib/sakai-cle-test-api/page_objects/evaluations.rb', line 22 def status_of(evaluation_name) frm.div(:class=>"summaryBox").table(:text=>/#{Regexp.escape(evaluation_name)}/)[1][1].text end |
#take_evaluation(evaluation_name) ⇒ Object
TakeEvaluation
17 18 19 20 |
# File 'lib/sakai-cle-test-api/page_objects/evaluations.rb', line 17 def take_evaluation(evaluation_name) frm.div(:class=>"summaryBox").table(:text=>/#{Regexp.escape(evaluation_name)}/).link.click TakeEvaluation.new(@browser) end |