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

Explain number of production defects measure?

0 Answers  


"Why are you looking for a change?". This is the common question that is asked in any interview. Can anyone tell me wat kind of answer would impress the interviewer.

5 Answers  


I m 2009 pass out B.E. student and still searching job.last 3-4 interviewer asked me why r u not selected any company till now...but i didn't give properly answer so any one can tell what should i have to say abt this which will give positive impression to interviewer.

2 Answers  


what is defect leakage?

2 Answers  


What is the difference between Build and Version?

3 Answers  






what is mean by exactly the difference between the testcase and usecase

6 Answers   HCL,


How could you handle the situation when you get the high seveority bug when the application is going to deliver by today night?

5 Answers   IBM,


what is role of tester in spiral model?

1 Answers   Wipro,


What is Gap Analysis?. Is there any template for it.Describe briefly about Gap Analysis Please

1 Answers  


Hi Im Swarupa I have 1 Year of exp in Software Testing.I was involved in manual testing of the applications.Pls let me know if you know abt any oppurtunities...Preferred location Hyderabad

1 Answers  


What are the benefits of requirement traceability?

0 Answers  


What is the difference between GUI Testing,UI testing and Usability TEsting

0 Answers   TCS,


Categories