Class: MoveMessageTo
- Defined in:
- lib/sakai-cle-test-api/page_objects/messages.rb
Overview
Page that appears when you want to move a message from one folder to another.
Instance Method Summary collapse
- #move_messages ⇒ Object
-
#select_custom_folder_num(num) ⇒ Object
Method for selecting any custom folders present on the screen–and only the custom folders.
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
#move_messages ⇒ Object
305 306 307 308 |
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 305 def frm.(:value=>"Move Messages").click Messages.new(@browser) end |
#select_custom_folder_num(num) ⇒ Object
Method for selecting any custom folders present on the screen–and only the custom folders. Count begins with “1” for the first custom folder listed.
314 315 316 |
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 314 def select_custom_folder_num(num) frm.radio(:index=>num.to_i+3).set end |