Re: [wtr-general] how to get slectlist box option value

2011-02-25 Thread Tim Koopmans
b.select_list(:name => "phone_type").options.collect {|o| o.text[/\w/]} or this b.goto 'http://tinyurl.com/6f8v92t' Cheers, Tim On Fri, Feb 25, 2011 at 5:28 PM, Rajiv Nanduani wrote: > Hi All, > > I am facing a problem with watir for list box object. I have to extrach the > value of select

Re: [wtr-general] how to run watir in background on linux

2011-02-25 Thread Tim Koopmans
why don't you try watir-webdriver with HtmlUnit driver for headless automation. Cheers, Tim On Fri, Feb 25, 2011 at 7:03 PM, warlock wrote: > hi guys > how to run watir in background on linux > i tried the "-b" tag to the script.. but this doesnt work on linux... > > basically if i wanna run i

[wtr-general] how to run watir in background on linux

2011-02-25 Thread warlock
hi guys how to run watir in background on linux i tried the "-b" tag to the script.. but this doesnt work on linux... basically if i wanna run it a 100 times i dont want the browser to open up those many times.. too much resource going there.. :( -warlock -- Before posting, please read http://w

[wtr-general] Re: Need to get/retrieve value

2011-02-25 Thread Chuck van der Linden
appreciate your trying to help out.. The capcha thing is a good challenge, but so far the best solution for most folks is something like 1) don't test against production sites 2) employ a web.config setting or similar method to disable the actual captcha and use a static answer. 3) turn that se

Re: Re: [wtr-general] how to get slectlist box option value

2011-02-25 Thread rajivkumarnandvani
thanks All I got this from this URL http://rdoc.info/gems/watir/1.7.0/Watir/SelectList:option Given the following html: Unknown Male Female get the value attribute of option with visible text 'Female' browser.select_list(:id, 'gender').option(:text, 'Female').value #=> 'F' or find out if

Re: [wtr-general] Re: Identify Flash Objects - to write

2011-02-25 Thread Aditya
Thanks guys for more valuable info. On Fri, Feb 25, 2011 at 10:03 AM, Chuck van der Linden wrote: > learn to assist yourself. > > http://lmgtfy.com/?q=flash+watir > > On Feb 24, 4:15 am, V wrote: > > How do i identify flash objects as my firebug does not display > > those.Any add-on for flash o

Re: [wtr-general] Re: Need to get/retrieve value

2011-02-25 Thread Željko Filipin
On Fri, Feb 25, 2011 at 9:12 AM, Chuck van der Linden wrote: > "sir, its as if you put a door on the building that is designed to > only admit living breathing humans, and specifically to keep out > robots. Then you are telling me to make robot to go through that > door, and start doing stuff ins

[wtr-general] unknown property or method document HRESULT error 0x800706b5

2011-02-25 Thread TCBlues
Watir: 1.6.5 Windows 7 64 bits Ruby 1.8.7 When running this code: require 'watir' nav=Watir::IE.new() nav.goto("http://www.google.com";) puts nav.url nav.close() I get this error: unknown property or method `document'HRESULT error code: 0x800706b5 The interface is unknown. I was surfi

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-02-25 Thread Željko Filipin
http://stackoverflow.com/questions/5094108/jquery-watir-event-handlers-not-working http://stackoverflow.com/questions/5116950/finding-sibling-of-a-link-while-using-watir-webdriver -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@go

[wtr-general] Re: Watir at Facebook

2011-02-25 Thread Željko Filipin
On Tue, Feb 22, 2011 at 4:02 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > I did not find a way how to create simple URL like https://www.facebook.com/pages/Watir or even https://www.facebook.com/Watir, if somebody knows how to do it, please let me know. Found how to do it (at https

[wtr-general] Re: Watir at Facebook

2011-02-25 Thread sdemian
I like watircom - very simple and understandable as for me. Suggestions:) How about: https://www.facebook.com/watirhome On Feb 25, 3:11 pm, Željko Filipin wrote: > On Tue, Feb 22, 2011 at 4:02 PM, Željko Filipin > wrote: > > I did not find a way how to create simple URL like > > https://www.fa

[wtr-general] Re: Error on re-executing the script

2011-02-25 Thread Dave McNulla
Ashu, Sorry, but I have no idea what happened from your message. Try to treat this like a defect that you are submitting to a tracking system: how to reproduce, happened/expected, configuration info (versions of ruby, watir, FireFox, etc.), what problem you are trying to solve with the automati

Re: [wtr-general] Re: Watir at Facebook

2011-02-25 Thread Ethan
ruby-watir, or watir-ruby, perhaps? On Fri, Feb 25, 2011 at 10:19, sdemian wrote: > I like watircom - very simple and understandable as for me. > > Suggestions:) How about: > https://www.facebook.com/watirhome > > On Feb 25, 3:11 pm, Željko Filipin > wrote: > > On Tue, Feb 22, 2011 at 4:02 PM,

Re: [wtr-general] Re: Watir at Facebook

2011-02-25 Thread Željko Filipin
On Fri, Feb 25, 2011 at 6:40 PM, Ethan wrote: > ruby-watir, or watir-ruby, perhaps? Tried and got: "Usernames can only contain A-Z, a-z, 0-9, and periods (.)" ruby.watir and watir.ruby are valid and available. Željko -- Before posting, please read http://watir.com/support. In short: search be

Re: [wtr-general] unknown property or method document HRESULT error 0x800706b5

2011-02-25 Thread Tim Koopmans
Run watir from a shell with admin privs. http://jira.openqa.org/browse/WTR-427 Cheers, Tim On Fri, Feb 25, 2011 at 11:55 PM, TCBlues wrote: > Watir: 1.6.5 > Windows 7 64 bits > Ruby 1.8.7 > > When running this code: > > require 'watir' > nav=Watir::IE.new() > nav.goto("http://www.google.com"

Re: [wtr-general] unknown property or method document HRESULT error 0x800706b5

2011-02-25 Thread Dmitriy Korobskiy
Just FYI: it does not seem to be happening on a 32-bit Vista. I run Watir there using a non-admin account. -- DK AIM: DKroot1, Skype: DKroot On 2/25/11 12:50 PM, Tim Koopmans wrote: Run watir from a shell with admin privs. http://jira.openqa.org/browse/WTR-427 Cheers, Tim On Fri, Feb 25

[wtr-general] Update on Watir Day 2011 - Sunday 3rd April - San Francisco

2011-02-25 Thread Alister Scott
Hi Everyone, I thought I would send out an update on Watir Day 2011, in case you hadn't seen what's happening on the website and twitter. http://watir.com/watir-day/ Planning for Watir Day is full steam ahead. *Proposing a Talk* You can propose a talk which closes over the coming days. See: htt

[wtr-general] Prerelease version of Watir out 1.8.0.rc1

2011-02-25 Thread Charley Baker
Hello all, I've pushed a release candidate for the next version of watir and firewatir into the pipeline. Feel free to test it out and submit any challenges you might have. The biggest change for this release is dropping the ActiveSupport library for Firefox. Major kudos to Jarmo for pushing tha

[wtr-general] Re: Prerelease version of Watir out 1.8.0.rc1

2011-02-25 Thread Jarmo Pertman
I'm not sure how to communicate the removal of active support dependency properly because there will be probably failing tests due to the usages of active support without users even acknowledging it. I'm pretty sure there are tests with something like "2.days.from_now" and so on. Any ideas? Or will