Module: MessageViewMethods
- Defined in:
- lib/kuali-sakai-common-lib/messages.rb
Overview
The Page where you are reading a Message.
Instance Method Summary collapse
- #forward ⇒ Object
-
#message_text ⇒ Object
Returns the contents of the message body.
-
#messages ⇒ Object
Clicks the “Messages” breadcrumb link to return to the top level of Messages.
- #received ⇒ Object
- #reply ⇒ Object
Instance Method Details
#forward ⇒ Object
434 435 436 437 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 434 def forward frm.(:value=>"Forward ").click ForwardMessage.new(@browser) end |
#message_text ⇒ Object
Returns the contents of the message body.
425 426 427 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 425 def frm.div(:class=>"textPanel").text end |
#messages ⇒ Object
Clicks the “Messages” breadcrumb link to return to the top level of Messages. Then instantiates the Messages class.
447 448 449 450 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 447 def frm.link(:text=>"Messages").click Messages.new(@browser) end |
#received ⇒ Object
439 440 441 442 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 439 def received frm.link(:text=>"Received").click MessagesReceivedList.new(@browser) end |
#reply ⇒ Object
429 430 431 432 |
# File 'lib/kuali-sakai-common-lib/messages.rb', line 429 def reply frm.(:value=>"Reply").click ReplyToMessage.new(@browser) end |