Class: Messages

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

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#subjectsObject

Creates an array consisting of the message subject lines.



21
22
23
24
25
26
27
28
# File 'lib/sambal-cle/page_objects/messages.rb', line 21

def subjects
  titles = []
  messages = frm.table(:id=>"prefs_pvt_form:pvtmsgs")
  1.upto(messages.rows.size-1) do |x|
    titles << messages.row(:index=>x).a.title
  end
  return titles
end

#unread_messagesObject



30
31
32
# File 'lib/sambal-cle/page_objects/messages.rb', line 30

def unread_messages
  # TODO - Write this method
end