Class: MessageFolders
- Defined in:
- lib/sambal-cle/page_objects/messages.rb
Instance Method Summary collapse
-
#folders ⇒ Object
Gets all the folder names.
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#folders ⇒ Object
Gets all the folder names
60 61 62 63 64 65 |
# File 'lib/sambal-cle/page_objects/messages.rb', line 60 def folders links = frm.table(:class=>"hierItemBlockWrapper").links.find_all { |link| link.title != /Folder Settings/ } folders = [] links.each { |link| folders << link.text } return folders end |