On Monday, July 11, 2016 at 8:31:30 AM UTC-7, Ajay Reddy wrote: > > Hi All, > > I am getting this "cannot load such file — Config/Data/data_form.yml > (LoadError)", I need your help to fix this issuse. > > > 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 > > > > Thank You, > > Ajay. > > I see no Watir code above. You might want to seek help in a forum related to DataMagic as that seems to be what you are trying to make work
-- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- 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 watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.