The script is being run as admin as noted. To be specific By running
"Start Command Promt with Ruby" as administrator the script fails to
attach to the window opened by ie.link. I can verify that this is the
case on my installation which is similar to the original poster:
ruby 1.8.6 (2010-02-04 pa
The post said IE is run as administrator. I said to run ruby as
administrator. Ruby has to have at least as high an integrity as the
IE to which it is trying to attach.
On Mon, May 3, 2010 at 14:19, dholcombe wrote:
> Running as admin doesn't solve the issue. As noted in the original
> post
>
> *
I think ruby1.9's win32api has some problem, so you get the error.
please try to use ruby 1.8.6 .
hope this help you.
在 Wed, 05 May 2010 00:31:38 +0800,Cristina
写道:
Hi,
I am new to ruby/watir.
I managed to write a script and running on Firefox.
Though I have no idea why the script is
Hi,
I am new to ruby/watir.
I managed to write a script and running on Firefox.
Though I have no idea why the script is not working for internet
explorer.
Do we have to install any ads on for internet explorer?
Using in irb:
require 'watir'
Watir::Browser.default = "ie"
Watir::Browser.new
Thanks for your quick reply, will give a try.
On May 4, 10:35 pm, Felipe Knorr Kuhn wrote:
> Hello, Ivan,
>
> I used this piece of code under Windows a while ago:
>
> require 'oci8'
> require 'dbi'
>
> connection = OCI8.new( 'username', 'password', 'ip:port/scheme')
> cursor = connection.exec('s
Hello, Ivan,
I used this piece of code under Windows a while ago:
require 'oci8'
require 'dbi'
connection = OCI8.new( 'username', 'password', 'ip:port/scheme')
cursor = connection.exec('select * from table')
while r = cursor.fetch_hash
r.each {|key, value| puts "#{key} is #{value}" }
end
puts
Hi guys,
some quick question here, i will need to connect to oracle database
and execute some queries to compare the results. Is there a specif
watir scripts to do that or that is ruby code to handle this?
Appreciate if there is example provided.
Thanks in advance
Ivan
--
Before posting, pleas
hi Felipe,
Thank you very much. using XPath solved the issue.
On May 3, 3:30 pm, Felipe Knorr Kuhn wrote:
> Hello,
>
> You can use a XPath expression to get to the element you want.
>
> This worked for me, using the HTML piece of code you provided:
>
> --
>
> require "rubygems"
> require "watir"
Running as admin doesn't solve the issue. As noted in the original
post
*The attach and find methods CANNOT find an IE instance that was
opened
*via clicking a link from another instance of IE started using “Run
as
*Administrator” or from a Run as Administrator command prompt run
water
*script.
*