[Webtest] xpath count function differs in new version (1.7)

Brian Hubbard webtest@lists.canoo.com
Wed, 13 Jul 2005 09:35:52 +0200


Hi,
 I have just upgraded to the latest build (1.7) and found problems with the
xpath count function. The code snip is:

...
<steps>
 <invoke description="get home page" url="/home.html"/>
 <storexpath description="get number of links" xpath="count(//a)" property="n"/>
 < .... do something with it ....>
<steps/>

With version 1.6 this returned the correct number of links within the page, in
version 1.7 this returns with the wrong number, I have not found what it is
actually counting ....

Has any one else used the count in this way?
Is this a bug?

Thanks in Advance,
  Brian Hubbard