0% found this document useful (0 votes)
124 views2 pages

Lab Task # 2: Title: Black Box Testing Techniques

This document discusses black box testing techniques for two tasks: 1) Testing an ATM money withdrawal where a user tries to withdraw more money than their balance allows across multiple transactions. State transition testing is used to model the finite states. 2) Testing login page validation to ensure a user can only login when providing a valid username and password. Decision table testing is employed to test the different conditions and ensure invalid login details are handled properly.

Uploaded by

student ww
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views2 pages

Lab Task # 2: Title: Black Box Testing Techniques

This document discusses black box testing techniques for two tasks: 1) Testing an ATM money withdrawal where a user tries to withdraw more money than their balance allows across multiple transactions. State transition testing is used to model the finite states. 2) Testing login page validation to ensure a user can only login when providing a valid username and password. Decision table testing is employed to test the different conditions and ensure invalid login details are handled properly.

Uploaded by

student ww
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

LAB TASK # 2

Title: Black Box Testing Techniques

Question 1:
Withdrawal of money from ATM. ‘User A’ wants to withdraw 30,000 from
ATM. Imagine he could take 10,000 per transaction and total balance available
in the account is 25,000. In the first two attempts, he could withdraw money.
Whereas in the third attempt, ATM shows a message as “Insufficient balance,
contact Bank”. Same Action but due to change in the state, he couldn’t
withdraw the money in the third transaction.

Answer:
To Test the functionality of money transaction from ATM, we use Black
box testing via State Transition testing technique.
User A has total amount of 25,000 in the atm, and he make three
attempts of transaction of 10,000 to withdraw money of 30,000. So, two
transaction are made whereas third attempt for transaction is failed and shows
insufficient balance. A Finite state system is shown.
Question 2:
login page validation. Allow user to login only when both the ‘User ID’ and
‘Password’ are entered correct.
Here the Conditions to allow user to login are Enter Valid User Name and Enter
Valid Password.

Answer:
To test the functionality of login page validation we use, Decision
table testing technique; This technique works same as truth table.
We test the system that whether the user login page is working correctly.
In this system, user can only login to system if it enters the correct “use ID”
and “Password “. If one of them (password or ID) is wrong it shows invalid
login details.

ID Conditions Test Case1 Test Case 2 Test Case 3


1 User ID T T F
2 User Password T F T
3 Valid login details Execute
4 Invalid Execute Execute

_________________________________________

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy