Class: Home
- Defined in:
- lib/sambal-cle/page_objects/home.rb
Overview
Topmost page for a Site in Sakai
Instance Method Summary collapse
-
#announcements_list ⇒ Object
Gets the text of the displayed announcements, for test case verification.
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#announcements_list ⇒ Object
Gets the text of the displayed announcements, for test case verification
17 18 19 20 21 22 23 |
# File 'lib/sambal-cle/page_objects/home.rb', line 17 def announcements_list list = [] links = @browser.frame(:index=>2).links links.each { |link| list << link.text } list.delete_if { |item| item=="Options" } # Deletes the Options link if it's there. return list end |