Re: [Wtr-general] Watir Development Gem 1.5.1.1192 Released

2007-05-25 Thread Norm
Awesome, I will try this tomorrow to see if it resolves my problem with ie-new-process and rubyw.exe I outlined in the following post: http://forums.openqa.org/thread.jspa?threadID=8174tstart=0 ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] Basic accessibility testing with Watir and RAAKT...

2007-05-25 Thread Peter Krantz
Hi! I have been tinkering with an open source accessibility testing tool that easily hooks into Watir. The idea is to check for basic accessibility issues while you are running your Watir functional tests (because you have access to the complete html output from your application). The idea is to

Re: [Wtr-general] CAN BE CLICK LINK ASSOCIATED WITH AN IMAGE

2007-05-25 Thread Željko Filipin
On 5/24/07, Bret Pettichord [EMAIL PROTECTED] wrote: My mistake. Try this instead. ie.link(:after?, ie.image(:id, 'foo')).click It works now. This is so cool. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] stripping...

2007-05-25 Thread Željko Filipin
ie.url returns url. What do want to do with it? irb ie.url = http://www.google.com/; Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] stripping...

2007-05-25 Thread Sol Jubrail
./en/HotelDetails/7e958187-982a-4e01.aspx that's part of the URL and i want to strip the id number out of it (7e958187-982a-4e01) then use it so i can input it into another URL So what i need is to know how to pull that url, using regex or whatever and then construct another url and redirt to

Re: [Wtr-general] stripping...

2007-05-25 Thread Ravi
Try this: new_url=base_url + '/' + ie.url.split('/').last.gsub('.aspx','') ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] stripping...

2007-05-25 Thread Sol Jubrail
Thanks Ravi, that's really got the ball rolling although it's stripping it's a little off. can you tell me what last.gsub does? i think it's the .aspx off the end... but what are the two inputs for on that method? thanks mate. Sol. From:Ravi [EMAIL

Re: [Wtr-general] want to enter URL manualy

2007-05-25 Thread Bret Pettichord
Shalini, Could you please try to include more information in your posts to this list. It can try the patience of the few people we have who are answering questions here when incomplete information is posted. In your case, you need to take another look at the stack trace you posted and then

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-25 Thread Bach Le
I thought the two problems are related because in neither instance was watir able to find the window after it was created (I didn't look into the specifics). I did look into it some more after this post and I found out that it was Vista's security settings that caused watir to break. Turning

Re: [Wtr-general] Basic accessibility testing with Watir and RAAKT...

2007-05-25 Thread Chris McMahon
The tool is called Raakt (Ruby Accessibility Analysis Kit) and the project wiki can be found here: http://www.peterkrantz.com/raakt/wiki/ This is very cool and I'm going to try it out. But your site looks awful in Firefox on OS X. :) ___ Wtr-general

Re: [Wtr-general] Basic accessibility testing with Watir and RAAKT...

2007-05-25 Thread Charley Baker
It does look really cool. Unfortunately hpricot (a required dependency) dumps out with a Segmentation fault with Ruby 1.8.2. Looks like it only works with Ruby 1.8.5 and above. Bummer. On 5/25/07, Chris McMahon [EMAIL PROTECTED] wrote: The tool is called Raakt (Ruby Accessibility Analysis

Re: [Wtr-general] Basic accessibility testing with Watir and RAAKT...

2007-05-25 Thread Paul Rogers
this looks really useful - it would work really well with an error checker: AccessChecker = Proc.new{|ie| raakttest = Raakt::Test.new(ie.html) result = raakttest.all if result.length 0 puts Accessibility problems detected on #{ie.title}, #{ie.url}: puts result else

Re: [Wtr-general] stripping...

2007-05-25 Thread Sol Jubrail
You're a star mate, that's been awesome help. :) Sol From:Ravi [EMAIL PROTECTED]Reply-To:wtr-general@rubyforge.orgTo:wtr-general@rubyforge.orgSubject:Re: [Wtr-general] stripping...Date:Fri, 25 May 2007 10:36:20 CDTI guess you do not need the 'gsub' part.FYI, gsub('old_string','new_string')

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-25 Thread Bret Pettichord
Bach Le wrote: I thought the two problems are related because in neither instance was watir able to find the window after it was created (I didn't look into the specifics). I did look into it some more after this post and I found out that it was Vista's security settings that caused watir

Re: [Wtr-general] RDOC - Help determining what needs documentation

2007-05-25 Thread Bret Pettichord
Jeff Fry wrote: Hey y'all, I'm resending these in the hopes of getting info from folks who know what watir actually does better than I do. If you are up for updating the wiki chart, great...but if you just want to email me some corrections, that'd be totally fine too. I'll happily update

Re: [Wtr-general] Basic accessibility testing with Watir and RAAKT...

2007-05-25 Thread Chris McMahon
Hmm, error on both Windows and Mac from the demo script: raakt.rb:14: uninitialized constant Raakt (NameError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in

Re: [Wtr-general] Basic accessibility testing with Watir and RAAKT...

2007-05-25 Thread Chris McMahon
Error from the standalone script also Windows and Mac: mechanize.rb:334:in `to_absolute_uri': no history. please specify an absolute URL (RuntimeError) from /usr/local/lib/ruby/gems/1.8/gems/mechanize-0.6.8/lib/mechanize.rb:170:in `get' from ./raakt.rb:12 from

[Wtr-general] My mistake! Re: Basic accessibility testing with Watir and RAAKT...

2007-05-25 Thread Chris McMahon
It must be Friday. Some free advice: don't name your test file raakt.rb.:) On 5/25/07, Chris McMahon [EMAIL PROTECTED] wrote: Error from the standalone script also Windows and Mac: mechanize.rb:334:in `to_absolute_uri': no history. please specify an absolute URL (RuntimeError)

Re: [Wtr-general] RDOC - Help determining what needs documentation

2007-05-25 Thread Charley Baker
I updated the :action and :method info. I'll take a look at the chart which is rather interesting, useful and may point out some discrepancies. -c On 5/25/07, Bret Pettichord [EMAIL PROTECTED] wrote: Jeff Fry wrote: Hey y'all, I'm resending these in the hopes of getting info from folks who

Re: [Wtr-general] Basic accessibility testing with Watir and RAAKT...

2007-05-25 Thread Peter Krantz
On 5/25/07, Paul Rogers [EMAIL PROTECTED] wrote: this now means that every time a page is loaded, the accessability checks get run Nice code sample. Didn't know you could do that in Watir. May I use it as an example in the Raakt wiki? Regards, Peter

Re: [Wtr-general] Watir Development Gem 1.5.1.1192 Released

2007-05-25 Thread Norm
Perfect, my issue with rubyw and ie-new-process is resolved by upgrading to 1.5.1.1192! Thanks Bret! ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] RDOC - Help determining what needs documentation

2007-05-25 Thread Jeff Fry
Hey Charley - thanks for adding the :action and :method info. And thanks to both Charley and Bret for the kind words. I do hope the chart proves useful. In the new version of the Rdoc (not yet checked in) I have replaced lists of supported attributes for each method with a link to this wiki

Re: [Wtr-general] Seg-faults with 4 ie windows (hello)

2007-05-25 Thread Michael Sofaer
Looks like this issue has gone away with the new development gem, thanks, Bret! ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] RDOC - Help determining what needs documentation

2007-05-25 Thread Bret Pettichord
Hey Charley - thanks for adding the :action and :method info. And thanks to both Charley and Bret for the kind words. I do hope the chart proves useful. In the new version of the Rdoc (not yet checked in) I have replaced lists of supported attributes for each method with a link to this

Re: [Wtr-general] RDOC - Help determining what needs documentation

2007-05-25 Thread Jeff Fry
On 5/25/07, Bret Pettichord [EMAIL PROTECTED] wrote: Rather than spend too much effort trying to keep the rdoc and the wiki in sync, i suggest that you embed a link to the wiki in the rdoc. Yeah, I think I just didn't express myself clearly there. I've added links to the wiki in the rdoc

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-25 Thread Bach Le
So here is how I fixed my problem: 1. Goto the Control Panel 2. Click on User Accounts 3. Click on User Accounts again 4. Select the account you are using 5. Click Turn User Account Control on or off 6. Turn User Account Control off This allowed Shell.Application.Window to find the correct

Re: [Wtr-general] Basic accessibility testing with Watir and RAAKT...

2007-05-25 Thread Paul Rogers
absolutely - test it first though as I did it off the top of my head Paul - Original Message - From: Peter Krantz [EMAIL PROTECTED] To: wtr-general@rubyforge.org Sent: Friday, May 25, 2007 1:31 PM Subject: Re: [Wtr-general] Basic accessibility testing with Watir and RAAKT... On

Re: [Wtr-general] RDOC - Help determining what needs documentation

2007-05-25 Thread Paul Rogers
for images, 1.4 let you use :src which was the url of the image. I cant test it on the latest as all my gems are broken :-( - Original Message - From: Charley Baker To: wtr-general@rubyforge.org Sent: Friday, May 25, 2007 1:17 PM Subject: Re: [Wtr-general] RDOC - Help