Class: Blogs

Inherits:
BlogsBase show all
Defined in:
lib/sakai-cle-test-api/page_objects/blogs.rb

Instance Method Summary collapse

Methods inherited from BlogsBase

menu_elements

Methods inherited from BasePage

basic_page_elements, frame_element

Methods inherited from PageMaker

element, expected_element, expected_title, #initialize, #method_missing, page_url

Constructor Details

This class inherits a constructor from PageMaker

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PageMaker

Instance Method Details

#blogger_listObject

Returns an array containing the list of Bloggers in the “All the blogs” table.



19
20
21
22
23
24
25
26
# File 'lib/sakai-cle-test-api/page_objects/blogs.rb', line 19

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