
|
If you were logged in you would be able to see more operations.
|
|
WebTest
Created: 25/Feb/08 17:37:00
Updated: 28/Feb/08 09:01:13
|
|
| Affects Version/s: |
2.6,
2.5
|
| Fix Version/s: |
2.6
|
|
|
Environment:
|
not applicable
|
|
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"
|
|
|