[wtr-general] Re: Unable to open IE window

2009-02-24 Thread wesley chen
Sorry, we can also remove the old version of actionmailer (2.2.2, 2.1.1) actionpack (2.2.2, 2.1.1) activerecord (2.2.2, 2.1.1) activeresource (2.2.2, 2.1.1) activesupport (2.2.2, 2.1.1) We can remove all the 2.1.1 version because the 2.2.2 dependent with each other with 2.2.2 Thanks. Wesley Chen.

[wtr-general] Re: Unable to open IE window

2009-02-24 Thread wesley chen
I tried on my another machine that: gem list --local # Get all the gems I have installed If there are more than one version of the gems installed, I gem uninstall (repeated gems) # Except actionmailer (2.2.2, 2.1.1) actionpack (2.2.2, 2.1.1) activerecord (2.2.2, 2.1.1) activeresource (2.2.2, 2.1

[wtr-general] Re: Unable to open IE window

2009-02-23 Thread wesley chen
Hi, All, I met this kind of problem recently tool. Following Tony's advise, I remove Ruby1.8.6, then I reinstall by: gem update --system gem install watir After successfully, I restart my system, run command regsvr32 C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir\AutoItX3.dll Anything goes

[wtr-general] Re: Unable to open IE window

2009-02-16 Thread Ben
Hi Jaz, No... I didn't contact Daniel Berger yet because I wanted to do some more tests. I added more debug info to the involved gems and I found that the problem occurs at line 35 of windows-pr-1.0.1\lib\windows \msvcrt\string.rb... In that file at line 35, a call is made to strtok_s and this me

[wtr-general] Re: Unable to open IE window

2009-02-13 Thread Jaz
Hi! Ben, did you get any help from Daniel Berger? The first thing I thought was just that there was some kind of conflict with Visual Studio. I have installed Visual Web developer 2008 and visual studio. It's really strange because my colleague have the same programs installed but she doesn't ha

[wtr-general] Re: Unable to open IE window

2009-02-12 Thread Bret Pettichord
Maybe. You should talk to Daniel Berger, who maintains the windows gems. I don't think he reads this list. djber...@gmail.com Bret Ben wrote: > Ok... I tried a brand new installation of Ruby and Watir on a fresh > win xp install using a VMWare virtual machine and everything works > perfectly..

[wtr-general] Re: Unable to open IE window

2009-02-12 Thread Ben
Ok... I tried a brand new installation of Ruby and Watir on a fresh win xp install using a VMWare virtual machine and everything works perfectly... I have both MS Visual Studio 2005 and Visual Studio 6.0 installed on my computer... I'm starting to beleive it might be a dll version conflict caused

[wtr-general] Re: Unable to open IE window

2009-02-12 Thread Ben
I tried to completely uninstall (using gem uninstall ) and re-install win32-* gems, windows-* gems and Watir.. I still have the same problem. Here's my gem list : *** LOCAL GEMS *** activesupport (2.2.2) builder (2.1.2) commonwatir (1.6.2) firewatir (1.6.2) fxri (0.3.6) fxruby (1.6.16) hoe (1.8.

[wtr-general] Re: Unable to open IE window

2009-02-11 Thread Bret Pettichord
I think you need to do more than that. The problem seems to be that there bad versions of these gems out there, and that they were fixed without changing the version number. So the gem installer won't update your gem. The solution, therefore, would be uninstall these gems and then reinstall t

[wtr-general] Re: Unable to open IE window

2009-02-11 Thread Ben
I have exactly the same problem here with the same versions of Ruby, win32-api, win32-process, windows-api, windows-pr and watir. Thanks if anyone can help! Ben On 9 fév, 03:52, Jaz wrote: > Hi! > Here are the commands: > > C:\Documents and Settings\A404410>gem list > > *** LOCAL GEMS *** > >

[wtr-general] Re: Unable to open IE window

2009-02-09 Thread Jaz
Hi! Here are the commands: C:\Documents and Settings\A404410>gem list *** LOCAL GEMS *** activesupport (2.2.2) builder (2.1.2) commonwatir (1.6.2) firewatir (1.6.2) fxri (0.3.7, 0.3.6) fxruby (1.6.18, 1.6.16) hoe (1.8.3) hpricot (0.6.164) log4r (1.0.5) ptools (1.1.6) rake (0.8.3, 0.8.1) ruby-o

[wtr-general] Re: Unable to open IE window

2009-02-06 Thread marekj
and please also run the following command gem env to know what version of rubygems and ruby you run On Fri, Feb 6, 2009 at 7:24 AM, Al Snow wrote: > > Jasmin, > Run "gem list" and send the output to this mailing list so we > can see your installed gems. > Thanks, > Al > > On Feb 6, 4:19 a

[wtr-general] Re: Unable to open IE window

2009-02-06 Thread Al Snow
Jasmin, Run "gem list" and send the output to this mailing list so we can see your installed gems. Thanks, Al On Feb 6, 4:19 am, Jaz wrote: > Al, > > I got this message when I ran the file: > > U:\Watir>ruby two-minute.rb > two-minute.rb:7: undefined method `goto' for # > (NoMethodErr > or

[wtr-general] Re: Unable to open IE window

2009-02-06 Thread Jaz
Al, I got this message when I ran the file: U:\Watir>ruby two-minute.rb two-minute.rb:7: undefined method `goto' for # (NoMethodErr or) On Feb 5, 8:17 pm, Al Snow wrote: > Jasmin, > > Put this in a file, two-minute.rb, and run "ruby two-minute.rb" on it. > > require "watir" > > ie = Watir::Br

[wtr-general] Re: Unable to open IE window

2009-02-05 Thread Al Snow
Jasmin, Put this in a file, two-minute.rb, and run "ruby two-minute.rb" on it. require "watir" ie = Watir::Browser.new ie.goto "http://www.google.com"; ie.text_field(:name, "q").set "WSO2 WSAS" ie.button(:name, "btnG").click Call me on Google Talk if you have problems. Thanks, Al On Feb 5

[wtr-general] Re: Unable to open IE window

2009-02-05 Thread Jaz
HI again! I have now tried both gem install win32-api gem install win32-process gem install windows-pr and gem update win32-api gem update win32-process gem update windows-pr This is really confusing Here is the complete text in the prompt: C:\Documents and Settings\JasminC>irb irb

[wtr-general] Re: Unable to open IE window

2009-02-05 Thread aidy lewis
Your right Charley gem install windows-pr Will do it. Aidy 2009/2/5 Charley Baker : > It seems there are some compatibility issues here with some of the > win32utils. Try updating your win32-api gem, win32-process and the > windows-pr gem as well. Same instructions that Aidy mentioned before

[wtr-general] Re: Unable to open IE window

2009-02-05 Thread Charley Baker
It seems there are some compatibility issues here with some of the win32utils. Try updating your win32-api gem, win32-process and the windows-pr gem as well. Same instructions that Aidy mentioned before with those gems. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer,

[wtr-general] Re: Unable to open IE window

2009-02-05 Thread aidy lewis
This will work require 'watir' Watir::Browser.default = "ie" @browser ||= Watir::Browser.new Aidy 2009/2/5 Jaz : > > Hi! > > Thanks for answering so fast Aidy > Unfortuneatly it still doesn't work =( > > (Going crazy soon...) > > /jasmin > > On Feb 5, 1:59 pm, aidy lewis wrote: >> gem l

[wtr-general] Re: Unable to open IE window

2009-02-05 Thread Jaz
Hi! Thanks for answering so fast Aidy Unfortuneatly it still doesn't work =( (Going crazy soon...) /jasmin On Feb 5, 1:59 pm, aidy lewis wrote: > gem list -r win* > > gem update windows-api -y > > Aidy > > 2009/2/5 Jaz : > > > > > > > How do I do that? > > > On Feb 5, 12:36 pm, aidy lewis wr

[wtr-general] Re: Unable to open IE window

2009-02-05 Thread aidy lewis
gem list -r win* gem update windows-api -y Aidy 2009/2/5 Jaz : > > How do I do that? > > On Feb 5, 12:36 pm, aidy lewis wrote: >> At a guess try updating your windows api gem >> >> Aidy >> >> 2009/2/5 Jaz : >> >> >> >> >> >> > Hi! >> >> > Recently installed ruby to use watir, and I get a stra

[wtr-general] Re: Unable to open IE window

2009-02-05 Thread Jaz
How do I do that? On Feb 5, 12:36 pm, aidy lewis wrote: > At a guess try updating your windows api gem > > Aidy > > 2009/2/5 Jaz : > > > > > > > Hi! > > > Recently installed ruby to use watir, and I get a strange error when I > > execute the steps in "Watir in 5 minutes" > >http://wiki.openqa.or

[wtr-general] Re: Unable to open IE window

2009-02-05 Thread aidy lewis
At a guess try updating your windows api gem Aidy 2009/2/5 Jaz : > > Hi! > > Recently installed ruby to use watir, and I get a strange error when I > execute the steps in "Watir in 5 minutes" > http://wiki.openqa.org/display/WTR/Watir+in+5+Minutes > > These are the steps I follow: > > 1. require