Re: [wtr-general] Can watir-webdriver save picture of an element?

2013-04-26 Thread Željko Filipin
On Fri, Apr 26, 2013 at 5:20 AM, Christian songyangyang2...@gmail.comwrote: I want to save a picture of an element like a button If you are using watir-classic: browser.image.save(c:/foo/bar.jpg) More information: http://rdoc.info/gems/watir-classic/Watir/Image#save-instance_method If you

Re: [wtr-general] Can watir-webdriver save picture of an element?

2013-04-26 Thread Christian
Thank you. 在 2013年4月26日星期五UTC+8下午3时59分02秒,Željko Filipin写道: On Fri, Apr 26, 2013 at 5:20 AM, Christian songyang...@gmail.comjavascript: wrote: I want to save a picture of an element like a button If you are using watir-classic: browser.image.save(c:/foo/bar.jpg) More information:

[wtr-general] watir installation issues

2013-04-26 Thread gary
Hi all, After a successful upgrade from an old version of watir and ruby I am attempting to create a new vm test rig running the latest ruby and watir. It's a fresh install of windows 7 so I'm using the watirbook instructions as directed and following them as specified, or so I thought but I

Re: [wtr-general] watir installation issues

2013-04-26 Thread gary
Thanks for the speedy reply but it's still not quite there. I rushed in at first with gem install watir-classic which didn't appear to do anything before checking that it should've been gem install watir watir-classic so I tried that, but my gem list still doesn't include watir or

Re: [wtr-general] watir installation issues

2013-04-26 Thread Željko Filipin
On Fri, Apr 26, 2013 at 12:49 PM, gary mrgaryengl...@googlemail.com wrote: I rushed in at first with gem install watir-classic which didn't appear to do anything before checking that it should've been gem install watir watir-classic so I tried that, but my gem list still doesn't include watir

[wtr-general] Save Link As with Watir

2013-04-26 Thread Adrian Killens
Hi, does anyone know how I could download a file to a specific folder with Watir and Chrome? I have a link to a pdf file and I'd like to download to a specific folder and change the file name in the process, preferably in the Save As dialog. Cheers Aidy -- -- Before posting, please read

Re: [wtr-general] Save Link As with Watir

2013-04-26 Thread Željko Filipin
On Fri, Apr 26, 2013 at 1:44 PM, Adrian Killens ack...@googlemail.comwrote: I have a link to a pdf file and I'd like to download to a specific folder and change the file name in the process, preferably in the Save As dialog. I think the easiest way would be to disable save as popup in chrome,

Re: [wtr-general] watir installation issues

2013-04-26 Thread gary
hurrah found it, details posted below in case anyone else encounters the same problem ok, summarising from the top installed ruby 2.0.0 using installer from command prompt, gem update --system downloaded appropriate devkit extracted devkit to c:\devkit from command prompt, devkit folder,

[wtr-general] Re: Internet Explorer - watir-webdriver question

2013-04-26 Thread Alan May
Thanks so much for your suggestion Jim. I'm trying some different experiments based on your feedback. Have a great weekend and thank you for your assistance. Best Regards, Alan On Thursday, April 25, 2013 12:01:08 PM UTC-5, Jim Evans wrote: Just a wild guess, but are you running on 64-bit