I have a status field in a table in which test steps are marked as pass
or fail
and in another table I have to update test case(testID) as pass
if all test step(testID) are pass
, and fail
test case if one of test is fail
.
I have testID
field common in both tables.
In the 1st table one column is testID
and 5 steps are corresponding to that test ID and they can be pass
or fail
.
In the 2nd table I have one column in which I have to mark status as pass
or fail
based on overall 5 steps.
Table 1
Table 2
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…