verifyXpathCount

Handling Selenium error – verifyXpathCount 

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>

More…

Selenium – verifyXpathCount 

verifyXpathCount(xpath, pattern)
Generated from getXpathCount(xpath)
Arguments:
* xpath – the xpath expression to evaluate. do NOT wrap this expression in a ‘count()’ function; we will do that for you.
Returns:
the number of nodes that match the specified xpath

More…