Class: Sections

Inherits:
SectionsBase show all
Defined in:
lib/sambal-cle/page_objects/sections.rb

Overview

Topmost page for Sections in Site Management

Instance Method Summary collapse

Methods inherited from SectionsBase

menu_elements

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#section_namesObject



35
36
37
38
39
40
41
42
43
# File 'lib/sambal-cle/page_objects/sections.rb', line 35

def section_names
  names = []
  frm.table(:class=>/listHier/).rows.each do |row|
    if row.td(:class=>"leftIndent").exist?
      names << row.td(:class=>"leftIndent").div(:index=>0).text
    end
  end
  return names
end