[Webtest] Checking for text in a specific span

Marc Guillemot webtest@lists.canoo.com
Fri, 17 Jun 2005 17:27:59 +0200


Hi

use verifyXPath instead:

<verifyXPath xpath="//*[@id='foo']" text="111"/>

Marc.

Jacob Portnoy wrote:
> Hey guys,
> Is there a way to use a <verifytext> step for a specific span? For  
> example:
> 
> "Your ID is: "<span id="foo">111</span>.
> 
> I need to verify that the ID number is indeed "111" in the "foo" span.
> 
> Thanks ahead of time.
> -----------------
> Jacob Portnoy
> Checkerboard, Ltd.
> JPortnoy@Checkernet.com
> www.eInvite.com
> www.Checkernet.com
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>