I found out that this must be a bug that concerns not only verifyProperty, but
it concerns all verify steps. That's a real bad one, guys.
Regards
---------------------
Anja wrote earlier:
I'm not sure if this is really a bug in your scripts or in mine, but I tried
practically EVERYTHING to make it work, but it doesn't. The script looks like
this:
<project name="Einfache falsche Eingaben" default="test">
<target name="test">
<dataDriven tableContainer="../TestdatenArtikelformular.xls" table="test"
replaceProperties="yes">
<webtest name="${Testfall}">
<config host="${sonne}"/>
&navi_to_new; <!--Navigate to new-->
<group description="Das Formular ausfüllen">
&fill_in_recom; <!--Fill in recommended-->
<setInputField name="minpreis"
value="${Mindestpreis}"/>
<setInputField name="maxpreis"
value="${Maximalpreis}"/>
</group>
<storeProperty propertyType="ant"
name="${Testfall}" value="Keine Meldung!"/>
<expectDialog savePropertyType="ant"
saveProperty="${Testfall}"/>
<clickButton label="Speichern"/>
<clickButton label="Abmelden"/>
<verifyProperty propertyType="ant"
name="${Testfall}" text="${Erwartung}" regex="true"/>
</webtest>
</dataDriven>
</target>
</project>
As long as the verifyProperty succeeds everything works fine, but as soon as it
fails once it keeps on failing because it doesn't take the new text from the
table (column=Erwartung). My problem is that I need the script datadriven, so I
can't make the text static.
And I tried using dynamic and ant property. It's really not the property that's
wrong, it's the text parameter in verifyproperty.
Please tell me what is wrong here. Is it my script or the function?
Regards
Anja
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest