Class: EvaluationSystemBase

Inherits:
BasePage
  • Object
show all
Defined in:
lib/sambal-cle/page_objects/evaluations.rb

Overview

Evaluation System Pages

Class Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Class Method Details



11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/sambal-cle/page_objects/evaluations.rb', line 11

def menu_elements
  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