Module: Gradebook2Methods

Includes:
PageObject
Defined in:
lib/kuali-sakai-common-lib/gradebook2.rb

Instance Method Summary collapse

Instance Method Details

#gradebook_itemsObject

Returns an array of names of Gradebook items



9
10
11
12
13
14
15
16
17
# File 'lib/kuali-sakai-common-lib/gradebook2.rb', line 9

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