What is Functional Testing?Examples of functional testing
- Verifying the functionality of each and every component thoroughly or vigorously in an application against the requirement is called functional testing.
- Example: Requirement given by the customer for banking application
Login
1.1)Username: Username should be a 5 digit account number.
1.2)Password: Password should be a minimum of 6 and a maximum of 12 characters.
2. Amount transfer :
2.1)To a/c no: It should be 12 digits a/c number.
2.2)Amount: It should accept a minimum of 200 and a maximum of 50,000.
2.3)Bank Name: It should be a valid bank name.
- Testing of the above requirement will look like this :
Entering username less than 5 digits.
Entering username greater than 5 digits.
Entering alphanumeric characters in the user name field.
Entering a special character in the user name field.
Entering 5 digit username.
Leaving the username field blank and proceeding further.
Enter a password of fewer than 6 characters.
Entering a password greater than 12 characters.
Entering the password of character size between 12 to 16.
Leave the password field blank and proceed.
Entering the password of 6 characters.
Enter a password of 12 characters.
Entering account number less than 12 digits.
Entering account number greater than 12 digits.
Entering the account number of 12 digits.
Entering Alphanumeric characters.
Entering special characters.
Leaving the Account number field blank and proceeding further.
Entering amount less than 200.
Entering an amount greater than 50,000.
Entering amount in decimal.
Entering value which is between 200 and 50,000.
Leave the amount field blank and proceed further.
Entering an invalid bank name.
Entering a special character in the bank name field.
Leaving the Bank name field blank and proceed further.
Entering numeric values in the bank name field.
1.)For login Field, Customer has given a requirement that username should be of 5 digits so we will test the functionality of username field by:
2.)For the password field, the user has given a requirement that the password field should be minimum 6 and maximum 12 characters so we will test the functionality of the password field by:
3.)In Amount transfer for the account number field, the user has given a requirement that to a/c number should be of 12 digits so we will test the functionality of a/c number field by:
4.)In amount transfer for the amount field, the user has given a requirement that amount should accept minimum 200 and maximum 50,000 so we will test the functionality of amount field by:
5.)In amount transfer for bank name the user has given a requirement that bank name should be valid bank name so we will test the functionality of bank name by:
Also Read :System testing And how to perform system testing with example
Good
ReplyDeleteThanxxx
ReplyDeleteThanx @Yasmeen yas
ReplyDelete