Professional Documents
Culture Documents
Practical No. 3
Aim: Design test cases for E-commerce (Flipkart, Amazon) login form.
Theory:
• Practical Significance
E-Commerce applications are no less than any boon to a person who is in fond
of shopping, E-Commerce application is narrow down gap between the seller
and buyer. This facilitate buyer to buy required commodity as per their
requirements and also as per their time. Some applications also provide facility
of flash sales to attract users, Considering the threat of various online activities
it is pretty much essential to validate such E-Commerce application. In this
practical a trainee will understand operations of login procedure for E-
Commerce and design Test Case to validate its functionality.
• Background
In modem era most of the people are familiar of various E-Commerce. This
technology has given exclusive rise in trade which benefited all people
associated with Commerce or trade. E-Commerce deals with almost all
commodities that a user requires in its life spat. Having said that it is very much
essential to get acquainted with such application(s) and validate its operation.
The first and foremost step to use such application(s) is to get registered and get
logged-in on these applications. As a test engineer one needs to be very clinical
with testing to avoid unauthorized access to an application developed for the
cause. Common way to achieve this is to validate user's authentication at entry
point only i.e, uat login instance. The login module will segregate between users
and allow only authorized user to proceed for further activity.
• Procedure:
1) Select appropriate tool to generate test case (Like any text editor/web
based tool)
Practical No. 3
FC5463 – Software Testing
When you already login to the Amazon and revisit the website. It will show you
special box that shows you are already identified. And it requires you to enter
password to next page. And for that flow, it only shows sign in box as shown
below.
If the user has not logged in before then it shows you username and the
password through the flow. It takes username at first and then password is
added on the next part.
Practical No. 3
FC5463 – Software Testing
When you already login to the Amazon and revisit the website. It will show you
special box that shows you are already identified. And it requires you to enter
password to next page. And for that flow, it only shows sign in box as shown
below.
Practical No. 3
FC5463 – Software Testing
If the user has not logged in before then it shows you username and the
password through the flow. It takes username at first and then password is
added on the next part.
Practical No. 3
FC5463 – Software Testing
• Resources Required
Sr. Name of
Specifications Quantity
No. Resource
Computer (i3 – i5 preferable),
Hardware : RAM minimum 2 GB and
1 1
Computer System onwards, HDD free space IGB or
more.
Windows 7 or latest / LINUX
2 Operating System Any one
version 5.0 or else.
Practical No. 3
FC5463 – Software Testing
Expected Actual
Test case objectives Steps Status
output output
1) Go to the official
website of amazon.
Enter Valid email User will be User is
https://www.amazon.in/
and valid password redirected to redirected to Pass
2) Enter correct email
then click next. the website. the website.
and correct password
then click login button.
Click on the “Forgot
If in case you don’t A page will A page
Password” link and
remember your password appear to appears to
find out the forgot Pass
just click on forget reset your reset your
password page is
password button. password. password.
opening or not.
Click on Create a If you are new to
A page will A page
new account button Amazon click on create
appear to appears to
and verify if it takes new account button Pass
create a new create a new
to the new account present on the sign-in
account. account.
page or not. page.
1) After filling the details
on the sign-in page, it
will ask “Keep me signed
Select “Keep me The page
in”. The page
signed in” option to will
2) Tick this option. remembers Pass
retain the login remember
3) After ticking this your details.
session. your details.
button it will remember
your details next time
you login.
Practical No. 3
FC5463 – Software Testing
output output
1) Go to the official
website of amazon.
Your Your
Enter an invalid https://www.amazon.in/
username or username or
username and valid 2) Enter incorrect Pass
password is password is
password. username and correct
invalid. invalid.
password then click login
button.
Enter correct username Your Your
Enter a valid
and incorrect password username or username or
username and Pass
and then click login password is password is
invalid password.
button. invalid. invalid.
Enter an invalid We could We cannot
Enter incorrect username
username and not find an find an Pass
and incorrect password.
password. account. account.
Keep one field
Enter your
blank, either Keep the email field
Please enter email or
username or blank, enter the password Pass
your email. mobile
password, and check and click on login.
number.
login.
• Flipkart Login Screen Page Positive Test Cases
Expected Actual
Test case objectives Steps Status
output output
1) Go to the official
website of flipkart.
Enter Valid email User will be User is
https://www.flipkart.com/
and valid password redirected to redirected to Pass
2) Enter correct email
then click next. the website. the website.
and correct password
then click login button.
Click on the “Forgot
If in case you don’t A page will A page
Password” link and
remember your password appear to appears to
find out the forgot Pass
just click on forget reset your reset your
password page is
password button. password. password.
opening or not.
Practical No. 3
FC5463 – Software Testing
Expected Actual
Test case objectives Steps Status
output output
1) Go to the official
website of flipkart. You are not You are not
Enter an invalid https://www.flipkart.com/ registered registered
username and valid 2) Enter incorrect with us. with us. Pass
password. username and correct Please sign Please sign
password then click login up. up.
button.
Enter correct username Your Your
Enter a valid
and incorrect password username or username or
username and Pass
and then click login password is password is
invalid password.
button. invalid. invalid.
You are not You are not
Enter an invalid registered registered
Enter incorrect username
username and with us. with us. Pass
and incorrect password.
password. Please sign Please sign
up. up.
Practical No. 3
FC5463 – Software Testing
Exercises:
1. What are the security threats for E-Commerce System?
The most predominant cybersecurity threats include phishing attacks, credit
card fraud, DDoS Attacks, unprotected online services, etc. The user data such
as login credentials, credit card numbers, etc. are some sensitive information
that is protected by a customer.
• RSA
RSA is a public-key encryption algorithm and the standard for encrypting
data sent over the internet. It also happens to be one of the methods used in
our PGP and GPG programs.
Practical No. 3
FC5463 – Software Testing
• Blowfish
Blowfish is yet another algorithm designed to replace DES. This symmetric
cipher splits messages into blocks of 64 bits and encrypts them individually.
• Twofish
Computer security expert Bruce Schneier is the mastermind behind Blowfish
and its successor Twofish. Keys used in this algorithm may be up to 256 bits
in length and as a symmetric technique, only one key is needed.
• AES
The Advanced Encryption Standard (AES) is the algorithm trusted as the
standard by the U.S. Government and numerous organizations.
Practical No. 3