[wtr-general] Re: Problems with Roo and set_value

2009-02-17 Thread dmitry...@gmail.com
Thank you Franz On Feb 16, 12:21 pm, "franz.buchh...@googlemail.com" wrote: > dmitry...@gmail.com schrieb: > > > Hello everyone, > > I'm having problems with using > > > require 'roo' > > ask inhttp://groups.google.com/group/ruby-roo

[wtr-general] Problems with Roo and set_value

2009-02-12 Thread dmitry...@gmail.com
Hello everyone, I'm having problems with using require 'roo' ss = OpenOffice.new('myspeadsheetlocation') ss.default_sheet = ss.sheets.first ss.set_value(2, 'G', value = $ie.div(:id, 'divid')) I get this error: NoMethodError: private method "set_value" called for # I have the latest roo gem

[wtr-general] Re: Issue with using arguments within Open Office (column, row) code

2009-01-26 Thread dmitry...@gmail.com
e > here:http://watirmelon.wordpress.com/2009/01/05/watir-and-roo/ > The advantage is that you can then switch between excel, OO and GDocs > without any code change. > > Cheers, > Alister > > On Jan 23, 4:00 am, "dmitry...@gmail.com" wrote: > > > Yeah tha

[wtr-general] Re: Issue with using arguments within Open Office (column, row) code

2009-01-22 Thread dmitry...@gmail.com
Yeah that makes sense. I don't mind contributing to your minds at all. Here is how I've implemented the .ods data file read between two scripts. firstscript.rb: require 'secondscript' class FirstScript def testone(x, y) #these control the columns within the .ods file i = #{y + 1}

[wtr-general] Re: Issue with using arguments within Open Office (column, row) code

2009-01-21 Thread dmitry...@gmail.com
t you put your solution here and let more people learn from you? > Why do you let others consult to you privately? > > Thanks. > Wesley Chen. > > On Tue, Jan 20, 2009 at 2:26 AM, dmitry...@gmail.com > wrote: > > > > > Thanks guys for the comments guys, I alrea

[wtr-general] Re: Issue with using arguments within Open Office (column, row) code

2009-01-19 Thread dmitry...@gmail.com
rror. As Amit mentioned, > getCellByPosition takes two arguments - a row and a column. You only > have something called id. You are instantiating your class with two > arguments. Change that and getCellByPosition and you will be in > business hope that helps.... > > On Jan 19, 10:53 am, "d

[wtr-general] Re: Issue with using arguments within Open Office (column, row) code

2009-01-19 Thread dmitry...@gmail.com
That's not the answer I was looking for. but thanks. Just wondering what does arity mean? Dmitry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir

[wtr-general] Issue with using arguments within Open Office (column, row) code

2009-01-16 Thread dmitry...@gmail.com
Hello everyone, Running into an issue, would really appreciate some help. I have to files. One has a method with arguments defined for the Open Office Calc code like so: firstscript.rb: class FirstTest def test(id) noArgs = [] file_uri = "file:///c:/test.ods"

[wtr-general] Re: row_count incorrect value returned

2009-01-02 Thread dmitry...@gmail.com
Also I should mention that this table is dynamic, so a user can upload and delete images etc. from it on the front end. On Jan 2, 5:44 pm, "dmitry...@gmail.com" wrote: > Hello everyone, > I'm running into a little problem > when i do > browser.table(:id, /TableN

[wtr-general] row_count incorrect value returned

2009-01-02 Thread dmitry...@gmail.com
Hello everyone, I'm running into a little problem when i do browser.table(:id, /TableName/).row_count It only returns one row, which is probably the header row but does not count the other rows in the table. When I view Source it only shows me the header but omits the other 4 that I see in the d