Class: ForwardMessage
- Defined in:
- lib/sakai-cle-test-api/page_objects/messages.rb
Overview
The page for composing a message
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
#add_attachments ⇒ Object
540 541 542 543 |
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 540 def frm.(:value=>"Add attachments").click MessagesAttachment.new(@browser) end |
#message_text=(text) ⇒ Object
535 536 537 538 |
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 535 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
545 546 547 548 |
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 545 def preview frm.(:value=>"Preview").click MessagesPreview.new(@browser) end |
#send ⇒ Object
530 531 532 533 |
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 530 def send frm.(:value=>"Send ").click MessagesReceivedList.new(@browser) #FIXME! end |