Class: ExploreResearch

Inherits:
Object
  • Object
show all
Includes:
GlobalMethods, HeaderFooterBar, LeftMenuBarSearch, ListProjects, ListWidget, PageObject, SearchBar
Defined in:
lib/sakai-oae-test-api/page_classes.rb

Overview

Methods related to the page for searching for Research Projects.

Instance Method Summary collapse

Methods included from SearchBar

#search_for=

Methods included from PageObject

#method_missing, #name_li, #name_link

Methods included from ListProjects

#open_research

Methods included from ListWidget

#last_updated, #results_list

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_headerObject

Returns the results header title (the text prior to the count of the results returned)



584
585
586
587
# File 'lib/sakai-oae-test-api/page_classes.rb', line 584

def results_header
  top = self.div(:id=>"searchgroups_widget", :index=>2)
  top.div(:id=>"results_header").span(:id=>"searchgroups_type_title").text
end