Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!

# Duplicate steps in Activity Diagram

Ranch Hand
Posts: 95
I need to create an Activity Diagram for the following scenario:
There's a condition x and there are 3 steps a,b&c. The system checks if "x" succeeded or failed. a&b are available regardless of whether x was success or failure.step c is available only if x succeeded.

Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
What is confusing here?
a and b happen, then based on x, if x is succeeded then c else end.

Ranch Hand
Posts: 95
It is not a&b or c.
If x fails, only a&b.
If x succeeds, then a,b and c.

Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
What is common between the two? Steps a and b - so they occur no matter what the value of x is, but the step c is dependent on the value of x.

Ranch Hand
Posts: 95
Nothing common between a &b.
C depends on the outcome of X.

Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
I was asking what is common between the two:

If x fails, only a&b.
If x succeeds, then a,b and c.

and not between Step a and b.