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