Class: ViewForumThread

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

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_to_message(index) ⇒ Object



124
125
126
127
# File 'lib/sakai-cle-test-api/page_objects/forums.rb', line 124

def reply_to_message(index)
  frm.link(:text=>"Reply", :index=>(index.to_i - 1)).click
  ComposeForumMessage.new(@browser)
end

#reply_to_threadObject



119
120
121
122
# File 'lib/sakai-cle-test-api/page_objects/forums.rb', line 119

def reply_to_thread
  frm.link(:text=>"Reply to Thread").click
  ComposeForumMessage.new(@browser)
end