Class: JForumsBase

Inherits:
BasePage
  • Object
show all
Defined in:
lib/sambal-cle/page_objects/jforums.rb

Overview

Discussion Forums Pages

Class Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Class Method Details

.forums_page_elementsObject



10
11
12
13
14
15
16
17
18
19
# File 'lib/sambal-cle/page_objects/jforums.rb', line 10

def forums_page_elements
  action(:discussion_home) { |b| b.frm.link(:id=>"backtosite").click }
  action(:search) { |b| b.frm.link(:id=>"search", :class=>"mainmenu").click }
  action(:my_bookmarks) { |b| b.frm.link(:class=>"mainmenu", :text=>"My Bookmarks").click }
  action(:my_profile) { |b| b.frm.link(:id=>"myprofile").click }
  action(:member_listing) { |b| b.frm.link(:text=>"Member Listing", :id=>"latest", :class=>"mainmenu").click }
  action(:private_messages) { |b| b.frm.link(:id=>"privatemessages", :class=>"mainmenu").click }
  action(:manage) { |b| b.frm.link(:id=>"adminpanel", :text=>"Manage").click }
  action(:submit) { |b| b.frm.button(:value=>"Submit").click }
end