[Webtest] Using Excel Steps

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Tue, 08 Jul 2008 11:48:34 +0200


you need to configure your webserver correctly to send Excel file with
the right content type header: "application/vnd.ms-excel" and not

Blog: http://mguillem.wordpress.com

Patrick Wright wrote:
> I am unable to successfully call any Excel Step method.  The error I am
> receiving is: File does not have correct content type (not a '.xls'
> file?): application/octet-stream
> What I don't understand is why my excel file (.xls) is not being
> recognized as a .xls file. After I execute the test, the invoke
> statement is successful.  The xls file gets copied to the results dir
> and can be opened from the generated report. 
> Any one else ever have this issue?
> I'm using WebTest 2.6