Please give an example of White box Testing?

Answers were Sorted based on User's Feedback



Please give an example of White box Testing?..

Answer / 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

Please give an example of White box Testing?..

Answer / shwetha

path tesing

Is This Answer Correct ?    3 Yes 2 No

Please give an example of White box Testing?..

Answer / mohammedblr

Examples for the White Box Testing are:

Unit Testing,Integration Testing and API Testing.

J2EE:Junit Open Source Tool for the Component level i.e
module level testing of the source code for the branch
coverage,decision coverage etc

Dot Net:Nunit Open Source Tool for the Unit level/component
level testing.

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More Manual Testing Interview Questions

hi friends... this is priya.i had 1 year of experiance in manual testing from jan-dec 2011 in a reputed level 5 MNC and my CTC is 3.25LPA . recently i cleared 2 rounds of technical and after 3days i will have hr interview in a CMMI level3 company... in hr interview they may ask about expected ctc.what i should answer for this question? i had more than a year gap, so what package i can expect? same CTC or some % of hike?

3 Answers  


Expain about double V model?

1 Answers   AppLabs,


What is the differencein validation & verification?? What we exactly do in verification & validation ????? Give an example....

5 Answers   GE,


How can I done a Web Testing? Which steps are include in it?

0 Answers  


What is workadround

2 Answers  






what is srs based review, brs based review and trm based review

1 Answers  


Hi I want the technical documentation for a sample project, if any one knows about the details plz guide me, mail at gpriya_1980@yahoo.co.in thanks in advance

0 Answers  


In a Dark Room one Switch Board is there.If u Pressed a Button in Switch Board the Light will 'ON'. Write the Possible test cases?

7 Answers  


what are the scenarios and test cases for online banking proj ..ex; fixed deposit, loginh into an account, checking an account, savings deposit

0 Answers   Satyam,


What are the different types of software testing?

0 Answers  


waht is deffect?

9 Answers  


i have done B.E. computer in 2009 i have done software testing course and also 6 months exp in testing on live project as trainee, now a days i am searching job in pune. can any one tell me any opening in pune?

0 Answers  


Categories