Class: Blogs
- Defined in:
- lib/sakai-cle-test-api/page_objects/blogs.rb
Instance Method Summary collapse
-
#blogger_list ⇒ Object
Returns an array containing the list of Bloggers in the “All the blogs” table.
Methods inherited from BlogsBase
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_list ⇒ Object
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 |