Class: ViewTopic

Inherits:
JForumsBase show all
Defined in:
lib/sambal-cle/page_objects/jforums.rb

Overview

Viewing a Topic/Message

Instance Method Summary collapse

Methods inherited from JForumsBase

forums_page_elements

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#message_text(message_number) ⇒ Object

Gets the message text for the specified message (not zero-based). Useful for verification.



171
172
173
# File 'lib/sambal-cle/page_objects/jforums.rb', line 171

def message_text(message_number)
  frm.span(:class=>"postbody", :index=>message_number.to_i-1).text
end