Fix errors in documentation of ifStep and nested condition parameter
--------------------------------------------------------------------

         Key: WT-393
         URL: http://webtest-community.canoo.com/jira/browse/WT-393
     Project: WebTest
        Type: Task

    Versions: future versions, 2.5    
 Environment: not applicable
    Reporter: Lynn Walton


I think I found an error in the documentation on the ifStep. 

The second example shows using both a  test= attribute in  ifStep AND a nested 
<condition> element.  But when I do that I get an error saying:
"Only one of the 'test' or the 'unless' attributes or nested tags allowed.

If you can't have <condition> and a test= in the ifStep  then 2nd example needs 
changed.  

Also, in the description on the ifStep page about the Nested parameter 
condition it says:

condition
    Required? yes/no
    Group of steps which if successful should cause inner steps to be executed. 
One of test or unless should be set.

I think the last sentence there is confusing.  It makes you wonder if you are 
supposed to have a test or unless attribute on the condition element itself?  

Perhaps it could be changed to say:
"One of test or unless attributes (on ifStep) or a nested condition parameter 
should be set."

And test and unless should say:  
"One of test or unless should be set unless nested condition is used"


-- 
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