Class: ManageForums

Inherits:
BasePage
  • Object
show all
Includes:
JForumsResources
Defined in:
lib/sambal-cle/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

Instance Method Details

#addObject

Clicks the Add button, then instantiates the ManageForums Class.



176
177
178
179
# File 'lib/sambal-cle/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/sambal-cle/page_objects/jforums.rb', line 183

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