[Webtest] xpath problem
Dierk Koenig
webtest@lists.canoo.com
Wed, 5 Nov 2003 12:46:48 +0100
The easiest advice is to use the xpath explorer
http://www.purpletech.com/xpe/index.jsp on your page
to see your page structure.
Alternatively you may need to provide the html source here for
further investigation.
cheers
Mittie
> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Pourki, Forouhar
> Sent: Mittwoch, 5. November 2003 12:12
> To: 'webtest@lists.canoo.com'
> Subject: [Webtest] xpath problem
>
>
> Hi there!
>
> i use the simple xpath example in
> http://webtest.canoo.com/webtest/manual/syntax.html#16
>
> namely:
>
> <verifyxpath stepid="simple match with value"
> xpath="/html/head/title"
> text=" Projekt "/>
>
> but i get the error:
>
> com.canoo.webtest.engine.StepFailedException: xpath test:
> /html/head/title evaluates to: , expected value is: Projekt ,
> Step: VerifyXPath(id="simple match", text= Projekt , regex=false,
> xpath="/html/head/title)
>
> What can cause this?
> my confi & login are the same as other tests.
>
> Thanks for any help.
> Forouhar
>
>
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
>