Class: TopicPage
- Defined in:
- lib/sambal-cle/page_objects/forums.rb
Instance Method Summary collapse
-
#open_message(message_title) ⇒ Object
ViewForumThread.
- #thread_titles ⇒ Object
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#open_message(message_title) ⇒ Object
ViewForumThread
91 92 93 |
# File 'lib/sambal-cle/page_objects/forums.rb', line 91 def () frm.div(:class=>"portletBody").link(:text=>).click end |
#thread_titles ⇒ Object
81 82 83 84 85 86 87 88 |
# File 'lib/sambal-cle/page_objects/forums.rb', line 81 def thread_titles titles = [] = frm.table(:id=>"msgForum:messagesInHierDataTable") 1.upto(.rows.size-1) do |x| titles << [x][1].span(:class=>"firstChild").link(:index=>0).text end return titles end |