Hi Željko,

Here is my code:

#Setting variable name with script name
script_name = File.basename(__FILE__,".rb")
# User path 
project_path = File.expand_path(File.join(File.dirname(__FILE__),'..'))

# initialize MainMethods class
mm = MainMethods.new($browser)
# call method to delete text from file
mm.delete_file_text(script_name)
# open csv
puts filename = 
File.join(project_path,'script_environment_sheets','fast_search_data_sheet.csv')
# read csv with headers
test_data = FasterCSV.read(filename, :headers => true)

I think it has something to do with forward/backward slashes to the 
location of the file.  Not sure though.

Thank you,
Joe


On Friday, September 28, 2012 2:06:37 PM UTC-4, Joe Fl wrote:
>
> Hi,
>
> I need faster_csv to run my scripts.  I am working with a WindowsXP VM.  
> I ran this command 'gem install fastercsv' and it in returned
> 'Successfully installed fastercsv-1.5.5'  but when I execute my script its 
> not
> getting data from my csv.
>
> I am really not sure what to do at this point.  Any help would be greatly 
> appreciated.
>
> Thank you,
> Joe
>

-- 
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]

Reply via email to