Module: ForwardMessageMethods
- Includes:
- PageObject
- Defined in:
- lib/kuali-sakai-common-lib/messages.rb
Overview
The page for composing a message
Instance Method Summary collapse
- #add_attachments ⇒ Object
- #message_text=(text) ⇒ Object
- #preview ⇒ Object
- #save_draft ⇒ Object
- #send ⇒ Object
Instance Method Details
#add_attachments ⇒ Object
548 549 550 551 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 548 def frm.(:value=>"Add attachments").click MessagesAttachment.new(@browser) end |
#message_text=(text) ⇒ Object
543 544 545 546 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 543 def (text) frm.frame(:id, "pvtMsgForward:df_compose_body_inputRichText___Frame").td(:id, "xEditingArea").frame(:index=>0).send_keys(:home) frm.frame(:id, "pvtMsgForward:df_compose_body_inputRichText___Frame").td(:id, "xEditingArea").frame(:index=>0).send_keys(text) end |
#preview ⇒ Object
553 554 555 556 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 553 def preview frm.(:value=>"Preview").click MessagesPreview.new(@browser) end |
#save_draft ⇒ Object
558 559 560 561 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 558 def save_draft frm.(:value=>"Save Draft").click xxxxxxxxx.new(@browser) #FIXME end |
#send ⇒ Object
538 539 540 541 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 538 def send frm.(:value=>"Send ").click MessagesReceivedList.new(@browser) #FIXME! end |