Hi Michael,

Thank you for the reply.
so, with the storeXPath step, how do i store the property in to file?

Regards,
Srini

<storeXPath ...... property="accID"/>


On Sat, Mar 27, 2010 at 10:24 AM, Michael Habbert <[email protected]>wrote:

> Hi Srini,m
>
> in our webtest-suite, we do store some project relevant properties in
> property-files and then we use them in single tests.
>
> <echo message="propertySeasonId=#{season.Id}"
> file="${basedir}/../../token/nameOfProperty.properties"/>
>
> then later we call:
>
> <property file="${root.dir}/token/nameOfProperty.properties"/>
> <echo message="${propertySeasonId}"/>
>
> of cause we make it a little bite more configurable by using properties as
> often as possible ....
>
> greetings
>
> Michael Habbert
>
>
>
> sriharini sriharini wrote:
>
>> Hi,
>> Can any one tell me how to pass the storeXPath values to next
>> target/webtest.
>>
>> Thanks in advance
>>
>> Regards,
>> Srini
>>
>> here is the structure of my project (please ignore any typos), but its not
>> working.
>>
>> <project>
>>
>>
>>  <target name="all">
>>     <antcall target="test1"/>
>>     <antcall target="test2"/>
>>  </target>
>>
>>
>>  <target name="test1">
>>   <webtest>
>> <storeXPath ...... property="accID"/>
>>   </webtest>
>>  <target>
>>
>>  <target name="test2">
>>   <webtest>
>>  <setInputField name="searchDataBean.searchString" value="#{accID}"/>
>>   </webtest>
>>  </target>
>>
>>
>> </project>
>>
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>

Reply via email to