Tuesday, October 23, 2007

Test scenarios

Test scenarios for the ATM Mechine for check the validity of card :

TC 1:- succesful card insertion.
TC 2:- unsuccessful operation due to wrong angle card insertion.
TC 3:- unsuccesssful operation due to invalid account card.
TC 4:- successful entry of pin number.
TC 5:- unsuccessful operation due to wrong pin number entered 3 times.
TC 6:- successful selection of language.
TC 7:- successful selection of account type.
TC 8:- unsuccessful operation due to wrong account type selected w/r to that inserted card.
TC 9:- successful selection of withdrawl option.
TC 10 :- successful selection of amount.
TC 11:- unsuccessful operation due to wrong denominations.
TC 12:- successful withdrawl operation.
TC 13 :- unsuccessful withdrawl operation due to amount greater than possible balance.
TC 14 :- unsucceful due to lack of amount in ATM.
TC 15 :-un due to amount greater than the day limit.
TC 16 :- un due to server down.
TC 17 :- un due to click cancel after insert card.
TC 18:- un due to click cancel after indert card and pin no.
TC 19:- un due to click cancel after language selection,account type selection,withdrawl selection, enter amount


Test scenarios for the general paper:

TC:1 Check for the colour of the paper
TC:2 Check for the Size of the paper
TC:3 Check for the Thickness of the paper
TC:4 Check for the Smoothness of the paper
TC:5 Check for the blotting of the paper with ball pen
TC:6 Check for the blotting of the paper with ink pen
TC:7 Finally check for the Rate of the paper
Test Scenarios for the pen test scenarios
TC:1 Check for the Brand
TC:2 Check for the colour of the pen
TC:3 Check fot size of the pen
TC:4 Check for the comfortability of writing
TC:5 Check for the colour of the ink by writing it on a paper
TC:6 Check for the quality of the ball point by writing few words
TC:7 Check for the ink level of the refill
TC:8 Check for the price
1.To check the pen type
2.To check the pen cap is present or not
3.To check the pen ink is filled or not
4. To check the pen writing or not
5.To check the ink color i.e black or blue
6.To check the pen color
7.To check whether the pen is used to write all types of papers or not
8.To check the ink capacity of the pen
9.To check the pen product by fiber or plastic

Test Scenario on the password Field

TC 1. Whether the field is encrypted. (i.e. *****)
TC 2. Whether we can able to copy the password from the field (It should not allow).
TC 3. The Boundary condition (depends)
TC 4. Data validation (depends - only character, only numbers, alphanumeric, etc.....)
TC:5. Ensure that the Password field data matches the policy set [Eq: It should be alphanumeric]
TC6: Ensure the Password meets the minimum length set.
TC:7. Confirm Password field has the same validation as Password field.
TC:8. Save as/ Apply Changes button is disabled till the Password and Confirm Password field is blank.


Test Scenarios for A MS-Word editor should able to open a existing file from system.
File Open - Test scenario

Steps to reproduce:
1. Launch Application
2. Select "File" menu: File menu pulls down
3. Choose "Open": "Open" dialog box appears
4. Select a file to open
5. Click OK, File should open

New File - Test Scenario
Steps to reproduce:
1. Launch Application
2. Select "File" menu: File menu pulls down
3. Choose "New": "New" dialog box appears
4. Enter a name for new file.
5. Click OK, File should created and open

Test cases for IE 6.0
Test cases for IE 6.0 ie Internet Explorer 6.0:---
1)First I go for the Installation side, means that --
+ is it working with all versions of Windows ,Netscape or other softwares in otherwords we can say that IE must check with all hardware and software parts.
2) Secondly go for the Text Part means that all the Text part appears in frequent and smooth manner.
3) Thirdly go for the Images Part means that all the Images appears in frequent and smooth manner.
4) URL must run in a better way .
5) Suppose Some other language used on it then URL take the Other Characters, Other than Normal Characters.
6)Is it working with Cookies frequently or not.
7) Is it Concerning with different script like JScript and VBScript.
8) HTML Code work on that or not.
9) Troubleshooting works or not.
10) All the Toolbars are work with it or not.
11) If Page has Some Links, than how much is the Max and Min Limit for that.
12) Test for Installing Internet Explorer 6 with Norton Protected Recycle Bin enabled .
13) Is it working with the Uninstallation Process.
14) Last but not the least test for the Security System for the IE 6.0

Example2 : Here below sample login page contians username ,password fields and login button, Vaidations are given below.

1. user name ,password filelds are required.
2, password field should be encrypted.
3.Authentication maintains properly
4.check session and cookies

Test Scenario's for the login page:

User Name

Password Login

1. Launch an IE browser and go to the Registration Form.
2. Verify the registration page opens.
3. default focus should be on the username
4. Password should be encrypted format
5. check the length username,password
6. case sensitive check on username and password text box.
7. chek the properties of button login
8. Application should allow valid users
9. Afer successfully login , return back to login page password should be expired
10. Application should not allow single users for multiple systems
11. check cookies(mostly username)
12. Check the session time( which is given by developper)
13. Font alingment, spell,color.. check
14. After log out browser back button should not work.
Example1 : Below is sample Registration form contains two input fields and submit button. Validations are given below.

Examples of field validation criteria are:
• First and last name fields are required.
• First and last name fields are limited to 50 characters each.
• First and last name fields will not accept numbers.
• First and last name fields will not accept the following characters: ?,./">`~!@#$%^&*()_:";'{}[]+<>?,./

Consider the following example:
Registration Form
Enter your first and last names and click the Submit button

First Name

Last Name Submit


Here’s a set of test scenario's that include validation criteria:
1. Launch an IE browser and go to the Registration Form.
2. Verify the registration page opens.
3. On the registration page, click the mouse in the First Name field.
4. Leave the First Name and Last Name fields blank and click on the Submit button.
5. Verify an error message appears saying you cannot leave the First Name and Last Name fields blank.
6. Enter 50 chracters in both the First and Last Name fields.
7. Verify the names are accepted.
8. Enter more than 50 chracters in both the First and Last Name fields.
9. Verify an error message appears saying you cannot enter more than 50 characters in the First Name and Last Name fields.
10. Enter numbers in the First and Last Name fields.
11. Verify an error message appears saying you cannot enter numbers in the First and Last Name fields.
12. Enter the chracters "`~!@#$%^&*()_:";'{}[]+<>?,./" in the First and Last Name fields.
13. Verify an error message appears saying you cannot enter "`~!@#$%^&*()_:";'{}[]+<>?,./" characters in the First and Last Name fields.
14. Type “John” in the First Name field.
15. Click the mouse in the Last Name field.
16. Type in “Doe” in Last Name field.
17. Click on the Submit button.
18. Click on registration List in the left nav bar.
Even the above set of test cases takes a few shortcuts by testing validation on both fields at once. A more correct way to do it would be to test the field validation independently.
For example, the blank name validation should be tested like this:
1. Leave the First Name and Last Name fields blank and click on the Submit button.
2. Verify an error message appears saying you cannot leave the First Name and Last Name fields blank.
3. Enter a valid First Name and leave the Last Name field blank and click on the Submit button.
4. Verify an error message appears saying you cannot leave the Last Name field blank.
5. Enter a valid Last Name and leave the First Name field blank and click on the Submit button.
6. Verify an error message appears saying you cannot leave the First Name field blank.
As you can see, this increases the number of test cases needed substantially, and even this set of test cases leaves certain issues untested.
Sample format of TestCase Document:

**Please convert in to table....

Case Number Action Expected Results Actual Results Pass/Fail

2.1.0 Blank Check

2.1.1 Entry with a blank First Name. An error message is displayed saying The First Name must be filled in.

2.2.0 Maximum Characters

2.2.1 The First Name field will accept a maximum of 50 characters. The First Name field should accept a maximum of 50 characters.

Grab this Widget ~ Blogger Accessories