Class: Gradebook2

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

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#gradebook_itemsObject

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