HI Dylan,
Do i have to try the new version of Watir?
On Aug 17, 11:02 am, balbao ramkrishn...@gmail.com wrote:
Dylan,
Adding require Watir/ie didn't help me either.
ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
puts Watir::IE::VERSION
1.6.2
I use ruby 1.8.6 watir
'
from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
input_elements
.rb:336:in `set'
from (irb):11
I tried this from IRB. Not sure why firevent method is called post
entering value in that text field.
Need your help fellas. I'm stuck with this from the past two days.
- Balbao
Folks,
Have any of you faced similar kind of issue ?. This is a blocker for
me...Need help.
On Aug 14, 12:04 pm, balbao ramkrishn...@gmail.com wrote:
HI,
In my application, to enter a date for a field, we need to do it using
the calendar icon. This is the only option to enter data
ceased. No error was
thrown even after one hour.
I got this error, after closing the console manually Exit code:
-1073741510. Not sure, why this surfaced.
My hunch is that the console is expecting some sort of response.
Balbao.
--~--~-~--~~~---~--~~
You received
(:title, Google Search).set($text)
end
Balbao
On Aug 4, 2:03 pm, balbao ramkrishn...@gmail.com wrote:
I'm trying to pass a value from one function to function and I get the
foll;error,
ruby callingfile.rb
./classfile.rb:15: warning: don't put space before argument
parentheses
C:/RUBY/lib
Darryl - when I use $regno = oo.cell(row,6).to_i, I get the same
error.
The irony is this works fine in IRB, but executed as a script it
returns zero.
Dylan - to_i.to_s did the magic ! Thanks a bunch
- Balbao
require watir
require rubygems
require roo
ie = Watir::IE.new
oo = Openoffice.new
Tried $regno = oo.cell(row,6).to_i in the script and got the same
error. However, this works fine with irb.
Do i need to include some more library files to get this one
working...
On Aug 4, 5:44 am, Darryl (gem dandy) Brown d-l-
br...@roadrunner.com wrote:
Hello Balbao,
$regno = oo.cell(row
$ie.bring_to_front
$ie.button(:value, /Google/).click
Balbao
On Aug 4, 3:59 am, Dylan mej...@gmail.com wrote:
Add .to_i in the middle there, because like you said you aren't
getting an integer back, so you have to make it one. So you end up
with:
$regno = oo.cell(row,6).to_i.to_s
-Dylan
it returns a float, i.e 12345 will get converted to 12345.0 which is
an invalid input to the company field.
Balbao
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email