Showing posts with label test case. Show all posts
Showing posts with label test case. Show all posts

Wednesday, 4 April 2012

THE GUIDE LINES TO BE FOLLOWED BY A TEST ENGINEER, SOON AFTER THE USE CASE DOCUMENT IS RECEIVED


1. Identify the module to which the use case belongs to.
 A: Security module.

2. Identify the functionality of the use case with the request of total functionality.
 A: Authentication.

3. Identify the actors involved in the use case.
A: Normal user/Admin user.

 4. Identify the inputs required for testing.
A: Valid and invalid user names and passwords.

 5. Identify whether the use case is linked with other use case or not.
 A: It is linked with Home page and Admin page use cases.

 6. Identify the pre conditions.
A: LOGIN Screen must be available.

7. Identify the post conditions.
A: Either Home page/Admin page for valid users, and error msgs for invalid users.

 8. Identify the functional points and prepare the functional point document.

UNDERSTAND:
9. Understand the main flow of the application.
10. Understand the alternative flow of the application.
11. Understand the special requirements.


 DOCUMENT:
12. Document the test cases for main flow.
13. Document the test cases for alternative flow.
14. Document the test cases for the special requirements.
15. Prepare the cross reference metrics or traceability metrics.


 

Functional Point: The point at which the user can perform some actions in the application can be considered as Functional Point.

Test Scenario: The situation where we can do testing.

There are 3 types of flow:
1. Main flow: Main page/Home Page.
2. Alternative flow: Error message page.
3. Exceptional flow: Server problems/Network problems.

Testing process related Documents:


Sunday, 22 January 2012

Test case Defination,Example


Test Case Definition, Template, Example, Tips
DEFINITION
A test case is a set of conditions or variables under which a tester will determine whether a system under test satisfies requirements or works correctly.
The process of developing test cases can also help find problems in the requirements or design of an application.
TEST CASE TEMPLATE
A test case can have the following elements. Note, however, that normally a test management tool is

How to write good testcases and Bug reporting

To develop bug free software application, writing good test cases is essential.

Here, we will see how to write good test cases.

Before seeing this, we should understand what is Good Test Case.

There won't be any solid definition for "Good Test Case". 

I will consider a Test Case as "Good" only when a Tester feels happy to follow the steps in the Test Case which is written by another Tester.

Friday, 13 January 2012

USECASE DOCUMENT


THE GUIDE LINES TO BE FOLLOWED BY A TEST ENGINEER, SOON AFTER THE USE CASE DOCUMENT IS RECEIVED:
1. Identify the module to which the use case belongs to.
 A: Security module.

2. Identify the functionality of the use case with the request of total functionality.
 A: Authentication.

3. Identify the actors involved in the use case.
A: Normal user/Admin user.

 4. Identify the inputs required for testing.
A: Valid and invalid user names and passwords.

 5. Identify whether the use case is linked with other use case or not.

Monday, 2 January 2012

Test cases For Atm

TEST CASE NAME
TEST CASE DESCRIPTION
P
STEP
NAME
STEP DESCRIPTION
TEST DATA
EXPECTED RESULT
TC01_Bank_
Money withdrawal_ verify card insertion with valid cards
This test case to validate card insertion functionality with valid card
P0
Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
TC02_Bank_
Money withdrawal_ verify
card insertion with invalid cards
This test case to validate card insertion functionality with invalid card

Step1
Insert invalid card of other bank card in the insertion point of atm
Invalid card like other bank card
Atm should not accept the card and display a message ”please insert valid atm card”
Step2
Insert invalid card of expired atm card in the insertion point of atm
Invalid card like expired atm card
Atm should not accept the card and display a message ”Sorry unable to process your request code 1234”
TC03_Bank_
Money withdrawal_ verify
card insertion with valid cards in wrong angle
This test case to validate card insertion functionality with valid card in wrong angle

Step1
Insert invalid card of expired atm card in the insertion point of atm in wrong angle
Valid atm card
Atm should not accept the card and display a message ” Sorry unable to process your request code 1222”
TC04_Bank_
Money withdrawal_ verify language selection
 This test case to verify the language selection functionality

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected


TC04_Bank_
Money withdrawal_ verify pin number entry with valid pin number
This test case is to verify the functionality of pin number functionality with valid pin number

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding languge selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selction page
TC05_Bank_
Money withdrawal_ verify pin number entry with invalid pin number
This test case is to verify the functionality of pin number functionality with invalid pin number

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding languge selected
Step3
Enter the invalid pin number
InValid pinnumber
Atm should display meaning full message” Sorry unable to process your request code 1222”
TC06_Bank_
Money withdrawal_ verify pin number entry with invalid pin number upto 3 times
This test case is to verify the functionality of pin number functionality with invalid pin number upto 3 times

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding languge selected
Step3
Enter the invalid pin number
Invalid pinnumber
Atm should display meaning full message”enter valid pinnumber”
Step4
Enter the invalid pin number
Invalid pinnumber
Atm should display meaning full message”enter valid pinnumber”
Step5
Enter the invalid pin number
Invalid pinnumber
Atm should display meaning full message” Sorry unable to process your request code 1236”
TC07_Bank_
Money withdrawal_ verify account type selection with correct account type
This test is to verify the functionality of the account selection type with correct account type

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change,mini transaction,quick cash.
TC08_Bank_
Money withdrawal_ verify account type selection with wrong account type
This test is to verify the functionality of the account selection type with wrong account type

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the wrongt account type of a/c holder

Atm should display meaningful message” Sorry unable to process your request code 1233”




TC09_Bank_
Money withdrawal_ verify money withdrawal option
This test is to verify the functionality of the money withdrawal option

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change,mini transaction,quick cash.
Step5
Click on money withdrawal

Atm should display amount entry page.
TC10_Bank_
Money withdrawal_ verify amount entry with valid amount
This test is to verify the functionality of amount entry with valid amount

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change,mini transaction,quick cash.
Step5
Click on money withdrawal

Atm should display amount entry page.




Step6
Enter the valid amount and click on OK
Valid amount
Atm need to give money and display the objects want to continue, OK, NO
TC11_Bank_
Money withdrawal_ verify money withdrawal operation with valid amount
This test is to verify the functionality of money withdrawal operation with valid amount

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change, mini transaction, quick cash.
Step5
Click on money withdrawal

Atm should display amount entry page.

Step6
Enter the valid amount and click on OK
Valid amount
Atm need to give money and display the objects want to continue, OK, NO
Step7
Click on NO

Atm should give receipt for the transaction, return the card back, correct amount should deduct from account




TC12_Bank_
Money withdrawal_ verify money withdrawal operation with amount greater than balance amount
This test is to verify the functionality of money withdrawal operation with amount greater than balance amount

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change, mini transaction, quick cash.
Step5
Click on money withdrawal

Atm should display amount entry page.
Step6
Enter the amount greater than balance and click on OK
Amount greater than balan
Atm should display meaningful error message” Sorry unable to process your request code 1230”
TC13_Bank_
Money withdrawal_ verify money withdrawal operation with amount greater than day limit amount
This test is to verify the functionality of money withdrawal operation with amount greater than day limit amount

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change, mini transaction, quick cash.



Step5
Click on money withdrawal

Atm should display amount entry page.
Step6
Enter the amount greater than day limit amount
Click on OK
Amount greater than day limit amt
Atm should display meaningful error message” Sorry unable to process your request code 1220”
TC14_Bank_
Money withdrawal_ verify money withdrawal operation with amount greater than amount in atm
This test is to verify the functionality of amount entry with valid amount greater  than amount in atm

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change,mini transaction,quick cash.
Step5
Click on money withdrawal

Atm should display amount entry page.
Step6
Enter the valid amount and click on OK
Valid amount
Atm should display meaningful error message” Sorry unable to process your request code 1234”






TC15_Bank_
Money withdrawal_ verify money withdrawal operation with amount not in multiples of 100’s
This test is to verify the functionality of money withdrawal with amount not in multiples of 100’s

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change, mini transaction, quick cash.
Step5
Click on money withdrawal

Atm should display amount entry page.

Step6
Enter the valid amount not in multiples of 100’s click on OK
Valid amount
Atm should display meaningful error message ” Sorry unable to process your request code 1111”
TC16_Bank_
Money withdrawal_ verify money withdrawal operation with valid amount but during operation network problem occurred
This test is to verify the functionality of money withdrawal operation with valid amount but during operation network problem occurred

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change, mini ….



Step5
Click on money withdrawal

Atm should display amount entry page.

Step6
Enter the valid amount and click on OK
Valid amtt
And make network down
Atm should display meaningful error message ” Sorry unable to process your request code 1010”
TC17_Bank_
Money withdrawal_ verify amount entry with valid amount
This test is to verify the functionality of amount entry with valid amount

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change,mini transaction,quick cash.
Step5
Click on money withdrawal

Atm should display amount entry page.
Step6
Enter the valid amount and click on OK
Valid amount
Get the amount from atm and display the objects want to continue, OK, NO
Step7
Click on OK

Atm should display amount entry page.
Step8
Enter the valid amount and click on OK
Valid amount
Get the amount from atm and display the objects want to continue, OK, NO



Step9
Click on OK

Atm should display amount entry page.
Step10
Enter the valid amount and click on OK
Valid amount
Get the amount from atm and display the objects want to continue, OK, NO
Step11
Click on OK

Atm should display amount entry page.
Step12
Enter the valid amount and click on OK
Valid amount
Atm should display meaningful error message ” Sorry unable to process your request code 1211”
TC18_Bank_
Money withdrawal_ verify
Cancel with after insert card
This test is to verify the functionality of cancel with after card insert i.e, in language selection page

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI

Step2
Click on cancel button

Atm should display meaningful error message ” Sorry unable to process your request code 1111”” and return the card by atm.
TC19_Bank_
Money withdrawal_ verify
Cancel with pin number entry
This test is to verify the functionality of cancel with pin number entry

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
When the language selection page uploaded click on cancel

Atm should display meaningful error message ” Sorry unable to process your request code 1111”” and return the card by atm.

TC19_Bank_
Money withdrawal_ verify
Cancel with account type
This test is to verify the functionality of cancel with account type

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on cancel button

Atm should display meaningful error message ” Sorry unable to process your request code 1234”” and return the card by atm.
TC20_Bank_
Money withdrawal_ verify
Cancel with service provider
This test is to verify the functionality of cancel with service provider

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change,mini transaction,quick cash.


Step5
Click on cancel button

Atm should display meaningful error message ” Sorry unable to process your request code 1111”” and return the card by atm.
TC21_Bank_
Money withdrawal_ verify
Cancel with amount entity
This test is to verify the functionality of cancel with amount entity

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page
Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change,mini transaction,quick cash.
Step5
Click on money withdrawal

Atm should display amount entry page.
Step6
Click on cancel button

Atm should display meaningful error message ” Sorry unable to process your request code 1111”” and return the card by atm.
TC22_Bank_
Money withdrawal_ verify
Cancel with continue entity
This test is to verify the functionality of cancel with continue entity i.e, after amount entity

Step1
Insert valid card in the insertion point of atm
Valid atm card
Atm should display language page with following objects ENLISH,TELUGU,HINDI
Step2
Click on corresponding language to be used

Atm should display the  pin number page in corresponding language selected
Step3
Enter the valid pin number
Valid pin number
Atm should display the account type selection page



Step4
Click on the correct account type of a/c holder

Atm should display service page with the following object money withdrawal, pin change,mini transaction,quick cash.
Step5
Click on money withdrawal

Atm should display amount entry page.
Step6
Enter the valid amount and click on OK
Valid amount
Get the amount from atm and display the objects want to continue, OK, NO
Step7
Click on cancel button

Atm should display meaningful error message ” Sorry unable to process your request code 1111”” and return the card by atm.