From: Luis Lavena Date: 2008-05-03T07:40:06+09:00 Subject: Re: issue running watir on 64 bit winxp On May 2, 6:00 pm, deb...@gmail.com wrote: > I am having the same problem: > > C:\dev\Utility\scripts\ruby>ruby login.rb > c:/apps/ruby/lib/ruby/gems/1.8/gems/watir-1.5.4/./watir/frame.rb:32: > [BUG] Segme > ntation fault > ruby 1.8.6 (2007-09-24) [i386-mswin32] > > This application has requested the Runtime to terminate it in an > unusual way. > Please contact the application's support team for more information. > > ------------ > here is my (simple) script that i'm running on xp sp2, ie7: > > require "watir" > > testsite = "https://my.site.com/" > ie = Watir::IE.new > ie.goto(testsite) > ie.text_field(:name, "UserName").set "myname" > ie.text_field(:name, "Password").set "mypassword" > ie.text_field(:name, "Client").set "myclient" > ie.button(:id, "Submit").click > ie.wait > expected_url = testsite + "Home/UserHome.asp" > if ie.url == expected_url > ie.span(:text, "View/Modify Items").click > ie.wait > ie.radio(:id, "Filter").click > ie.wait > ie.select_list(:name, "Filter").click > ie.select_list(:name, "Filter").select("saved filter") > ie.wait > ie.button(:id, "Submit").click > end > > this works on xp sp2 machines that are running ie6, oddly enuff... OK, I got missed interpretations of your post: "here is my (simple) script that i'm running on xp sp2, ie7:" That is xp sp2 32bits, or what? Got messed up since you finish your post with: "this works on xp sp2 machines that are running ie6, oddly enuff..." ... So: have you tried xp sp2 32bits with IE7, or just with IE6? in any case, I suggest you try IE7 on 32bits or check what is actually doing the offending watir file, so we can determine if: - is a API call to some DLL that behaves differently in 64bits - is a change in the API of IE6 versus IE7. Regards, -- Luis Lavena