What is White Box Testing? | Difference between Black Box and White Box Testing | InterviewDOT

  Рет қаралды 29,997

Interview DOT

Interview DOT

4 жыл бұрын

Click here - / @interviewdot to get notifications.
Tamil What is White Box Testing? | Benefits | Black Box vs White Box | InterviewDOT
What is White Box Testing?
WHITE BOX TESTING is testing of a software solution's internal structure, design, and coding. In this type of testing, the code is visible to the tester. It focuses primarily on verifying the flow of inputs and outputs through the application, improving design and usability, strengthening security. White box testing is also known as Clear Box testing, Open Box testing, Structural testing, Transparent Box testing, Code-Based testing, and Glass Box testing. It is usually performed by developers.
It is one of two parts of the Box Testing approach to software testing. Its counterpart, Blackbox testing, involves testing from an external or end-user type perspective. On the other hand, Whitebox testing is based on the inner workings of an application and revolves around internal testing.
The term "WhiteBox" was used because of the see-through box concept. The clear box or WhiteBox name symbolizes the ability to see through the software's outer shell (or "box") into its inner workings. Likewise, the "black box" in "Black Box Testing" symbolizes not being able to see the inner workings of the software so that only the end-user experience can be tested.
What do you verify in White Box Testing?
White box testing involves the testing of the software code for the following:
Internal security holes
Broken or poorly structured paths in the coding processes
The flow of specific inputs through the code
Expected output
The functionality of conditional loops
Testing of each statement, object, and function on an individual basis
The testing can be done at system, integration and unit levels of software development. One of the basic goals of whitebox testing is to verify a working flow for an application. It involves testing a series of predefined inputs against expected or desired outputs so that when a specific input does not result in the expected output, you have encountered a bug.
How do you perform White Box Testing?
To give you a simplified explanation of white box testing, we have divided it into two basic steps. This is what testers do when testing an application using the white box testing technique:
STEP 1) UNDERSTAND THE SOURCE CODE
The first thing a tester will often do is learn and understand the source code of the application. Since white box testing involves the testing of the inner workings of an application, the tester must be very knowledgeable in the programming languages used in the applications they are testing. Also, the testing person must be highly aware of secure coding practices. Security is often one of the primary objectives of testing software. The tester should be able to find security issues and prevent attacks from hackers and naive users who might inject malicious code into the application either knowingly or unknowingly.
White Box Testing Techniques
A major White box testing technique is Code Coverage analysis. Code Coverage analysis eliminates gaps in a Test Case suite. It identifies areas of a program that are not exercised by a set of test cases. Once gaps are identified, you create test cases to verify untested parts of the code, thereby increasing the quality of the software product
There are automated tools available to perform Code coverage analysis. Below are a few coverage analysis techniques
Statement Coverage:- This technique requires every possible statement in the code to be tested at least once during the testing process of software engineering.
Branch Coverage - This technique checks every possible path (if-else and other conditional loops) of a software application.
Apart from above, there are numerous coverage types such as Condition Coverage, Multiple Condition Coverage, Path Coverage, Function Coverage etc. Each technique has its own merits and attempts to test (cover) all parts of software code. Using Statement and Branch coverage you generally attain 80-90% code coverage which is sufficient.
Advantages of White Box Testing
Code optimization by finding hidden errors.
White box tests cases can be easily automated.
Testing is more thorough as all code paths are usually covered.
Testing can start early in SDLC even if GUI is not available.

Пікірлер: 9
@shaliniravi5050
@shaliniravi5050 4 жыл бұрын
Sir, Very useful and clear Explanation. Keep making more videos.
@InterviewDOT
@InterviewDOT 4 жыл бұрын
Thanks a million fo your excellent feedback - InterviewDOT
@reshman4715
@reshman4715 2 жыл бұрын
Useful one....thanks bro !!
@afridi28____
@afridi28____ Жыл бұрын
Your explanation is so clear bro compared to other channels short and sharp 🫡
@Jagadesh-S
@Jagadesh-S 2 жыл бұрын
Integration and unit testing pathi solla mudiyum ah ji
@ashwing9035
@ashwing9035 3 жыл бұрын
sir is white box testing is only done by the who have development knowledge or a normal tester without development knowledge can test?
@saravanakumarr6028
@saravanakumarr6028 11 ай бұрын
Gray box testing Ena bro
@RajA-xs5zq
@RajA-xs5zq Жыл бұрын
Super bro.. Good explanation 👏👏🤝
@InterviewDOT
@InterviewDOT Жыл бұрын
Thanks
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 12 МЛН
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 70 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
Black box testing Software Testing தமிழில்
12:00
Cs Lojix Tamil
Рет қаралды 33 М.
Software Testing Explained: How QA is Done Today
11:26
AltexSoft
Рет қаралды 203 М.
Black box Testing Techniques Tamil | BlackBox Testing Tamil
9:35
Testers World
Рет қаралды 7 М.
White Box testing in Software Testing தமிழில்
9:13
Cs Lojix Tamil
Рет қаралды 22 М.
SE 43 : Black Box Testing | Techniques with Examples
9:19
CS & IT Tutorials by Vrushali 👩‍🎓
Рет қаралды 73 М.
Manual Testing Tutorial series | 02 |  Black Box Testing | Tamil
13:58
Learn Automation Online
Рет қаралды 116 М.
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 235 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 9 МЛН
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
ALSER kz
Рет қаралды 247 М.