Module: MessagesDraftListMethods

Includes:
PageObject
Defined in:
lib/kuali-sakai-common-lib/messages.rb

Overview

The page showing the list of Draft messages.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.page_elements(identifier) ⇒ Object



421
422
423
424
425
# File 'lib/kuali-sakai-common-lib/messages.rb', line 421

def self.page_elements(identifier)
  in_frame(identifier) do |frame|
    link(:check_all, :text=>"Check All", :frame=>frame)
  end
end

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



417
418
419
# File 'lib/kuali-sakai-common-lib/messages.rb', line 417

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

#compose_messageObject



406
407
408
409
# File 'lib/kuali-sakai-common-lib/messages.rb', line 406

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