Nadim
Testing file download with dialogs is feasible in Watir, see
http://wiki.openqa.org/display/WTR/File+Downloads
However I generally not recommend this approach, as it might be error
prone when your test suite get large and run in continuous build
server.
Here is another way to verify file download: fast, not dialog, can
check file size and content type.
scenario "Upload file attachment" do
require 'httpclient'
client = HTTPClient.new
message = client.get("http://itest2.com/downloads/
itest2recorder.xpi")
message.contenttype.should =~ /text\/plain/
message.content.size.should == 35683
end
Zhimin