How do you do loop testing?anybody let me know please.How do you draw flowgraph while working in realtime environment?i,e in a project..in word?or manually on a paper?should it to be shown to test manager?

Questions by aparnay   answers by aparnay

Showing Answers 1 - 3 of 3 Answers

Loop Testing

Simple Loops:- The following set of tests should be applied to simple loops,where 'n' is the max. no. of allowable passes:

1.Skip the loop entirely.

2.Only one pass thru the loop.

3.Two passes thru the loop.

4.m passes thru the loop where m< n.

5.n-1,n,n+1 passes thru the loop.

Nested loops:-

1.Start with the innermost loop.Set all other loop to min. values.

2.Conduct simple loop tests for the innermost loop while holding the outer loops at their min.iteration values.

3.Work outward,conducting tests for the next loop,but keeping all othe outer loops at their min. iteration count.

4.Continue until all loops have been tested.

Concatenated Loops:-Concatenated loops can be tested using the approach defined for simple loops,if the loops are independent.If the loops are not independent use the nested loop strategy.

Unsructured loops:-Redesign the loops so they are one of the above categories.

 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions