Class: ViewPM

Inherits:
BasePage show all
Defined in:
lib/sakai-cle-test-api/page_objects/jforums.rb

Overview

The page of Viewing a particular Private 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

#reply_quoteObject

Clicks the Reply Quote button, then instantiates the NewPrivateMessage Class.



381
382
383
384
# File 'lib/sakai-cle-test-api/page_objects/jforums.rb', line 381

def reply_quote
  frm.image(:alt=>"Reply Quote").fire_event("onclick")
  NewPrivateMessage.new(@browser)
end