0% found this document useful (0 votes)
31 views6 pages

Practical No. 04

Ma k ??? hai na hai to convert letter to the walking dead season in the world of the day the walking dead season in the world of the day the walking dead season in the world of the day the walking dead season in the world of the day the walking dead season in the world of the day the walking dead season in the

Uploaded by

mujahidfareed785
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views6 pages

Practical No. 04

Ma k ??? hai na hai to convert letter to the walking dead season in the world of the day the walking dead season in the world of the day the walking dead season in the world of the day the walking dead season in the world of the day the walking dead season in the world of the day the walking dead season in the

Uploaded by

mujahidfareed785
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

NAME:- MD Aakif Anjum ROLL NO:- 4

PRACTICAL NO. 04
Test Case for Railway Reservation System.
TC-ID Test Case Input Expected Actual Status
Objectives Data Result Result

Any valid It Should The Login


TC-1 Login login Accept the Name Pass
Field name Login is
(OMAN) Name Accepted
It Should Successful
TC-2 Password Valid Accept the Login Pass
Field Password Valid Message
Password
Message
It Should Displayed
TC-3 Password Invalid not Accept as Invalid Pass
Field Password the Valid Login or
Password Wrong
Password
Date
Date Format not It Should Accepted
TC-4 of Before the Accept the Pass
Journey Current Date Date
Date
Date
Date Greater It Accepted
TC-5 Of than the Should the Pass
Return Return Accept Date
Journey Journey Date
date
Boarding Valid It Accepted
TC-6 Station Boarding Should the Pass
Station Accept Boarding
Station

NAME:- MD Aakif Anjum ROLL NO:- 4


PRACTICAL NO. 05
TC- Test Prerequisi Steps Input Data Expected Actual Statu
ID Case tes Result Result s
Objectiv
es
Whether Test Home Page
TC-1 To Check Internet is Internet [Link] Should Home Page Pass
Internet available or Connection [Link] Display of Displayed
not Amazon
Correct and Goes to
Valid Type Username Should Next Page If
Username Correct and Given Enter User I’d and
TC-2 Username Should Valid by Valid Password Pass
be Username Amazon The Verified
Registered Username and
on Amazon Valid
Correct and Goes to Next
Valid Password Page If User
Password Type Selected by Should Enter I’d
TC-3 Password Should be Correct and User and Valid and Pass
Validate and Valid Validated Password Password
Verified on Password by Verified
Amazon Amazon and
Site Validated
To Check To Type Site
Whether Display Proper Homepage Home
TC-4 Site Home Amazon Site [Link] Display Page Pass
Page Page Address as .com Should Displayed
Opens or Website on [Link] Display on
Not Screen [Link] screen
To Search Click Mouse Shall Show
TC-5 Search The On Rollover Display Availability Pass
the Product Product And Availability of product
Product Link Click Product
Product Click Mouse Shall Display
Product shall On Rollover Display Product
TC-6 Details available Product And Availability Details of Pass
on Link Click Product Other
Site Product
With respect to GUI testing Write the test cases for Amazon Login Form.
Test Case for home page of marketing site [Link]
TC- Test Prerequisi Steps Input Data Expected Actual Statu
ID Case tes Result Result s
Objectiv
es
Whether Test Home Page
TC-1 To Check Internet is Internet [Link]. Should Home Page Pass
Internet available or Connection com Display of Displayed
not Flipkart
Correct and Goes to Next
Valid Type Username Should Enter Page If User
Username Correct and Given Valid I’d and
TC-2 Username Should Valid by The Password Pass
be Username Flipkart Username Verified
Registered and Valid
on Flipkart
Correct and Goes to Next
Valid Password Page If User
Password Type Selected by Should Enter I’d
TC-3 Password Should be Correct and User and Valid and Pass
Validate and Valid Validated Password Password
Verified on Password by Verified
Flipkart Site Flipkart and
Validated
To Check To Type Site
Whether Display Proper Homepage Home
TC-4 Site Home Amazon Site [Link]. Display Page Pass
Page Page Address as com Should Displayed
Opens or Website on [Link] Display on
not Screen [Link] Screen
To Search Click Mouse Shall Show
TC-5 Search The On Rollover Display Availability Pass
the Product Product And Availability of product
Product Link Click Product
Product Click Mouse Shall Display
Product shall On Rollover Display Product
TC-6 Details available on Product And Availability Details of Pass
site Link Click Product Other
Product
NAME:- MD Aakif Anjum ROLL NO:- 4

PRACTICAL NO. 06
Test Cases to test sign-in form of Gmail Account.

TC- Test Case Precondi Test Steps Expected Actual Statu


ID tion Data Result Result s

(i) Enter
Input
(correct)
Test If User User Must Correct Username User Must Note Down
TC-1 is Able to be Username, and Password Successfully the Results Pass
Login Registered Correct on the Login to the You Have
Successfully Already Password Respective Web Page Observed
Fields
(ii) Click
Submit/Login
(i) Enter
Input
Test It (incorrect) Proper Error
Unregistered User Incorrect Username must be Note Down
TC-2 Users is Should not Username, and Password Displayed the Results Pass
not be Incorrect on the and Prompt You Have
Able to Registered Password Respective to Enter Observed
Login to the Already Fields Login Again
Site (ii) Click
Submit/Login
Test with Enter the
Valid Valid Proper Error
Username User must Valid Username in must be Note Down
TC-3 and Empty be Username the User I’d Displayed the Results
Password Registered and Empty and don’t and You Have Pass
such that Already Password Enter Prompt to Observed
Login must Password in Enter Login
get Failed the Password Again
Field
Test with Leave the
Empty Username Proper Error
TC-4 Username User must Empty Empty in the must be Note Down
and Valid be Username User I’d and Displayed the Results
Password Registered and Valid Enter a Valid and You Have Pass
such that Already Password User's Prompt to Observed
Login must Password in Enter Login
get Failed. the Password Again
Field
NAME:- MD Aakif Anjum ROLL NO:- 4
PRACTICAL NO. 07
Write program and design test cases for the following Control and decision making
statement.
1) For Loop 2) Switch Case 3) Do-While Loop 4) If-Else
<html>
<head>
<script > function display() {
[Link]("Hello");
var n=Number([Link]("num").value);
if(n%2==0)
{ [Link]("Number is EVEN"); }
else
{ [Link]("Number is ODD"); }
[Link](" Number 1 to "+n+" is:");
for(i=1; i<=n; i++)
{ [Link](i); }
[Link](" Displaying Number in Words: "); switch(n)
{
case 1: [Link]("One");break;
case 2: [Link]("Two"); break;
case 3: [Link]("Three"); break;
case 4: [Link]("Four"); break;
case 5: [Link]("Five"); break;
default: [Link](" To display number in words enter less than 5 "); break;
}}
</script> </head>
<body bgcolor="Pink"> Enter any Number:
<input type="text" id="num"/>
<button onclick="display()"> Display </button>

</body> </html>

You might also like