Module: MoveMessageToMethods
- Includes:
- PageObject
- Defined in:
- lib/kuali-sakai-common-lib/messages.rb
Class Method Summary collapse
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.
Class Method Details
.page_elements(identifier) ⇒ Object
324 325 326 327 328 329 330 331 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 324 def self.page_elements(identifier) in_frame(identifier) do |frame| (:received, :name=>"pvtMsgMove:_id16:0:privateForums:0:_id19", :frame=>frame) (:sent, :name=>"pvtMsgMove:_id16:0:privateForums:1:_id19", :frame=>frame) (:deleted, :name=>"pvtMsgMove:_id16:0:privateForums:2:_id19", :frame=>frame) (:draft, :name=>"pvtMsgMove:_id16:0:privateForums:3:_id19", :frame=>frame) end end |
Instance Method Details
#move_messages ⇒ Object
311 312 313 314 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 311 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.
320 321 322 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 320 def select_custom_folder_num(num) frm.radio(:index=>num.to_i+3).set end |