Class: Blogs

Inherits:
BlogsBase show all
Defined in:
lib/sambal-cle/page_objects/blogs.rb

Instance Method Summary collapse

Methods inherited from BlogsBase

menu_elements

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

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/sambal-cle/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