1 message in com.canoo.lists.webtest[Webtest] Getting an error message fo...
FromSent OnAttachments
Deware Vipin (KSDA 341)25 Oct 2006 04:49 
Subject:[Webtest] Getting an error message for "clickLink"
From:Deware Vipin (KSDA 341) (vipi@credit-suisse.com)
Date:10/25/2006 04:49:39 AM
List:com.canoo.lists.webtest

Hi All,

In one of my webtest I have one problem. Actually I have to click a link which has icon as a link. This link opens an excel file in new page. So I have written a code to click that link. The Webtestcode is -

<clickLink xpath="//tr/td/a/img[@title='Generate Excel sheet']" description="Opens an Excel File">

But after executing webtest I got an error message - "com.canoo.webtest.engine.StepFailedException: The xpath doesn't select a link but a 'class com.gargoylesoftware.htmlunit.html.HtmlImage' So I am unable to find the reason. If anyone knows solution of this kind of error. Then please write to me. Thanking You.

Regards, Vipin Deware