Module: BlogsMethods
- Includes:
- PageObject
- Defined in:
- lib/kuali-sakai-common-lib/blogs.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#blogger_list ⇒ Object
Returns an array containing the list of Bloggers in the “All the blogs” table.
Class Method Details
.page_elements(identifier) ⇒ Object
19 20 21 22 |
# File 'lib/kuali-sakai-common-lib/blogs.rb', line 19 def self.page_elements(identifier) in_frame(identifier) do |frame| end end |
Instance Method Details
#blogger_list ⇒ Object
Returns an array containing the list of Bloggers in the “All the blogs” table.
10 11 12 13 14 15 16 17 |
# File 'lib/kuali-sakai-common-lib/blogs.rb', line 10 def blogger_list bloggers = [] frm.table(:class=>"listHier lines").rows.each do |row| bloggers << row[1].text end bloggers.delete_at(0) return bloggers end |