Here's what I found out.

The method xls_data has in it @excel.quit and @excel = nil.  So I
copied those two lines and put them in the csv_data method.  Now when
I call that method excel is being closed.

It seems like any of the methods in the datahandler class should close
the file that is being opened.

Unless someone can tell me differently I'm sticking with it.

Brad

On Sep 23, 8:48 am, Brad <[email protected]> wrote:
> Anyone?
>
> What am I missing?
>
> On Sep 22, 4:26 pm, Brad <[email protected]> wrote:
>
> > Hello,
>
> > Hope this isn't a dumb question but, I was trying to use
> > datahandler.
>
> > require 'watir'
> > require 'watir/datahandler.rb'
>
> > d = DataHandler.new('data.csv')
> > one = d.data[1].Name
> > puts one
>
> > Now when I edit data.csv it's lock.  I can see in Task Manager
> > excel.exe is running.
>
> > How do you stop/close/kill excel.exe?
>
> > Thanks.
>
> > Brad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to