excel and word should be easy enough - watir doesnt do it directly, but 
there are plenty of posts out there to guide you through using the ole 
interface into word/excel from Ruby

I dont know how you would do it for pdf though

Paul

----- Original Message ----- 
From: "Kui Zhang" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, April 26, 2007 2:25 PM
Subject: [Wtr-general] Can Watir do - verify the file opened in PDF or 
Excelfrom?


> Hello Watir exporters,
>
> I am using selenium RC testing tool writing in JAVA to automate the test 
> cases. I can automate everything in web browser. But the web application 
> does file download or open file in Acrobat Reader, Word or Excel.  Once 
> the no web Download file window is open, or view file open in Word/Excel, 
> I could not using selenium to do anything with the files or windows. I 
> need to do the followings with these windows:
>
> Enter the file name to download and click OK
>
> Make sure the PDF window is open, verify text in the PDF file, and close 
> the file
>
> Make sure the Excel window is open, verify data in the worksheet, and 
> close the file
>
> Can Watir handle these cases?
>
> Thank you for your help!
> Kui
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
> 


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to