Explain about Loop Testing methodology?



Explain about Loop Testing methodology?..

Answer / ramyab.mca@gmail.com

Hai...

Loops are the basis of most algorithms implemented using
software.Loop testing is a white box testing approach that
concentrates on the validity of loop constructs.Four loops
can be defined: simple loops, concatenate loops, nested
loops, and unstructured loops.

1.Simple loops: The follow group of tests should be used on
simple loops, where n is the maximum number of allowable
passes through the loop:

• Skip the loop entirely.
• Only one pass through the loop.
• Two passes through the loop.
• M passes through the loop where m<n.
• n-1, n, n+1 passes through the loop.


2.Nested loop: For the nested loop the number of possible
tests increases as the level of nesting grows. This would
result in an impractical number of tests. An approach that
will help to limit the number of tests:

• Start at the innermost loop. Set all other loops
to minimum values.
• Conduct simple loop tests for the innermost loop
while holding the outer loop at their minimum iteration
parameter value.
• Work outward, performing tests for the next loop,
but keeping all other outer loops at minimum values and
other nested loops to “typical” values.
• Continue until all loops have been tested.


3.Concatenated loops: Concatenated loops can be tested
using the techniques outlined for simple loops, if each of
the loops is independent of the other. When the loops are
not independent the approach applied to nested loops is
recommended.

4.Unstructured loops: This class of loop should be
redesigned to reflect the use of the structured programming
constructs.

K,Byeeee...
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    13 Yes 2 No

Post New Answer

More Manual Testing Interview Questions

Hi Friends.... anyone know who is giving coaching for CSTE exam in bangalore....pls inform me that would be helpful for me...Thankx in advance.

2 Answers  


who will do impact analysis in testing?

2 Answers   iSoft,


hi there, Yaar can any body help me please? I am looking for job change n want to relocate to Pune,Im in bangalore I have 2+exp in testing (man&QTP). if anyone can provide some reference in any comp.....plz reply ....Thanks

1 Answers  


WHAT IS COMPATABILITY TESTING

3 Answers   RBS, Wells Fargo,


what is test harness and testability?

1 Answers   Cisco,






what is project testing & product testing, and what is the differene ? plz explan with example

1 Answers  


Is Alpha testing done by developers or testers?

8 Answers  


When you found any bug before release product to the customer.what will you do????what will be your aproach?

3 Answers  


What is difference between Build, Version and Release

0 Answers  


Hello. I am not here to answer your question. I jus found a job as software QA engr. And i am totally new to software testing. So can someone pls help me in the following scenario? there is this registration screen, and it contain: One textbox called Nickname which only accept alphanumerical One textbox called Contact which only accept numerical, One textbox called Email which can be filled with alphanumerical and symbol and One button called Register now becos there is so many textboxes, where i can filled with alphabet, number, symbol, "just space", leading zeros, leading space. there will be lots of combination. can someone pls help.. i will be appreciated if u can post the test case of the scenario i mentioned. Lots of Thanks

0 Answers  


what are the test bugs

0 Answers  


what is regression testing???

7 Answers   Ness Technologies,


Categories