[wtr-general] Re: Getting no such file to load error when working with excel

2009-03-31 Thread Shweta
I got the code for excel from old posts,but i want to know what is meant by Dir.pwd here require 'xls' require 'watir' xlFile = XLS.new(Dir.pwd + '/test_XLS_data.xls') #grab the data file in the same dirrectory myData = xlFile.getRowRecords('Google Search Data','Example') #pull data records

[wtr-general] Re: Getting no such file to load error when working with excel

2009-03-30 Thread Shweta
Hi When i was trying to parameterize with excel for login page am getting this error.Can anyone pls let me know what might be wrong in this. Error message: c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- xls (LoadError)

[wtr-general] Re: Getting no such file to load error when working with excel

2009-03-30 Thread Jim Matthews
Shweta, This sounds like the problem where you do not have RUBYOPT defined as - rubygems. Search the site for help on this and if you still have trouble, update with additional information. Jim On Mar 30, 6:40 am, Shweta nagman...@gmail.com wrote: Hi When i was trying to parameterize with