Answer Posted / 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 View All Answers
Can anybody write the test cases for the following scenario. I want to create District. for that, District Code field, District Name field, Reset button, Submit button, Back button are there in the screen. whenever we enter District Code & District Name in the related fields, by clicking on Submit button, District should be created. By clicking on Reset button, all fieds should be cleared. By clicking on Back button, user should navigate to home page. Can you write the test cases for the scenario. I want to know the test case format for the scenario. what procedure is the best. tahnks in advance...
What are the properties of a good requirement?
When we use integration testing for any new system so why we required system testing.
Katari your questions was really helpful could you please send the questions and answers with them . Can anyone sends the top 30-40 question and answers for the interview purposes
What is configuration management in software testing ?
hi, I m looking for a career in manual web testing. so PLZ anybody who have the practical knowledge of dis field help me. GIVE ME UR MAIL ID so that i can ask regarding some doubts. my MAIL ID is ankurtester819@gmail.com
what is the impact analysis?
write testcases for open dialogbox
what should be tested when credit card is used as payment option in ecommerce project?can anyone tell me in detail what to test n how to test when credit card is involved in web application?
How do you go about testing a project?
HI FRNDS, I HAVE 2.5 years OF exp In Manual Testing,Plz let me know if thr r any oppurtunities in any company in Bangalore ID:dsnithi@gmail.com Thanks in Advance
Can you explian $ pillar of Agile
Please send any one latest 3+ years of experience testing tools resumes my mail id is krishnavenimodaliar26@gmail.com
hi, this is geetha, i have one doubt regarding the vulnerability testing. For sql injection testing is there any need for the tools to be installed. If it is what is tool and what is the method to test in sql injection testing. Plz Guide me
what is localization and globalization.and what are the ways way are going to test the particular application?how can we identify factual, visual, corrupted characters, link errors, formatting errors, etc in locallization?iam going to attend the interview on localization concepts and languages like : German, Japanese, French, Russian, Italian, Chinese, Korean, Portuguese and Spanish .tell me the process how to do testing above concepts let me know its urgent:anilaluvala@gmail.com 9908814046