[Webtest] [webtest][JIRA] Closed: (WT-132) Properties generated by webtest don't expand within an antWrapper

Marc Guillemot (JIRA) Marc Guillemot (JIRA)" <noreply@canoo.com
Wed, 13 Dec 2006 15:54:33 +0100 (CET)

     [ http://webtest-community.canoo.com/jira/browse/WT-132?page=all ]
Marc Guillemot closed WT-132:

    Fix Version: future versions
     Resolution: Fixed

#{} properties can't be expanded in non WebTest tasks in WebTest versions up to 2.1. Changes introduced for WT-232 already allow such expansion.

> Properties generated by webtest don't expand within an antWrapper
> -----------------------------------------------------------------
>          Key: WT-132
>          URL: http://webtest-community.canoo.com/jira/browse/WT-132
>      Project: WebTest
>         Type: Bug

>     Versions: 2.0
>     Reporter: Dave Howland
>     Assignee: Marc Guillemot
>      Fix For: future versions

> I'm trying to use properties set by webtest a step (specifically storeXPath, but this behavior may exist elsewhere) in a regular ant task. For example:
> <storeXPath xpath="//img[@id = 'MyImage']/@src" property="ImageURI"/>
> <antWrapper>
> <echo message="#{ImageURI}"/>
> <echo message="${ImageURI}"/>
> </antWrapper>
> Results in:
> [echo] #{ImageURI}
> [echo] ${ImageURI}
> I've verified that my ImageURI property does contain the text I'd expect after the storeXPath. Any ideas? Am I doing something wrong here?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see: