Class: Messages
- Defined in:
- lib/sambal-cle/page_objects/messages.rb
Instance Method Summary collapse
-
#subjects ⇒ Object
Creates an array consisting of the message subject lines.
- #unread_messages ⇒ Object
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#subjects ⇒ Object
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 = [] = frm.table(:id=>"prefs_pvt_form:pvtmsgs") 1.upto(.rows.size-1) do |x| titles << .row(:index=>x).a.title end return titles end |
#unread_messages ⇒ Object
30 31 32 |
# File 'lib/sambal-cle/page_objects/messages.rb', line 30 def # TODO - Write this method end |