Sha256: 221432605109d134553acc92c1dc504fffb656e02ad8bab32e5e18ca0599eb6a
Contents?: true
Size: 688 Bytes
Versions: 9
Compression:
Stored size: 688 Bytes
Contents
# To change this template, choose Tools | Templates # and open the template in the editor. require 'oats/keywords' require 'net/imap' #require 'openssl' #require 'nokogiri' module SampleXlLists # Maps entries to be accessed by 'locator' method below self::LOCATOR_MAP = { 'url' => "url_locator" } class << self include Oats::Keywords def action1 data = oats_data data.delete('keywords') Oats.info "URL: #{locator('url')} Data:" + data.inspect end def action2 action1 end # Invoke the AUT (Application Under Test) def invokeApplication Oats.browser(oats_data['URL']); wait_and_text() end end end
Version data entries
9 entries across 9 versions & 1 rubygems