.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Interview Question >> Others >> Post New Question Subscribe to Interview Questions

What is the different between Black box testing, White box testing and Gray box testing?

Posted By :Narendran     Posted Date :November 17, 2011    Points :40   Category :Others 
WHITE BOX TESTING: The team tests the internal logic's of the code. The code for the application is tested. It typically includes checking with the data flow, exceptions, and errors, how they are handled, comparing if the code produces the expected results. It is also known as the "Glass Box Testing".

BLACK BOX TESTING: The team tests the systems without any knowledge of how the system is being made. The functionalities are checked here. The application is tested here. Test cases merely check if the output is correct for the given input. User is not expected to the internal flow or design of the system.

GRAY BOX TESTING: It's the combination of both white box and black box testing. This is because it involves access to the system; however at an outer level. A little level of system knowledge i expected in Gray box testing.

You can also find related Interview Question to What is the different between Black box testing, White box testing and Gray box testing?  below: 

What is regression testing

Regression testing is re-testing after fixes or modifications of the software or its environment.
The selective retesting of a software system that has been modified, to ensure that any bugs have been fixed and that no other previously working functions have failed as a result of the modification and that newly added features have not created problems with previous versions of the software. (More...)

What are the three level of testing ?

1. Uint testing
2. Integration testing
3. Regression Testing (More...)

What is Unit Testing ?

Units are the Smallest building blocks of an Application. In Visual Basic .Net these building blocks are often components or class definations.
Unit testing involves performing basic tests at the component level.
It typically requires writting special programs that use the component or class being tested. (More...)

What is integration testing ?

Integration testing verifies that the major subsystems of an application work well with each other.

Integration testing can be performed in any of the following ways :

1. Bottom-up approch
2. Top-down approch
3. Umbrella approch (More...)

What is Regression Testing ?

Regression Testing should be performed any time a program is modified.
Goals of Regression Testing :
- Verify that all known bugs are corrected
- Verify that no old bugs have been reintroduced
- Verify that the Program has no new bugs. (More...)

What are three test cases you should go through in unit testing? 

Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling), exception test cases (exceptions are thrown and caught properly). (More...)

What is unit testing? What are benefits of Unit testing?

In computer programming, unit testing is a method by which individual units of source code are tested to determine if they are fit for use. A unit is the smallest testable part of an application. In procedural programming a unit may be an individual function or procedure. Unit tests are created by programmers or occasionally by white box testers.


1.1 Facilitates change
1.2 Simplifies integration
1.3 Documentation
1.4 Design


http://en.wikipedia.org/wiki/Unit_testing (More...)

What is Validation and Verification in Testing?

Validation ensures the product is right.

Verfication ensures we are building the right product.

:) (More...)

What is difference between TDD and Unit Testing?

In TDD the unit test is written first and method second. Development is driven by the unit test.

In ordinary unit testing, we write the required method and after that creates a unit test for it. This is to ensure long run integrity only. (More...)

What is DEFFERED State in QA(Manual Testing) ?

This is the State that is raised when Developer doesn't accept the Bug raised by the QA team !!! (More...)

What are three test cases you should go through in unit testing?

Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling), exception test cases (exceptions are thrown and caught properly). (More...)

ASP.NET is in private beta testing right now. When will it be public beta testing?

We are working hard now at finishing up a public beta that will be available for public download. ETA is still around 6 weeks (early September) though (there are a lot of pieces in it). (More...)

How do you define testing of network layers?

Reviewing with your developers to identify the layers of the Network layered architecture, your Web client and Web server application interact with. Determine the hardware and software configuration dependencies for the application under test. (More...)

Does the unit testing of an MVC application is possible without running controllers in an ASP.NET process ?

In an MVC application, all the features are based on interface. So, it is easy to unit test a MVC application.
And it is to note that, in MVC application there is no need of running the controllers for unit testing.

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend