Not sure what reading from an excel has to do with watir.

On Fri, Mar 21, 2014 at 5:16 AM, Raveendran P <[email protected]> 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
>
>
>
> On Fri, Jan 24, 2014 at 4:51 PM, <[email protected]> wrote:
>
>> 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
>> @browser.goto "m <https://main.airwatchdev.com/>y url"
>>
>> def textbox(obj_name, obj_value)
>>   @browser.text_field(:id => obj_name).set(obj_value)
>> end
>>
>> i know, how to read an excel spreadsheet but when i use that and try to
>> call the definition "textbox" from the excel sheet nothing happens. I just
>> want to know if this is possible. Let me know in case more information is
>> needed.
>>
>> --
>> --
>> 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]
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Regards,
> P.Raveendran
> http://raveendran.wordpress.com
>
> --
> --
> 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]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to