What is the difference between white box and black box testing? Which is better?

Asked by Last Modified  

Follow 2
Answer

Please enter your answer

"Rajesh Kumar N: Guiding Young Minds from 1 to 12 with Expertise and Care"

Black Box: Tests functionality without knowing internal code. White Box: Tests code structure and logic. Which is better? Depends on needs; both are valuable together.
Comments

"Transforming your struggles into success"

The main difference between white box and black box testing lies in their approach: white box testing focuses on the internal workings of the application, requiring knowledge of the code, while black box testing assesses functionality without considering the code. White box testing is used to check code...
read more
The main difference between white box and black box testing lies in their approach: white box testing focuses on the internal workings of the application, requiring knowledge of the code, while black box testing assesses functionality without considering the code. White box testing is used to check code structure, logic, and security, while black box testing validates if the software meets user requirements and performs as expected. Neither is inherently better; both have unique strengths and are often combined to ensure thorough testing and better software quality. read less
Comments

I am online Quran teacher 7 years

Black Box: Tests functionality without knowing internal code. White Box: Tests code structure and logic. Which is better? Depends on needs; both are valuable together.
Comments

more than 5 year experience tutor

The difference between white box and black box testing lies in their approach: - White box testing involves testing the internal workings of an application, including code structure, logic, and algorithms. Testers have knowledge of the code and design test cases accordingly. - Black box testing,...
read more
The difference between white box and black box testing lies in their approach: - White box testing involves testing the internal workings of an application, including code structure, logic, and algorithms. Testers have knowledge of the code and design test cases accordingly. - Black box testing, on the other hand, focuses on testing the software's functionality without any knowledge of the internal code. Testers evaluate inputs and outputs based on requirements. As for which is better, it depends on the context. White box testing is beneficial for identifying logical errors and ensuring code quality, while black box testing is essential for validating user requirements and overall functionality. A combination of both is often the most effective approach to ensure comprehensive testing. read less
Comments

View 2 more Answers

Related Questions

Is there any java automation testing course online in ur institute
Yes.. I provide online training. If you have interested then write me.
Anees
What is best language for automation testing?
Well the question is very broad, but i will try to answer in a broad spectrum 1) Web Applciations - Selenium with Java or C# or Python 2) Window Application - UFT 3) Services Automation - SoapUI, C#...
Pragya
What is the disadvantage of black box testing?
Without clear functional specifications, test cases are difficult to implement. It is difficult to execute the test cases because of complex inputs at different stages of testing. Sometimes, the reason for the test failure cannot be detected.
Pradeep
0 0
5
How is black box testing different from client acceptance testing?
Black box testing focuses on evaluating a system's functionality without knowing its internal structure, while client acceptance testing ensures the system meets the client's specific requirements and expectations before final approval.
Prerana
0 0
5
I am into Manual testing and want to get into automation testing. Where should I start with? What tools/process should I learn first?
Hi Ambika, This is Pradeep. If you are planning to switch from manual to automation, it will be very easy because of it's not that much difficult to learn the automation especially selenium. Please follow...
Ambika

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

TestNG Annotations and its sequence
public class TestNGAnnotations { @BeforeMethod public void beforeM() { System.out.println("Before Method"); } @AfterMethod public void afterMethod() { System.out.println("After Method"); } @BeforeClass...
S

Sarthak C.

0 0
0

Automation Testing
Everyone wants to be trained and equipped with Industry Standards. Following standards are adopted in the industry for good QA automation testing. Here is your chance to grab all this. 1) Knowledge of...

Being a Tester.
Being a tester one should never ever work in an isolated environment. He should be aware of whole Product functionality and architecture.For starting you may proceed with - 1. Learn to login to the ip...

API Testing with SOAPUI training in pune
Training: API Testing With Soapui Expert Training Contents: Introduction to Webservices Learning Groovy Learning SOAP UI - free version READY API (SOAPUI PRO)- REST WEB SERVICES PARAMETERIZING TESTS

VbScript Dictionary Objects
Dictionary objects are key value pairs object.One of the use of dictionary can be to find unique elements in a given set of data. Below is the example of the methods that can be used in dictionary: Set...

Recommended Articles

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Looking for Automation Testing Training?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you