Class: OLE_QA::Framework::OLELS::Lookup

Inherits:
Page show all
Defined in:
lib/olels/common/lookup.rb

Overview

A lookup screen in the OLE Library System

Instance Attribute Summary

Attributes inherited from Page

#lines, #url

Attributes inherited from Common_Object

#elements, #functions, #ole

Instance Method Summary collapse

Methods inherited from Page

#initialize, #lookup, #lookup_url, #open, #set_functions, #wait_for_element, #wait_for_page_to_load

Methods included from Page_Helpers

#set_line

Methods inherited from Common_Object

#initialize, #set_functions

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_elementsObject

Set elements common to all OLELS lookup screens.



19
20
21
22
# File 'lib/olels/common/lookup.rb', line 19

def set_elements
  super
  element(:title)                           {b.h1.span(:class => "uif-headerText-span")}
end

#wait_for_elementsObject

Set elements to be loaded before the page is considered complete.



25
26
27
28
# File 'lib/olels/common/lookup.rb', line 25

def wait_for_elements
  super
  @wait_on << :title
end