Class: MessageFolders

Inherits:
BasePage
  • Object
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

#foldersObject

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