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.
InsureCo writes a portfolio of 12-month fire insurance policies on 1 Oct (policy year Oct–Sep). Premiums are received upfront. Historical claims are s...
The 'MCLR' (Marginal Cost of Funds based Lending Rate) system replaced the earlier 'Base Rate' system. What is a key component in calculating MCLR?
"Operational Risk" includes risk arising from:
What is the maximum aggregate balance allowed in accounts opened using Aadhaar OTP-based e-KYC in non-face-to-face mode?
Nostro account is maintained in:
A borrower has defaulted on a term loan for over 90 days. The bank categorizes the account as an NPA. Later, the borrower partially repays the overdue a...
The process of converting a physical cheque into an electronic image for faster processing is called:
A bank has statutory reserve requirement of 25% of Net Profit before appropriations. Net Profit before appropriations = ₹40 crore. Transfer to reserve...
An Indian exporter raises a Letter of Credit (LC) worth USD 1,00,000. The exchange rate on the LC issuance date is ₹83.50/USD. The bank charges 0.25% ...
When the RBI increases the "Repo Rate," it generally leads to: