Class: ManageForums

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

Overview

The page for Managing Forums in the Discussion Forums feature.

Instance Method Summary collapse

Methods included from JForumsResources

#discussion_home, #manage, #member_listing, #my_bookmarks, #my_profile, #private_messages, #search

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

#addObject

Clicks the Add button, then instantiates the ManageForums Class.



176
177
178
179
# File 'lib/sakai-cle-test-api/page_objects/jforums.rb', line 176

def add
  frm.button(:value=>"Add").click
  ManageForums.new(@browser)
end

#updateObject

Clicks the Update button, then instantiates the ManageDiscussions Class.



183
184
185
186
# File 'lib/sakai-cle-test-api/page_objects/jforums.rb', line 183

def update
  frm.button(:value=>"Update").click
  ManageDiscussions.new(@browser)
end