Hi, we did have the same problem with the pdf-tasks.
We solved the problem by doing: [...] <clickLink label="Lizenzen"/> <pdfVerifyText description="check the pdf for the String Lizenzen!" text=".+Lizenzen.*" regex="true"/> <!-- closeWindow did fail on each testrun. --> <previousResponse/> <verifyText description="Zurück auf der Linkseite" text="Lizenzen Berichte"/> [...] You have to go tot he previous response! By the way, did anyone have the same failure - using <closeWindow/> instead of <previousResponse/>? Greetings Michael Habbert We are using WebTest to test the following scenario: Log in to our website Select a Report to run Fill in Report parameters and run Report opens in PDF/Excel format After the test case is finished, I would like to Logout of the website. The website has a "Logout" link at the top of the page which I can click on to log out. However in the scenario described above, the PDF/Excel document is open and its not possible to click on the Logout link. Any suggestions on how to close the PDF/Excel documents so that I can get back to the web page with the Logout link? thanks! -- View this message in context: http://old.nabble.com/How-to-close-PDF-Excel-documents-tp30197927p30197927.html Sent from the WebTest mailing list archive at Nabble.com. Michael Habbert Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | www.key-work.de Fon: +49-721-78203-269 | E-Mail: [email protected] | Fax: +49-721-78203-10 Key-Work Consulting GmbH Karlsruhe, HRB 108695, HRG Mannheim Geschäftsführer: Andreas Stappert, Tobin Wotring_______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

