Hi all,

I can't seem to access the step convenience variable inside a <groovy> step.  A 
very simple example:

<storeRegEx description="Get Marked ID" text="markedId=([0-9]*)" 
property="markedTimeId" propertyType="dynamic" group="1"/>
<groovy>
        String markedId = step.dynamicProperties.markedTimeId
</groovy>

This fails with:

Exception
com.canoo.webtest.engine.StepExecutionException
Message
Unexpected exception caught: 
C:\Work\tsm\canoo\webtests\modules\markedtime\deleteAllMarkedTimes.xml:12: 
groovy.lang.MissingPropertyException: No such property: step for class: Script1

The way I'm trying to use it seems consistent with the examples in the WebTest 
documentation... am I missing something really simple? (I hope so!)

Thanks for any help,

Alex
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to