Question
Which software testing technique involves testing the
internal structure or workings of an application?Solution
White Box Testing (also known as Clear Box Testing or Glass Box Testing) involves testing the internal structures, logic, and code paths of an application. It is often performed by developers or testers with a strong understanding of the codebase. This technique ensures that all internal operations of the software, such as loops, statements, and decision branches, work as intended.
- Key Features: It includes techniques like statement coverage, branch coverage, and path coverage. For example, ensuring that every conditional statement ( if , else ) executes at least once.
- Why It Is Important: White Box Testing identifies errors that are deeply rooted in the code, such as logic errors or security vulnerabilities.
- Tools Used: Tools like JUnit, NUnit, or Selenium with code coverage analyzers like JaCoCo are used for this testing.
- Black Box Testing: Focuses on the application’s functionality without considering internal code, unlike White Box Testing.
- Regression Testing: Validates that recent changes don’t affect existing functionality but doesn’t analyze internal workings.
- UAT: Tests the application’s compliance with user requirements, not its internal structure.
- Integration Testing: Focuses on interactions between modules, not on internal code paths.
Two capacitors of 6 µF and 3 µF are connected in series and a potential difference of 90 V is applied. The energy stored in the system is:
Which physical quantity is conserved in a collision (in the absence of external forces)? Â
What term refers to the superposition of two or more coherent waves to produce regions of maxima and minima?
Which device is best suited for measuring the temperature inside metallurgical furnaces?
Which of the following materials is used for the generation of ultrasonic waves by using magnetostriction effect?
What is the speed of sound in air at room temperature (approx)? Â
A car accelerates from 20 m/s to 40 m/s in 10 seconds. What is its acceleration?
What is the function of a fuse in an electric circuit? Â
What type of rays are used in a CT scan to visualize the internal structures of the human body?
A body of mass 2 kg is moving with velocity 3 m/s. What is its kinetic energy? Â