Class: EvaluationSystemBase
- Defined in:
- lib/sambal-cle/page_objects/evaluations.rb
Overview
Evaluation System Pages
Direct Known Subclasses
AddTemplateTitle, EvaluationAdministrate, EvaluationsDashboard, MyEmailTemplates, MyEvaluations, MyItems, MyScales, MyTemplates
Class Method Summary collapse
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Class Method Details
.menu_elements ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/sambal-cle/page_objects/evaluations.rb', line 11 def link("Administrate") link("Evaluations dashboard") link("My Evaluations") link("My Templates") link("My Items") link("My Scales") link("My Email Templates") action(:take_evaluation) { |evaluation_name, b| b.frm.div(:class=>"summaryBox").table(:text=>/#{Regexp.escape(evaluation_name)}/).link.click } action(:status_of) { |evaluation_name, b| b.frm.div(:class=>"summaryBox").table(:text=>/#{Regexp.escape(evaluation_name)}/)[1][1].text } end |