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
Should testing be done only after the build and execution phases are complete?
from where do u collect test data if u miss some data what will happen
What is validation in software testing?
A defect which could have been removed during the initial stage is removed in a later stage. How does this affect cost?
Write the test cases for yahoo home page
How did you do unit testing in your project?
Can you explain an application boundary?
hi all I have an overall experience of 12 years working in an EDP setup(worked in a manufacturing setup in a German MNC). On my request, I was relieved from my duties in Sep 06 for maternity reasons. However I would like to pursue a career in a software organization as a manual tester. I obtained my proficiency certificate in Software Testing from STAG SOFTWARE LIMITED 2 months ago i.e in May and would now like to continue working in this field. However I am unable to find a job until now. If anybody knows of a opening at bangalore, kindly let me know.
What do you mean by Unit Testing, Integration Testing, System Testing, and User Acceptance Testing and when do you do them?
Explain the manual testing process?
Can you please explain about the erp project
What's the relationship between environment reality and test phases?
How to integrate Bugzilla with QTP?
What is decision table testing?
What do you understand by usability testing?