Hi,

I take R_1678 build and try to usenew feature <then>/<else> in <ifStep>
It works correctly but report is generated wrong in my opinion.
When <else> step is executed, then <else> is displayed twice and no <then> step in result

Webtest code:
...
<storeProperty name="Tested" value="true" />
<ifStep test="${Tested}" >
   <then>
       <clickLink label="Test1" />
   </then>
   <else>
       <clickLink label="Test2" />
   </else>
</ifStep>
<ifStep unless="${Tested}" >
   <then>
       <clickLink label="Test1" />
   </then>
   <else>
       <clickLink label="Test2" />
   </else>
</ifStep>
...

Report is generated:
if Step test=true then
                           else
ifStep unless=true
                           else
                           else

Is it correct?

Regards,
Roman Parkin

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

Reply via email to