[Wtr-general] Modal Dialog/Vista -- undefined method `hwnd'

2007-07-06 Thread Michael Kernaghan
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'

[Wtr-general] Reporting suggestions?

2007-07-06 Thread Michael Kernaghan
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

[Wtr-general] Best Combination - for Modal Dialog/Vista

2007-07-05 Thread Michael Kernaghan
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

[Wtr-general] Modal Dialog/Vista -- undefined method `hwnd'

2007-07-05 Thread Michael Kernaghan
: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

[Wtr-general] Ruby/Watir on Vista : watir-1.5.1.1192 and windows-pr-0.6.2 : SetConsoleCommandHistoryMode : RuntimeError

2007-06-28 Thread Michael Kernaghan
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

[Wtr-general] Best Combination - for Modal Dialog/Vista

2007-06-28 Thread Michael Kernaghan
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

[Wtr-general] Ruby/Watir on Vista : watir-1.5.1.1192 and windows-pr-0.6.2 : SetConsoleCommandHistoryMode : RuntimeError

2007-06-25 Thread Michael Kernaghan
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: