Maybe you need a <previousResponse/> step if you aren't
planning on testing the content of the Excel file.

Paul.

Marc Guillemot wrote:
Adrian Porter wrote:

The except below from my log file shows the results of clicking on a valid link which, in turn, launches an excel spreadsheet. The spreadsheet is invoked correctly by ClickLink but an exception is then thrown because the xls becomes the current response when an HTML page is expected.

How can I get round this erro please ?

[clickLink] INFO (com.canoo.webtest.steps.request.AbstractTargetAction) - -> gotoTarget by clickLink [clickLink] INFO (com.canoo.webtest.steps.Step) - Running with: Canoo Webtest: R_1217. [clickLink] INFO (com.canoo.webtest.steps.Step) - Exception thrown from this class: com.canoo.webtest.engine.StepExecutionException [clickLink] INFO (com.canoo.webtest.steps.Step) - Message was: Current response is not an HTML page but of type application/vnd.ms-excel [clickLink] INFO (com.canoo.webtest.steps.Step) - Running with: Canoo Webtest: R_1217. [clickLink] INFO (com.canoo.webtest.steps.Step) - Exception thrown from this class: com.canoo.webtest.engine.StepExecutionException [clickLink] INFO (com.canoo.webtest.steps.Step) - Message was: Current response is not an HTML page but of type application/vnd.ms-excel


why do you try to use clickLink when you're in an Excel file?

Cheers,
Marc.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to