Please let me know how to write data into excel in WATIR/RUBY
I got the below script.. now I able to write data to excel for the desired cell
worksheet.Range("A2")['Value'] = "test"
Hi you should include the necessary Watir library files initially. Then you can call the COM objec's methods via Win32 API. You cant use COM objects syntax as it as, refer below link for your Watir - Excel related queries.
Careful about Ruby syntax - Case sensitive.
i have never seen bugs sleeping