Hi Denis,

Thanks for the response. I was just wondering if there is any easier
way to reuse the complex xpath expressions rather than copying and
pasting again and again....or...make them like a function call. You
mention "steps with definitions"...I think I am not familiar with
that. Can you explain more what you mean by that?

Thanks,
Manish

On Fri, Feb 3, 2012 at 12:27 AM, Christ, Denis
<[email protected]> wrote:
> Hi Manish,
>
> what do you mean with "use custom xpath functions"?
>
> The most time we use xpath expressions within the normal Webtest Steps like
>
>        <clickLink xpath="//div[@id='someID' and contains(*, 
> '@{someNumber}')]/p[a='a Reference']/a"/>
>
> You could reuse this steps with definitions.
> Also:
>
> http://webtest.canoo.com/webtest/manual/verifyXPath.html
>
> could be interesting for you.
>
>
> Kind Regards,
> Denis
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]] Im 
> Auftrag von Manish Ranade
> Gesendet: Freitag, 03. Februar 2012 09:14
> An: [email protected]
> Betreff: [Webtest] Custom XPATH functions?
>
> Hi,
>
> Where can I find examples on how to create and use custom xpath functions in 
> Canoo Webtest framework?
>
> Thanks,
> Manish
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest



-- 
Regards,
Manish Ranade
Phone: 408-596-6546
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to