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"

If I'm correct and you want me to open a JIRA issue let me know. 

Thanks,
Lynn


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to