Class: EventDetail

Inherits:
CalendarBase show all
Defined in:
lib/sambal-cle/page_objects/calendar.rb

Overview

The page that appears when you click on an event in the Calendar

Instance Method Summary collapse

Methods inherited from CalendarBase

menu_elements

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#detailsObject

Returns a hash object containing the contents of the event details table on the page, with each of the header column items as a Key and the associated data column as the corresponding Value.



146
147
148
149
150
151
152
# File 'lib/sambal-cle/page_objects/calendar.rb', line 146

def details
  details = {}
  frm.table(:class=>"itemSummary").rows.each do |row|
    details.store(row.th.text, row.td.text)
  end
  details
end