Class: MoveMessageTo

Inherits:
BasePage show all
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

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_messagesObject



305
306
307
308
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 305

def move_messages
  frm.button(: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