Re: [Wtr-general] file download

2006-09-28 Thread Luke
ok thnx, what a about bigger files? downloading something that is invoked by the link click? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] file download

2006-09-25 Thread Bill Agee
Here's a way to get a binary file and save it locally using net/http, built from the example on this site: http://www.rubynoob.com/articles/2006/08/21/how-to-download-files-with-a-ruby-script # Save the google logo.gif to the current dir. require 'net/htt

Re: [Wtr-general] file download

2006-09-25 Thread Charley Baker
You can also use Ruby's Net Http standard library if you just want to do a simple file download: require 'net/http' Net::HTTP.start("www.ruby-lang.org") { |http| resp = http.get("/images/logo.gif") open("rubylogo.gif", "wb") { |file| file.write(resp.body) } } -Charley On 9/25/06, Luke

Re: [Wtr-general] file download

2006-09-25 Thread Luke
Can you show me the example of this www:mechanize beacuse i don't know how to do itthnx Luke ___Wtr-general mailing listWtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-gener

Re: [Wtr-general] file download

2006-09-20 Thread Chris McMahon
> is it possible to download a file from page without invoking window to> specify name file, path, dialog with save, cancel buttons, can make it > automatically, just specify link to a file and path in code ?I´ve realized this with a system call and wget (yes, there is a windowsversion, google for

Re: [Wtr-general] file download

2006-09-20 Thread Christian Baumann
Luke schrieb: > is it possible to download a file from page without invoking window to > specify name file, path, dialog with save, cancel buttons, can make it > automatically, just specify link to a file and path in code ? I´ve realized this with a system call and wget (yes, there is a windows

[Wtr-general] file download

2006-09-20 Thread Luke
is it possible to download a file from page without invoking window to specify name file, path, dialog with save, cancel buttons, can make it automatically, just specify link to a file and path in code ?Luke ___ Wtr-general mailing list Wtr-general@rubyfo

[Wtr-general] File Download

2006-07-25 Thread mail
Hi all, i have a problem with downloading a file. How to handle the "File Save" - Popup? I have found this http://jira.openqa.org/browse/WTR-63 when searching the web, but it doesnŽt work: Nothing happens, I donŽt even get an error message. Thanks for advice, Chriss __

[Wtr-general] File Download dialog never gets attached/found

2006-07-19 Thread John Krystynak
I want to get Watir to load a page, press a "download file" button and save the file. This first part works fine - and the "File Download" dialog comes up - PART 1 require 'Watir' include Watir ie = IE.new ie.goto("http://example.com";) ie.button(:value,"Login").click ie

Re: [Wtr-general] File Download Pop-Ups

2006-06-29 Thread Cain, Mark
added this then it would click the specified button.   Hope this helps,   --Mark   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charley Baker Sent: Thursday, June 29, 2006 8:03 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] File Download Pop-Ups

Re: [Wtr-general] File Download Pop-Ups

2006-06-29 Thread Charley Baker
Take a look at winClicker.rb, clickWindowsButton should work, something like this: require 'watir/winClicker'clicker = WinClicker.newclicker.clickWindowsButton('File Download', 'Save')-Charley On 6/28/06, Andy Case <[EMAIL PROTECTED]> wrote: Hi,   I get the following Pop-up from my applicati

[Wtr-general] File Download Pop-Ups

2006-06-28 Thread Andy Case
Hi,   I get the following Pop-up from my application.   Is there a WATIR command that allows me to select the buttons below.     ~~ This email (including any attached files) is for the intended recipient(s) only. If you received

[Wtr-general] File Download

2006-01-24 Thread carl . l . shaulis
Good afternoon: I have two areas where I am currently blocked. The most important concern is dowloading a file. I use Winclicker successfully for handling other pop-ups in our application but when if comes to File Download it does not appear to work. Searching the archives I find reference

Re: [Wtr-general] File Download Pop-up

2005-07-14 Thread Chris McMahon
> 1) File Download window asking user to SAVE or OPEN (I want to be able to > click on SAVE here) > 2a) Save window pops up for user to type in file name and SAVE > 2b) Save AS window pops up to ask user whether to REPLACE existing file name > or SAVE AS a new file name (I want to be able to clic

RE: [Wtr-general] File Download Pop-up

2005-07-13 Thread Zeljko Filipin
Ton-NuSent: Thursday, July 14, 2005 4:53 AMTo: 'wtr-general@rubyforge.org'Subject: [Wtr-general] File Download Pop-up I wish we have a "search" engine for all the great postings so I can look up whether someone has posted a question on how to handle the series of pop-ups th

[Wtr-general] File Download Pop-up

2005-07-13 Thread Tuyet Cong-Ton-Nu
I wish we have a "search" engine for all the great postings so I can look up whether someone has posted a question on how to handle the series of pop-ups that happen when you want to do a Windows File Download (Export a File).  Here are the series of windows that appear when I Export a file