[wtr-general] Test the PDF through Ruby/Watiir

2010-04-09 Thread arihan sinha
Hi, Could you please let me know how to test the pdf through ruby/watir. at present when we click any pdf link in our apps it gets opened in the browser in a separate window and we only verify the url. but can we verify the content as well or something else. Thanks Arihan -- Before posting,

Re: [wtr-general] Test the PDF through Ruby/Watiir

2010-04-09 Thread Željko Filipin
On Fri, Apr 9, 2010 at 1:36 PM, arihan sinha arihan.si...@googlemail.com wrote: Could you please let me know how to test the pdf through ruby/watir. As far as I know, you can not test contents of pdf with Watir. There is probably another Ruby library that can do it. Željko -- watir.com -

Re: [wtr-general] Test the PDF through Ruby/Watiir

2010-04-09 Thread arihan sinha
Is there any way can take the title of the browser I tried with $ie.title but its not working Arihan On Fri, Apr 9, 2010 at 12:40 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Apr 9, 2010 at 1:36 PM, arihan sinha arihan.si...@googlemail.com wrote: Could you please let me

Re: [wtr-general] Test the PDF through Ruby/Watiir

2010-04-09 Thread Željko Filipin
On Fri, Apr 9, 2010 at 1:51 PM, arihan sinha arihan.si...@googlemail.com wrote: I tried with $ie.title but its not working That should work? not working is not enough data for me to help. You have to be me explicit. Željko -- Before posting, please read http://watir.com/support. In short:

Re: [wtr-general] Test the PDF through Ruby/Watiir

2010-04-09 Thread Yuping Zhong
I agree with Željko,@browser.title should work. Can you give us the URL so that we can help you? On Fri, Apr 9, 2010 at 7:56 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Apr 9, 2010 at 1:51 PM, arihan sinha arihan.si...@googlemail.com wrote: I tried with $ie.title but