ifStep should allow nested 'then' and 'else' groups
---------------------------------------------------

         Key: WT-394
         URL: http://webtest-community.canoo.com/jira/browse/WT-394
     Project: WebTest
        Type: New Feature

    Versions: 2.5    
    Reporter: Paul King
 Assigned to: Paul King 


Even when trying to write tests declaratively, it is sometimes convenient to 
have simplistic conditional logic. This is provided by 'ifStep' but only in a 
very simple form. Adding this feature will allow this style to be used when it 
is needed without resorting to duplication of code. The intent is to support 
this:

{code}
<ifStep test="${myCondition}">
    <then>
        <echo message="inside then"/>
    </then>
    <else>
        <echo message="inside else"/>
    </else>
</ifStep>
{code}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

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

Reply via email to