Given a screen with username, password, date and amount, What are the test cases we need to come up with. Please tell me some real time test cases.Thankyou very much.
Given a screen with username, password, date and amount, What are the test cases we need to come up with. Please tell me some real time test cases.Thankyou very much.
It really depends on the client's requirements like:
01. What would be the maximum size for user name & password?
02. Valid and invalid inputs for both the fields?
eg: some clients say that
a) The password should be at least 8 chars and at the most 10 chars
b) Password must contain at least 1 numeric char
c) Password should not contain user name, etc
1. Password is vied as special charecter
2. Date field takes the date in the desired Date Format
3) Amount is taken in which currency format.
4) Each field is enabled
Hi!
I think that will help you out .
1.Testing without entering any user name and password
2.Test it only with user name
3.Test it only with password
4.Password with wrong user name
5.Right user name and right password
6.Try copy / paste in password test
7.After successful sign-out try back option from your browser.Check whether it gets you the signed in page.
8.Check Amount MIn / MAX
9.Check amount is taken in which currency .
10. Check amount in decimal
Last edited by jainbrijesh; 09-18-2007 at 07:10 AM.
verify whats the max and min alphacharacters the username accepts
verify by entering spl characters
verify whats the min characters the password accepts
verify if the password and username can be same
verfiy if the password is in encrypted form
verify if the date field has default sys date
verify by giving invalid date month/year
verify the amount is in numeric
you can add on many more test cases..these are just few
Hi Puja,
Based on the trial mail you must have got a fair idea of the test scnearios we could come up with for testing a screen with the mentioned fields.
Just remember before test scenario design, divide your cases into Positive as well as Negative testcase scenarios.
All those cases which deal with positive functionality of the application / valid
functionality would be clasiified as positive cases.
Those cases which are trying to break the application by carrying out invalid operations would be Negative testcases.
Positive Cases
1) verifying if Valid UserID and Password navigates the user to Next screen
2) Check if Password is encrypted
3) Checking for Valid Date format etc
4) Password Length validation
5) Checking if all fields are enabled and editable.
Negative Cases
1) Using the Back button once logged into application to check if session authentication is maintained
2) Trying to pass only UserName or Password and using the Forward button
3) Copy / Paste of password into text file to break encrytion etc
Cheers......
nice info!!!!!!!!