As a software tester, you should always think like a person who is using it, and you need to imagine various scenarios, which will happen in the real time environment. If you do this creative visualization you are rest assured that the application is more or less an error free. Just always see the application in a Negative way, as a software tester your attitude must be always negative with the application, if you have this attitude you can easily find out the mistakes.
Author
Suriya Ganesan
Test Engineer
INDIA
Test Engineer
INDIA
The basic objective of writing test cases is to validate the testing coverage of the application. Well written test cases can make the testing cycle smooth and efficient. A good test case is easy to determine if a feature of an application is working correctly.
I have given some valid Test Cases for a Login credentials below
Good information. Every programmer should consider these test cases before going for Design & Coding!
ReplyDeleteThank You
Thank You for Good information. I got to know for the 1st time about testing!
ReplyDeleteThank You @Suriya.
ReplyDeleteGood information for beginners about testing.
ReplyDeleteGreat job @Suriya
ReplyDelete@Suriya
ReplyDeletereally nice post :thumbup
Good article ! Important one.
ReplyDeleteNice article and expecting more articles....
ReplyDeleteit's nice to see some planning! thanks for the ideas :)
ReplyDeleteVery useful... need to implement all those test cased thoroughly... it is a bit headache for the developer... but no escape...
ReplyDeleteVery nice article. Thank you for sharing to all.
ReplyDeleteNever say if username or password is wrong. Just say something is wrong
ReplyDeleteActually, a well-designed log-in page should never divulge whether the user name or the password is incorrect. The correct response for both TC-002 and TC-003 should be "Invalid user name or password", or similar. Apart from that, thanks for sharing.
ReplyDeleteI agree with post exactly above me.
ReplyDeletegood form dummies :) haha
ReplyDeletegreat
ReplyDeletesimple yet useful article
ReplyDeletegreat Suriya we waiting more ;)
ReplyDeleteVery useful
ReplyDeleteThanks Suriya..Nice post..
ReplyDeletethanx alot.......its vry clear.
ReplyDeletesimply superbbbbbbbbbbbbbbb
ReplyDeleteit is very useful 4r every one frnd nd simply superb nd v people xpecting more unformation like tis ll u pls,........
ReplyDeletesimple n superb:)
ReplyDeleteVery Nice Post And Easy To Understand
ReplyDeleteIts very useful for beginners Apart from this i want to clarify one thing Is it necessary for manual tester to learn database.
ReplyDeleteVery Nice post I need to use this for my next project. Keep going
ReplyDeletenice supriya you done good job
ReplyDeleterise doubts on my mind abt this i clarify those after saw your posted sereen
useful one.
ReplyDeletewas effective
ReplyDeletethanks a lot
ReplyDeletegud test case experience for starter
ReplyDeletegud.... it healped me a lot...we were told to write 30 test cases for log in page...after seeing ur valid test cases i completed ma all 30 test case.....thanx
ReplyDeletevery nicely made,easy to understand
ReplyDeleteit'sgood
ReplyDeletei m a beginner in the field of testing an hence it helps me a lot.
ReplyDeletegood information and thank you
ReplyDeleteAwesome demo Suriya... keep it up!!
ReplyDeletereally nice..
ReplyDeleteGood one... expecting more scenario with test cases..
ReplyDeletehello sis
ReplyDeletei am venkat,as a fresher i feel comfortable by seeing this,i need your help,I cleared ISTQB certification,But i am having doubt how to prepare test scenario,which one will come first eithier test case or test scenario
superb..........i was more confused about how to present a test case?, but after reading "test case for login" i can say i am clear over the test case
ReplyDeletethanks for sharing, i am learning testing and it helps me understand how to write test cases .
ReplyDeleteThank you for helping me in understanding how to write test cases. After seeing this example I can write test cases for my project now.
ReplyDeleteAnand
Nice one ...
ReplyDeletethnxx for your kind Information.
ReplyDeleteThanx.......suberb job....
ReplyDeleteNICELY DESCRIBED..
ReplyDeletethank you
ReplyDeleteThanks
ReplyDeletethanks for post.
ReplyDelete@surya will be very useful for my interviews
ReplyDeleteThanks for the post Suriya..
ReplyDeletevery useful..thanks a lot...
ReplyDeletegreat and it is to understand for learner.
ReplyDeleteIt really help in understanding that how to write a test case. its very useful. thanks alot:) for guidance
ReplyDeleteHi suriya,
ReplyDeletecan you please provide me some screen shots with test cases for other applications like CRM,salary processing applications, can u please send all these documents to [email protected], waiting for your reply.
Thanks
Raghavendra
Thanx Suriya, your post was really helpful to me
ReplyDeleteMy Searching end here. Thanks
ReplyDeleteunderstandable
ReplyDeletenice tipps. But this is only a fonctional Test for the login page. I would be so much thankfull if you can post some idea for security testing like cross site scripting, session testing and authorization testing.
ReplyDeletenice work brother
ReplyDeleteGood Example.I understood how to write a test case.thanq
ReplyDeleteits a great example for a view of testing....thanks@lot...
ReplyDeleteits a great example for a view of testing....thanks@lot...
ReplyDeletei am new to test cases it is simply and easy to understand good job for helping a lot of members by doing so
ReplyDeleteThank you all for the best feedback. Here you can request any tutorial about testing.
ReplyDeletethanks...
ReplyDeleteThanks Nice test cases/
ReplyDeleteHi mam,
ReplyDeleteGreat Posting but my interview exp i went attend one interview i tried to write like that but interviewer told we are not expecting this type of template we want only concept for scenario. I dont know why people behave like this, they have to inform before starting the written test but never told anything. At last simply told ur name is not shortlisted, it is the shame for those companies.
hi suriya
ReplyDeletecan you please provide me some more information n screen shots with test cases for other applications like doctors profile salary processing applications, can u please send all these documents to [email protected], waiting for your reply.
Thank you
keethu
NICE ONE BOSS. keep posting.... new to testing need to know a lot about Testing
ReplyDeleteNice ONE BOSS...
ReplyDeletecan u send about testing tutorials to [email protected]
ReplyDeleteTHANKS FOR GIVING GOOD TEST CASES.CAN U SEND MATERIAL ABOUT TEST CASES WRITING VITH SOME EXAMPLES SO THAT I CAN UNDERSTAND MORE EASILY BECAUSE I AM FRESHER IN TESTING.SEND TO [email protected]
ReplyDeleteThank You, you have written exactly what is important.
ReplyDeletethanks
ReplyDeletegood but expecting more test cases
ReplyDeleteGreat approach and great work, keep it up
ReplyDeleteThe above approach was cool, could you please tell me few steps to come out with best off scenario in writing test case. Please mail me [email protected] and few screen shots of it with templet will be help full. Thank you.
ReplyDeleteNice posting ....
ReplyDeleteit is so easy to undestand......
ReplyDeleteits is very good style to test case write,thanks
ReplyDeleteNice answer
ReplyDelete:)
ReplyDeletehelpful
ReplyDeleteGood work
ReplyDeleteNever say 'Username is wrong' or 'Password is wrong' . We won't give correct messages for login screens. You can also add Keyboard functionalities test cases like tab order , reverse tab order and enter key functionalities.
ReplyDeleteAlso try to to incorporate some aesthetic test cases also like look and feel, enough space between username and password labels , visibility of buttons and the fonts
Regards
Hari MR
It is good
ReplyDeletecan u tell me the scenario of the login page...
ReplyDeletegood article, thanks for d same.. hope it will help us for d beginners during interview selection....
ReplyDeletecan u tell me the testcase of manage user page
ReplyDeletethank you! do you have any info on test registry? thanks
ReplyDeleteThis is good article. Another scenario I can think of:
ReplyDelete1) Login with valid uid and password
2)then copy the loggedin url from the browser say from IE
3)Paste it in another browser say firefox.
4)It should not show you the logged in user details as the login cookies does not exist for firefox.
Thanks
Tim
http://softwareqatestings.com/introduction-to-software-testing/how-to-write-a-good-test-case.html
Hi suriya..
ReplyDeleteYour article on test cases is good.
Iam a fresher i need to know mare about testing and how to write test cases. if u have any test cases with examples please do send me.
If u have any useful information about testing send me the articles or notes any time.
My mail id: [email protected]
Thanks
Mahesh Boga
This one is of great help! Please post some more examples. Thanks a lot!
ReplyDeletegood article
ReplyDeleteWell explained..
ReplyDeleteEasy to Learn Thanks for this nice article
ReplyDeletethank you it seems very useful information
ReplyDeleteif u enter wrong username or password then popup message should be 'enter valid user name or password'. It should not specify that enter correct username or password.
ReplyDeletehelpful..
ReplyDeletevery helpful ..can u anyone xpaln the possible cases for a login page with proper username and password, but user couldnt login
ReplyDeleteGood....
ReplyDeleteCan u pls tell possible test cases for registration form.
good post can u give more examples like this so dat it would be better for freshers.really gud job
ReplyDeleteThis is a nice effort and very helpful to answer interview question asked for Manual testing position for login page
ReplyDeletethank you so much
ReplyDeletethank you so much,plese provide more test scenarios and test cases
ReplyDeleteits very niceelpful
ReplyDeleteand so much h
its very niceelpful
ReplyDeleteand so much h
Really very useful posting
ReplyDelete1) Incase of Invalid Username or Password, You should expect a common message "Authentication failed. Otherwise it is a security defect.
ReplyDelete2) Now a days Login comesup with ADS Sever integrations. Need cases around
3) * mark should appear always for mandatory field. Its not after using missing it.
You can write around 60 Testcases for the given scenario
Good job dear Thank you soo much..... :)
ReplyDeletenice post ,can u give me some more examples
ReplyDeleteVery Useful Explanation
ReplyDeleteThanx
ReplyDeletesimple to understand & imp for interview purpose.
thx
Simple to understand & imp for interview
ReplyDeleteThx
it's really good...........why cant you share software testing jobs link in this page????????
ReplyDeleteIts nice very useful to new ones to testing.
ReplyDeletePlease update some useful information about basic testing techniques.
thank you very much
ReplyDeletethank u
ReplyDeleteNice Thank u.
ReplyDeletegood example. thanks
ReplyDeletevary thank full it's vary useful greats job...........
ReplyDeleteeasy understanable and superb...@Suriya
ReplyDeletevery helpful...thanks.
ReplyDeletevery useful
ReplyDeletethanq u so much .....
ReplyDeletefor given this information
Very useful.. thnx for this useful information.
ReplyDeleteIt's good that they have thought about that. It was about time they did something. Thanks for sharing.
ReplyDeleteuseful..expecting test cases for many scenarios..
ReplyDeleteI don't know how to start writing the Test cases. This is the first test case i have seen..Thanks for this useful information.
ReplyDeletegood article:)
ReplyDeleteWow, a new type of tutorial, always wanted to create test cases, thx for saving the time :)
ReplyDeleteThis is very good test case for login.
ReplyDeletethank you :)
thnx for such a useful information.
ReplyDeleteThank you for sharing knowledge...Keep up the good work.. God bless
ReplyDeleteHi Suria, Thank you so much for log in test cases. I am new in this field, please provide me functional test cases as well. My emailID is [email protected]. I will appreciate your help.
ReplyDeleteTHANKS A LOT FOR SHARING THE KNOWLEDGE
ReplyDeleteNice...
ReplyDeletethank u
ReplyDeleteVery useful. Thank you!!!
ReplyDeleteGood job.....
ReplyDeletegreat job........waiting to see more..........
ReplyDeletegood
ReplyDeleteHi Suriya,
ReplyDeleteThanks for providing the TC details for Login, But i have one suggestion when we are validating the "Password By entering invalid password then an error message should appear as " Please Enter Correct Password "" in this case Error message should never say that Please enter correct password due to security issue if user enters incorrect Password but the username is correct or vice-verse the error message should say that Either username or password is incorrect.
Tnx for providing the tc deatils for login
ReplyDeletegrate full to me....
ReplyDelete