Class: MessageFolderSettings

Inherits:
BasePage show all
Defined in:
lib/sakai-cle-test-api/page_objects/messages.rb

Overview

The page for editing a Message Folder’s settings

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, frame_element

Methods inherited from PageMaker

element, expected_element, expected_title, #initialize, #method_missing, page_url

Constructor Details

This class inherits a constructor from PageMaker

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PageMaker

Instance Method Details

#addObject



600
601
602
603
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 600

def add
  frm.button(:value=>"Add").click
  MessagesNewFolder.new(@browser)
end

#deleteObject



605
606
607
608
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 605

def delete
  frm.button(:value=>"Delete").click
  FolderDeleteConfirm.new(@browser)
end

#rename_folderObject



595
596
597
598
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 595

def rename_folder
  frm.button(:value=>"Rename Folder").click
  RenameMessageFolder.new(@browser)
end