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
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
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
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
> 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
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
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
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
__
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
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
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
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
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
> 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
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
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
16 matches
Mail list logo