require "./TestData"
require 'yaml'class CardSubmission < Application
  include PageObject
  include DataMagic
  include TestData

  def initialize(browser)
    @browser = browser
  end

  def submit_application(data = {})
    DataMagic.load ("data_form.yml")
    populate_page_with data_for(:Auto_Data, data)
  endend


I am calling DataMagic.yml_directory = 'Config/data/data_form.yml' in env.rb

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to