Bret Suggested:
I think the error message may be misleading. I think the problem may
actually be caused by the use of frames. Can you show us the code that
is failing?
Certainly. Warts and all here it is:
require 'watir'
require 'win32ole'
include Watir
require 'test/unit'
I haven't got started yet but I was hoping to try this out:
RTH Test Management open source project:
http://sourceforge.net/projects/rth/
RTH also have a library to post watir results into it here
http://www.bhtconsulting.com/gpage2.html
That combination looks a promising
Thanks the unit tests are of course the obvious resource, sorry.
But trying them I am now confused. I am running the following test with
the subsequent error. I have run out of brain. I cannot attach the
'Another' modal dialog. Can I borrow some brain?
Environment
Ruby
:in
`new'
c:/ruby182/lib/ruby/gems/1.8/gems/watir-1.5.1.1166/./watir.rb:351:in
`modal_dialog'
Michael Kernaghan
Quality Control Tester
Meridian Systems
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
604-609-0833 #103
Read what IDC believes to be the key to the success of engineering
Problem occurs with watir-1.5.1.1192 but DOES NOT occur with
watir-1.5.1.1166
Good result thanks!
I get these errors:
c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console.rb:7
6:in
`initialize': GetProcAddress: SetConsoleCommandHistoryMode or
I have been working on getting modal dialog tests to work running from
Vista.
As of now, the current working combination is Ruby 1.8.2 -15 and Watir
Gem 1.5.1.1166 and I have made no special changes to either of those.
I am looking for a good test example somewhere. I have got a simple one
to
I have no trouble on Vista with Ruby and Watir 1.4.1. However, in my
efforts to do UI with modal Dialog I need to use recent Watir Gem. I
installed Ruby and then the latest Gem according to the instructions.
I get these errors: