TestCase Example
-
Upload
mughees-hussain -
Category
Documents
-
view
215 -
download
0
Transcript of TestCase Example
-
7/28/2019 TestCase Example
1/5
Test Case Template:testcase
idtestcasename
testcasedesc
test steps testcase
status
teststatus(P/F)
testprority
defectseverit
ystep expecte
dactual
Sample Test Case:
HOME PAGE:test URL: www.edugate.ksu.edu.sa
Preconditions: Open Web browser and enter the given url in the address bar. Home pagemust be displayed. All test cases must be executed from this page.
Testcase id
Testcasename
test casedesc
test steps testcase
status
teststatus(P/F)
testprority
defectseveritystep expected actu
alLogin01 Validate
LoginTo verifythat Loginname onlogin pagemust begreater than 3characters
enter loginname lessthan 3 chars(say a) andpasswordand clickSubmitbutton
an error message Loginnot less than 3charactersmust bedisplayed
design high
enter loginname lessthan 3 chars(say ab) andpasswordand clickSubmitbutton
an error message Loginnot less than 3charactersmust bedisplayed
design high
enter loginname 3chars (sayabc) andpassword
and clickSubmitbutton
Login successfull or an error messageInvalid Loginor Password
must bedisplayed
design high
-
7/28/2019 TestCase Example
2/5
Login02 ValidateLogin
To verifythat Loginname onlogin pageshould notbe greater than 10characters
enter loginnamegreater than10 chars(sayabcdefghijk)andpasswordand clickSubmitbutton
an error message Loginnot greater than10 charactersmust bedisplayed
design high
enter loginname lessthan 10chars (sayabcdef) andpasswordand clickSubmitbutton
Login successfull or an error messageInvalid Loginor Passwordmust bedisplayed
design high
Login03 ValidateLogin
To verifythat Loginname onlogin pagedoes nottakespecialcharacters
enter loginnamestarting withspecailchars(!hello)passwordand clickSubmitbutton
an error messageSpecial charsnot allowed inlogin must bedisplayed
design high
enter loginname endingwith specailchars(hello$)passwordand clickSubmitbutton
an error messageSpecial chars
not allowed inlogin must bedisplayed
design high
enter loginname withspecailchars inmiddle(he&^llo)password
and clickSubmitbutton
an error messageSpecial charsnot allowed inlogin must bedisplayed
design high
-
7/28/2019 TestCase Example
3/5
Pwd01 ValidatePasswor d
To verifythatPasswordon loginpage mustbe greater than 6characters
enter Passwordless than 6chars (say a)and LoginName andclick Submitbutton
an error messagePassword notless than 6charactersmust bedisplayed
design high
enter Password 6chars (sayabcdef) andLogin Nameand clickSubmitbutton
Login successfull or an error messageInvalid Loginor Passwordmust bedisplayed
design high
Pwd02 ValidatePasswor d
To verifythatPasswordon loginpage mustbe lessthan 10characters
enter Passwordgreater than10 chars(say a) andLogin Nameand clickSubmitbutton
an error messagePassword notgreater than 10charactersmust bedisplayed
design high
enter Passwordless than 10chars (sayabcdefghi)and LoginName andclick Submitbutton
Login successfull or an error messageInvalid Loginor Passwordmust bedisplayed
design high
Pwd03 ValidatePasswor d
To verifythatPasswordon loginpage mustbe allowspecialcharacters
enter Passwordwith specialcharacters(say !@hi&*P)Login Nameand clickSubmitbutton
Login successfull or an error messageInvalid Loginor Passwordmust bedisplayed
design high
Llnk01 VerifyHyperlinks
To Verifythe Hyper Links
available atleft side onlogin pageworking or not
Click HomeLink
Home Pagemust bedisplayed
design low
Click SignUp Link Sign Up pagemust bedisplayed
design low
-
7/28/2019 TestCase Example
4/5
Click NewUsers Link
New UsersRegistrationForm must bedisplayed
design low
Click
AdvertiseLink
Page with
Information andTariff Plan for Advertisersmust bedisplayed
design low
ClickContact UsLink
ContactInformationpage must bedisplayed
design low
Click TermsLink
Terms Of theservice pagemust bedisplayed
design low
Flnk01 VerifyHyper links
To Verifythe Hyper Linksdisplayedat Footer on loginpageworking or not
Click HomeLink Home Pagemust bedisplayed
design low
Click SignUp Link
ContactInformationpage must bedisplayed
design low
ClickContact UsLink
Page withInformation andTariff Plan for Advertisersmust bedisplayed
design low
ClickAdvertiseLink
Terms Of theservice pagemust bedisplayed
design low
Click TermsOf MembershipLink
Privacy Policypage must bedisplayed
design low
ClickPrivacyPolicy Link
Privacy Policypage must bedisplayed
design low
Lblnk01 VerifyHyper
links
To Verifythe Hyper
Linksdisplayedat LoginBox onlogin pageworking or not
Click NEWUSERS Link
located inlogin box
New UsersRegistration
Form must bedisplayed
design low
Click NewUsers(BlueColor) Linklocated inlogin box
New UsersRegistrationForm must bedisplayed
design low
-
7/28/2019 TestCase Example
5/5
Click ForgetPasswordLink locatedin login box
PasswordRetrieval Pagemust bedisplayed
design medium