Re: [wtr-general] How to call a function writen in ruby in an excel spreadsheet

2014-03-21 Thread Raveendran P
Hi, Please the ruby methods eval , send eta And the third way is to use the eval method: 1 2 eval s.length #= 6 eval s.include? 'hi' #=true On Fri, Jan 24, 2014 at 4:51 PM, nandish.shett...@gmail.com wrote: hi, I have a ruby file with the code mentioned below, require

Re: [wtr-general] How to call a function writen in ruby in an excel spreadsheet

2014-03-21 Thread Oscar Rieken
Not sure what reading from an excel has to do with watir. On Fri, Mar 21, 2014 at 5:16 AM, Raveendran P jazzezr...@gmail.com wrote: Hi, Please the ruby methods eval , send eta And the third way is to use the eval method: 1 2 eval s.length #= 6 eval s.include? 'hi' #=true

[wtr-general] How to call a function writen in ruby in an excel spreadsheet

2014-01-24 Thread nandish . shetty20
hi, I have a ruby file with the code mentioned below, require 'watir-webdriver' require 'rspec/expectations' require 'spreadsheet' Spreadsheet.client_encoding = 'UTF-8' book = Spreadsheet::Workbook.new book = Spreadsheet.open 'path to my excel' @browser = Watir::Browser.new :firefox