History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: WT-393
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Assignee: Paul King
Reporter: Lynn Walton
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
WebTest

Fix errors in documentation of ifStep and nested condition parameter

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


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


 All   Comments   Change History      Sort Order:
Comment by Paul King [27/Feb/08 23:27:33]
fixed in R_1677