Class: OLE_QA::Framework::OLELS::Lookup
- Inherits:
-
Page
- Object
- Common_Object
- Page
- OLE_QA::Framework::OLELS::Lookup
- Defined in:
- lib/olels/common/lookup.rb
Overview
A lookup screen in the OLE Library System
Direct Known Subclasses
Batch_Profile_Lookup, Batch_Type_Lookup, Describe_Workbench, Location_Level_Lookup, Location_Lookup, Old_Describe_Workbench, Patron_Lookup, Request_Lookup
Instance Attribute Summary
Attributes inherited from Page
Attributes inherited from Common_Object
Instance Method Summary collapse
-
#set_elements ⇒ Object
Set elements common to all OLELS lookup screens.
-
#wait_for_elements ⇒ Object
Set elements to be loaded before the page is considered complete.
Methods inherited from Page
#initialize, #lookup, #lookup_url, #open, #set_functions, #set_line, #wait_for_element, #wait_for_page_to_load
Methods inherited from Common_Object
Methods included from Helpers
#browser, #load_yml, #set_element, #set_function
Constructor Details
This class inherits a constructor from OLE_QA::Framework::Page
Instance Method Details
#set_elements ⇒ Object
Set elements common to all OLELS lookup screens.
19 20 21 22 23 |
# File 'lib/olels/common/lookup.rb', line 19 def set_elements super element(:title) {b.h1.span(:class => "uif-headerText-span")} element(:create_new) {b.link(:text => /[Cc]reate [Nn]ew/)} end |
#wait_for_elements ⇒ Object
Set elements to be loaded before the page is considered complete.
26 27 28 29 |
# File 'lib/olels/common/lookup.rb', line 26 def wait_for_elements super @wait_on << :title end |