class OLE_QA::Framework::OLELS::Lookup

A lookup screen in the OLE Library System

Public Instance Methods

set_elements() click to toggle source

Set elements common to all OLELS lookup screens.

Calls superclass method OLE_QA::Framework::Page#set_elements
# 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() click to toggle source

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

# File lib/olels/common/lookup.rb, line 26
def wait_for_elements
  super
  @wait_on << :title
end