Please give an example of White box Testing?

Answer Posted / a sameer

Whit Box Testing:- It is done by the developers to check the
code to which they have written.
In white box testing we do the following testing techniques

1.Statement Testing.
2. Loop Testing.
3. Path Testing.
4. Branch Testing.
5. Mutation Testing.

In Statement Testing we check all whether all the statements
are given in a correct format and in a meaningful format.
In Loop testing we check whether the assigned loop is
terminating properly in the code part.
In Path testing each and every code has some path to flow
one path goes in one functionality and other path goes to
other functionality so here we need to check whether the
path flow is moving properly or not.
In Branch testing we check how many branches are there in
the code all the branches are moving properly
IN Mutation testing we check the standard of code like for
the working part of code remove some lines and then run the
code here we should get an error message related to the
removed lines of code - to justify whether the code is
working properly or not.


All these things need to tested by developers for there own
code before they release to QA team.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to test a web application manually?can u explain indetail?

1624


What is difference between web site testing, desktop application testing and wireless application testing? what is the difference in testing strategy to test them?

1535


What r the functional testing u perform?

1654


What are the different ways of doing black box testing?

653


What are the typical risks that you identify during test planning and their mitigation plan and Contengency plan.

2009






Tell me the advantage and disadvantage of cookies?

798


How do you know the code has met specifications?

745


What is mean by Schedule report who is the responsible for generated that one ?

1678


How much the bug is affecting the functionality of the application?

642


Negatives test cases of gmail login page With its severity , priority and expected results columns Through test case template-oodles technologies gurgoan

2183


How to derive test data from the design documents?

1582


What are the RBI rules has to follow by a bank for online precesseing. ?

1727


When should you opt for manual testing over automation testing?

783


Where we have to use perl scripting in Testing approach and its importance

1664


what is e-tester?

2052