Class: MessagesDraftList

Inherits:
BasePage
  • Object
show all
Defined in:
lib/sambal-cle/page_objects/messages.rb

Overview

The page showing the list of Draft messages.

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, frame_element

Instance Method Details

#alert_message_textObject

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/sambal-cle/page_objects/messages.rb', line 410

def alert_message_text
  frm.span(:class=>"success").text
end

#compose_messageObject



399
400
401
402
# File 'lib/sambal-cle/page_objects/messages.rb', line 399

def compose_message
  frm.link(:text=>"Compose Message").click
  ComposeMessage.new(@browser)
end