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

who is preparing PIN document?

1 Answers  


How integration testing performed in organization

5 Answers   Satyam,


What is requirment phase testing?

1 Answers  


Diff b/n UAT & IST? What is meant by UAT?

4 Answers  


Hi, I wanted to go with TestingDomain-Automation. Regarding this I need to take training on any one tool either WinRunner or LoadRunner. Which is better to get job,having future and takes lesstime with easier***. pls mention one tool name. Basically iam manual test engineer on unix- platform.

2 Answers  






why is it necessary to give a priority to the test cases or/and requirements. why does the Test case ID is not sufficient to identify the test cases to be executed first.

2 Answers  


what happens to the test plan of the application has a functionality not mentioned in the requirement

4 Answers  


Hi,please help me out with my ques:how many testings will a tester does?

1 Answers  


IF i ask you to give priorities to 3 item in test plan, which item will come in??

1 Answers  


WHAT IS CVS? WHY IT IS USED

2 Answers   Virtusa,


what is testing life cycle please any one explain briefly

8 Answers   TCS,


What type of contribution provided by management Science and Decision Support Approach to the project management

0 Answers  


Categories