Class: Feedback

Inherits:
BasePage show all
Defined in:
lib/sambal-cle/page_objects/feedback.rb

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#feedback_itemsObject

Returns an array containing the titles of the Feedback items listed on the page.



14
15
16
17
18
19
20
21
# File 'lib/sambal-cle/page_objects/feedback.rb', line 14

def feedback_items
  items = []
  frm.table(:class=>"listHier lines nolines").rows.each_with_index do |row, index|
    next if index == 0
    items << row[0].text
  end
  return items
end