Class: ExplorePeople
- Inherits:
-
Object
- Object
- ExplorePeople
- Includes:
- GlobalMethods, HeaderFooterBar, LeftMenuBarSearch, ListPeople, ListWidget, PageObject, SearchBar
- Defined in:
- lib/sakai-oae-test-api/page_classes.rb
Overview
Methods related to the People/Users search page
Instance Method Summary collapse
-
#results_header ⇒ Object
Returns the results header title (the text prior to the count of the results returned).
Methods included from SearchBar
Methods included from PageObject
#method_missing, #name_li, #name_link
Methods included from ListPeople
#add_contact, #addable?, #remove, #send_message_to
Methods included from ListWidget
Methods included from HeaderFooterBar
#acknowledgements, #add_collection, #add_content, #browse_footer, #browse_footer_link, #change_language, #change_location, #click_link, #explore_footer, #explore_footer_link, #login, #messages_container, #my_account, #sign_out, #sign_up, #toggle_collector, #user_agreement
Methods included from GlobalMethods
#close_notification, #menu_item, #open_page, #view_person
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PageObject
Instance Method Details
#results_header ⇒ Object
Returns the results header title (the text prior to the count of the results returned)
507 508 509 510 511 |
# File 'lib/sakai-oae-test-api/page_classes.rb', line 507 def results_header top = self.div(:class=>"searchpeople_content_main") top.div(:id=>"results_header").span.text =~ /^.+(?=.\()/ $~.to_s end |