Lily,

you just need for instance a <clickElement htmlId="..."/> and if the
server generates an Excel file and sends it to the client, it should be
available as current response on which you can use the Excel steps.

@Ahmed: WebTest has built-in supports for Excel files (using POI). See
http://webtest.canoo.com/webtest/manual/syntaxExcel.html

Cheers,
Marc.
-- 
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com

Meng, Lily wrote:
> Hi Marc,
> 
> I believe the excel sheet is created on the fly. I talked to the developer, 
> and all he could do now is to add an id for the image that I click, which 
> generates the excel sheet.
> In that case how should I invoke it and verify the cell value?
> 
> 
> ~Lily
> 
> 
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot
> Sent: Wednesday, October 15, 2008 7:19 AM
> To: [email protected]
> Subject: Re: [Webtest] invoke excel file
> 
> Hi,
> 
>> Does anyone know how I could invoke a excel sheet file which doesn't
>> seem to have an URL? I can click on the icon or the text next to the
>> icon via UI to see an exported excel sheet file;
> 
> ???
> unless you're in IE with js code using MS Excel ActiveX to create a
> sheet on the fly, you Excel sheet will surely have an url.
> 
>> I have the name of the exported excel file, but upon doing <invoke url="
>> "> it returns http error,
>>
>> on the result page it shows the UI error page with msg "*Error:* The
>> page you requested could not be found."
> 
> then it is not the right url.
> 
>> What's a good way to invoke an excel page and verify the cell value? How
>> could I find the correct URL?
> 
> how do you get the correct url with your "normal" browser?
> 
> Cheers,
> Marc.
> --
> Web: http://www.efficient-webtesting.com
> Blog: http://mguillem.wordpress.com
> 
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 


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

Reply via email to