This article discusses in detail about login page test scenarios. http://www.metaforumtechnologies.com/training-courses/software-testing-courses/software-testing-training-in-chennai
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Login page test scenarios
1. Login Page test scenarios – Metaforum
Technologies
Test Scenarios for a typical loginpage – Sample elements to test
In thisarticle,we will write aboutvarioustestscenariosforatypical webapplicationloginpage.Not
that, a loginpage isdifferentfromregistrationpage andaseparate article forthat iscomingsoonfrom
us.Normallya testingaloginpage isalmosta common taskfor any webapplication.Thisispartof our
software testingtraininginChennai course.We have included 100’sof similaruse casesinoursyllabus.
Normallypagesthatrequire loginoperationwill have confidential dataandhence testcasesfor such
scenariosmushcoverall elementsandmustbe thorough.So,withoutfurtherdelay,here are some of
the elementsof atypical loginpage.
TextboxElements:
Email or User name
Password
LinkElements:
ForgotPassword/Forgotusername
Registerorcreate a newaccount
CheckboxElements
Rememberme
Keepme signedin
Buttonelements:
Loginbutton
Here is a sample Gmail loginpage
2. Sample test cases [With positive & Negative test scenarios]:
Checkthat whenthe loginpage loads,cursorisactuallyfocusedof Username textbox
Checkthat page containall the textbox / check box/link/buttonelementsmentionedinthe
earliersection
Checkif the tab buttontakesto nextelementcorrectly
Make sure enterbuttonworkssame as login/signinbutton
Checkfor successful loginwithcorrectcredentials
Checkfor followingscenarios
Username Password Result
Valid Invalid No successful login
Valid Valid Successful login
Invalid Invalid No successful login
Invalid valid No successful login
Blank blank No successful login
Checkbrowserbackaction shouldnottake to previousscreenafter successful login andlogout
operations
Checklimitforunsuccessful loginattempts.
Make sure passwordisencryptedandcannotcopy that & place elsewhere
Make sure usercannot loginwithpreviouspasswordafterchange passwordoperation
Verifylinkisthere forforgot passwordoption
Verifytimeoutoperationworksafterspecificidealscenario
Verifyuserisnotloggedoutif browserisclosed
Verifyrememberpasswordcheckbox isnotselectedbydefault.
Verifylinktocreate accountisworkingproperly
VerifyOTPelementworksproperly(if applicable)
Make sure captcha code is case sensitive andaudioenabled(if applicable)
Verifymessage once userlogsoutof the page.
All these testingprocesscanbe done manuallyof usingautomationtoolslike Selenium,QTPetc.
There ismore tologinpage testingthanthe above scenariosorelementslike some loginpage requires
image authentication. Some loginpage requiresone time Password,loginaccessbasedontime etc.All
these thingscannotbe coveredina single article.Sokeeplookingformore postfromusfor detailed
testingrelatedarticles.