Class: Gradebook2
- Defined in:
- lib/sambal-cle/page_objects/gradebook2.rb
Instance Method Summary collapse
-
#gradebook_items ⇒ Object
Returns an array of names of Gradebook items.
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#gradebook_items ⇒ Object
Returns an array of names of Gradebook items
7 8 9 10 11 12 13 14 15 |
# File 'lib/sambal-cle/page_objects/gradebook2.rb', line 7 def gradebook_items items = [] frm.div(:class=>"x-grid3-scroller").spans.each do |span| if span.class_name =~ /^x-tree3-node-text/ items << span.text end end return items end |