[Webtest] property scope
dav
dav <dav@nnx.com>
Thu, 03 Apr 2008 16:43:53 +0200
Hi *,
I'm using definition (macrodef in definitions/ directory) in my tests
scenarii, call like :
<addObj ck="${st.bo.hash}" sk="${st.service.hash}" />
Is there a way to retrieve a value obtains in this macrodef, and use it
in caller (my ant task) ?
I mean, addObj macro last action is :
<storeRegEx property="objId" text="^ticketId=([0-9]+);"
description="Store ticketId into objId" />
<storeProperty description="store objId for later use"
name="objId" value="#{objId}" />
Does anybody knows how to retrieve this objId after returning from
macrodef ?
dav.
PS: I'm not Java user, I just use webTest for PHP5 testing ! :)
--