Here is an error that I got when I executed the following verifyXpathCount command
<tr>
<td>verifyXpathCount</td>
<td>xpath=//span[@id='ctl00_contentSection_GoogleAFSRight']/div/div[@class='SingleVertical']/a[@class='Heading' and @href]</td>
<td>4</td>
</tr>
Error Message
Unexpected Exception: message -> The expression cannot be converted
to return the specified type., code -> 52, INVALID_EXPRESSION_ERR
-> 51, TYPE_ERR -> 52, result -> 2153447476, name ->
NS_ERROR_DOM_TYPE_ERR, filename ->
chrome://selenium-ide/content/selenium/scripts/htmlutils.js, lineNumber
-> 1170, columnNumber -> 0, location -> JS frame ::
chrome://selenium-ide/content/selenium/scripts/htmlutils.js ::
anonymous :: line 1170, inner -> null, data -> null
I made the following change and the issue was resolved.
<tr>
<td>verifyXpathCount</td>
<td>//span[@id='ctl00_contentSection_GoogleAFSRight']/div/div[@class='SingleVertical']/a[@class='Heading'and @href]</td>
<td>4</td>
</tr>
I removed the xpath=.
Submitted By: Pavandeep Puddupakkam
