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

Hello Friends, myself Santhosh. I completed M.sc Computer Science in 2015. I was preparing for bank exams, but couldn't succeed. So, I want to change my career to software field. Please give me any suggestions to which technology to learn, so that I could get placed?
Being an M.Sc Computer Science graduate, you should be in a position to code at this moment. If not, start learning the basics of Python (as Python has more opportunities) from Youtube and Udemy videos...
Santhosh
What are some techniques for black box testing of AI?
Some techniques for black box testing of AI include input-output analysis, where testers evaluate the system's responses to various inputs, and fuzz testing, which involves feeding random or unexpected...
Deepak
0 0
5
What is the latest tool for Automation testing in demand in India?
The best and trending automation tool to learn is Microsoft playwright which is a scaled up version of the famous puppeteer package. Although the base api is based on puppeteer, it has got plenty of support...
Abhinav
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

I have been working in a medical billing company for five years. I want to switch my carrier from non-IT to IT. I have only a BA degree, but I have good knowledge of computers. I know some basics of HTML and manual testing; can I learn java selenium directly to get a job in automation?

Hi Sirajudeen.. Java selenium is one of the good options.. one more easy way to shift to IT is learning Oracle SQL.. Scope of Oracle SQL always stands high since the database is backbone of all developement,...
Sirajudeen

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

Ask a Question

Related Lessons

Short introduction about Appium
“Appium is an open source, cross-platform test automation tool for native, hybrid and mobile web apps, tested on simulators (iOS, FirefoxOS), emulators (Android), and real devices (iOS, Android,...

Selenium waits
In Selenium web driver, the biggest challenge is to synchronize your script with the Web application under test. To make this synchronization work, we have concept of waits. Although we can use Thread.sleep()...

Selenium WebDriver 3.0, Test NG and JAVA.
Hello, Selenium WebDriver 3.0 with GeckoDriver is the latest upgrade of Selenium. To execute automation test scripts in Mozilla browser we need to install GeckoDriver seperately and the scripts should...

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

Selenium Web Drive Wait Methods
Hi I am Rajesh, Here we have three types of wait methods in Selenium: 1.Implicitly Wait: Wait if required, otherwise, if the accuracy will good program will move to next level In General most of the...

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