My initial HTML page has a link that will open a spreadsheet in the 
browser.  I understand from the manual that thre are webtest steps that 
will allow me to manipulate the spreadsheet.  However, myabe ClickLink 
always expects the response to be another HTML page ?



Marc Guillemot <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
12/11/2007 07:00 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: [Webtest] Exception thrown when current respose becomes an excel file 
instead of HTML page.






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.
-- 
Blog: http://mguillem.wordpress.com


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

Reply via email to