Class: MessagesDraftList
- Defined in:
- lib/sakai-cle-test-api/page_objects/messages.rb
Overview
The page showing the list of Draft messages.
Instance Method Summary collapse
-
#alert_message_text ⇒ Object
Grabs the text from the message box that appears after doing some action.
- #compose_message ⇒ Object
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
#alert_message_text ⇒ Object
Grabs the text from the message box that appears after doing some action.
Use this method to simplify writing Test::Unit asserts
410 411 412 |
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 410 def frm.span(:class=>"success").text end |
#compose_message ⇒ Object
399 400 401 402 |
# File 'lib/sakai-cle-test-api/page_objects/messages.rb', line 399 def frm.link(:text=>"Compose Message").click ComposeMessage.new(@browser) end |