Skip to content

Speroteck Speroteck

Speroteck

  • Company
    • Services
    • Social Responsibility
    • Careers
  • Work
    • Case Studies
    • eCommerce Solutions
    • Managed Services
  • Resources
    • Platforms
    • Important tools
    • eCommerce SEO
    • New Website Checklist
  • Blog
  • Login
Get in touch
Speroteck
  • Company
    • Services
    • Social Responsibility
    • Careers
  • Work
    • Case Studies
    • eCommerce Solutions
    • Managed Services
  • Resources
    • Platforms
    • Important tools
    • eCommerce SEO
    • New Website Checklist
  • Blog
  • Login
Speroteck, Inc
604 Banyan Trail #812672
Boca Raton, FL 33431-2672
Get in touch
Home  /  Blog / How to write test cases for login page
Home  /  Blog / How to write test cases for login page

How to write test cases for login page

Date

20 October 2022

Written by

admin

In any application or website, “Logging in” is the process to access an application or site by an individual who has valid user credentials. “Logging in” is usually used to enter a specific page which trespassers or non registered users cannot see.

Testing of the Login page is very important in terms of security. We will try to cover the most widely used Login Page scenarios.

Please, keep in mind that every login page usually has the following elements:

  1. “Email/Phone Number/Username” – Textbox
  2. “Password” – Textbox
  3. “Login” – Button
  4. “Remember Me” – Checkbox
  5. “Keep Me Signed In” – Checkbox
  6. “Forgot Password” – Link
  7. “Sign up/Create an account” – Link
  8. CAPTCHA

This is the list of test cases below that can be used to test the login pages.

Test case #FeatureDescriptionSteps to executeTest data inputExpected resultActual resultComments
1 User interface Check all the text boxes, buttons and links Check the page elements N/A UI should be perfect. All buttons and links should be clickable
2 User interface Verify that all the fields such as Username or Password has a valid placeholder Check the text fields and validate placeholders N/A Placeholders should be with correct information
3 User interface Verify that the labels float upward when the text field is in focus or filled

1. Click on the text field

2. Type the text in the appropriate field (login, password)

Valid email or username Confirm that floating labels are going upward when text fields are in focus or filled
4 User interface Check Keeping Password

1. Enter valid username

2. Do not enter password

3. Click on Login Button

Valid email or username User should not log in and should show proper error message
5 User interface Check When passing a correct username and invalid password

1. Enter valid username

2. Enter incorrect password

3. Click on Login Button

Valid email or username User should not log in and should show proper error message
6 User Login Check when pass correct email and password

1. Enter valid username

2. Enter valid password

3. Click on Login Button

Valid email or username, valid password User should log in
7 User Login Check if the password is entered in encrypted

1. Enter valid username

2. Enter password

3. Click on Login Button

Valid email or username, valid password Password is entered in encrypted form
8 Signup Option for new users Check whether the signup link for the new user is working Click Signup link N/A After click on Signup link customer gets a message about successful subscription
9 Forgot Password Verify user should get an error message when he/she enters not registered email id.

1. Click on the Forgot password link

2. Enter unregistered email id and click on the send button

Invalid email User should get an error message
10 Reset Password Verify user should get an error message when he/she enters the previous password

1. Go to the reset password link

2. Enter the previous password

3. Click on the Reset Password button

Use an old password User should get an error message
11 Reset Password Verify user able to reset his/her password

1. Go to the reset password link

2. Enter a new password and a confirm password

3. Click on the Reset Password button

Create new password Users should get the success message and the password should get reset
12 Reset Password Verify user should get an error message when password and confirm password not matches

1. Go to the reset password link

2. Enter a different new password and a confirm password

3. Click on the Reset Password button

2 different passwords Users should get an error message
13 Reset Password Verify user should able to login with a new password

1. Go to the reset password link

2. Enter a new password and a confirm password

3. Click on the Reset Password button

4. Log in by using the new password

The new valid password User should able to login
14Welcome Email Verify new users should get the welcome email once after the login

1. Go to the Email

2. Enter Login Email

N/A Users should get a welcome email on his/her email id
15 User Forgot Password Verify that clicking Forgot Password button, sends a forgot password link

1. Click on the Forgot Password link

2. Enter Email and click on the send button

3. Go to mail and enter the email id

Valid email id User should get the forgot password link on his/her email id

Column “Actual result” is used to write the actual test result. Please notice that you may need to repeat the same test several times on different devices (laptop, mobile, tablet).

Column “Comments” is used to write any information that may help to reproduce tests (data, passwords, special options, etc.). Also if the actual test result is Fail it could be used for entering the ticket number which QA creates for the defect.

Please keep in mind that the presented table is just an example and this is not a full list of possible test cases for the registration page.

WRITTEN BY: Alex Kulko, Speroteck QA team

More posts
EVENTS
23 October 2025

Nervous exhaustion in IT specialists: when your brain says “Enough”?

EVENTS
8 October 2025

Some interesting webinars and conferences in October.

logo

Tailored Solutions for Online Success

  • Case Studies
  • Social Responsibility
  • Careers
  • Services
  • eCommerce Solutions
  • Managed Services
  • Platforms
  • Important tools
  • eCommerce SEO
  • New Website Cheklist
  • Blog
  • Login
  • Contact us

Follow us

Contacts

Speroteck, Inc
604 Banyan Trail #812672
Boca Raton, FL 33431-2672
  • Internships
  • Privacy Policy
  • Sitemap
© 2025 Speroteck, All Rights Reserved. Designed with love by Speroteck.

Jon H.PRINCE

President CandyFavorites.com

CandyFavorites.com, the Internet’s First Candy Store, backed by McKeesport Candy Co., the Oldest Wholesale Candy Company in the nation, has utilized. Speroteck for several years for almost all of our programming needs.

Speroteck has handled various issues, from technical troubleshooting to security issues to module implementation as well as a complete and highly complicated re-platforming effort. In every circumstance, the work is done with attention to detail and courtesy throughout. And there has never been a time when an urgent issue wasn’t addressed promptly, whether day or night, weekday or weekend.

On a personal level, I have developed a strong level of trust in the programmers and a personal friendship with the owners. Both are rarities in today’s day and age of impersonal outsourced programming.
Long-term relationships are essential to my 97 years old company, and we have been fortunate to use Speroteck for most of our time as an online merchant. They have shown flexibility in the ever-changing demands of online commerce and are one of the few programming outfits that truly “practice what they preach.”

John Maguire

President | CEO CruiseDirect.com

I am writing to express my sincere gratitude for the excellent service Speroteck has provided to our company. Your team of server administrators has been incredibly reliable, monitoring our systems 24/7 365 days a year. They have proactively prevented hacking of our site and have also worked on bugs to keep our site running smoothly.

I am particularly impressed by your team’s ability to quickly identify and resolve issues. On one occasion, our site was experiencing intermittent outages. Your team was able to quickly identify the cause of the problem and implement a fix within a matter of hours. This level of responsiveness has been invaluable to our company, as it has allowed us to avoid any major disruptions to our business.

In addition to their technical skills, your team is also very professional and easy to work with. They are always available to answer our questions and provide us with guidance. I have no doubt that your team will continue to provide us with the high level of service that we have come to expect.

Thank you again for your outstanding work. I would highly recommend Speroteck to anyone looking for a reliable and trustworthy server administrator vendor.

Sincerely

Joy Woodruff

ECommerce Director SoundOfTristate.com

We had an open source Magento store and it needed major overhauls, as well as updates for security and more. We had a bad experience with a developer prior to finding Speroteck and we were very nervous that we would run into the same issues with responsiveness and sloppy code which cost us more money and time in the long run. We took a chance on hiring Speroteck to provide us with support in this area.

They proved their expertise by providing top quality code, thorough testing, and seamless updates from our previous website. Their communication along with managing timelines is a big strong point. They worked with our host and let us know step by step, hour by hour their progress. Everything went smoothly. Now we use them for various compliance updates, as well as design changes that we need. They not only take direction well, they also make suggestions based on experience that are vital in the flow of our site.

Tom Altman

Director of Technology Spotix.com

Before partnering with Speroteck, we faced a two-fold challenge. First, we needed a reliable team to maintain our webserver. Second, our in-house developer was swamped and needed backup. Enter Speroteck – a company with a culture that genuinely cares about our success.

The working process with Speroteck is refreshingly straightforward. For day-to-day tasks, their ticketing portal is a breeze. For larger projects, we collaborate on a scope document and hold meetings to ensure everyone’s on the same page. It’s like having an extra set of skilled hands without the hassle of micromanagement.

One of the most impressive aspects of our partnership has been the results. We’ve tackled big projects that would’ve been impossible without Speroteck’s support. As our own team has seen developers come and go, Speroteck has been the consistent force we can always count on.

Their expertise is top-notch. They know our platforms inside and out, allowing us to get to the root of problems and find solutions at warp speed. It’s not just about getting the job done; it’s about doing it well and doing it efficiently.

In the long run, what stands out the most is their consistency. We know we can rely on Speroteck whenever we need to get something done. They’re not just another vendor; they’re more like colleagues who are invested in our success.

Would I recommend Speroteck? Absolutely. They’re not just in it for the paycheck; they genuinely care about their clients. Working with them feels less like a job and more like a partnership aimed at mutual success.

Ihor P. since 2013

Sr. Developer

I wanted to take a moment to share my heartfelt testimonial and express my utmost gratitude for the incredible journey I am having with Speroteck.
The absolute highlight of my time at Speroteck has been the unwavering big family spirit and collaboration that permeates everything and everyone. From the very beginning, when I came as an absolute rookie, with zero coding knowledge, I was immediately treated almost as a family member. There were no moment when I was left in need, without knowing what to do. Someone would always help out there. I try to maintain that tradition and never refuse if anyone needs my help.
It’s been almost 10 years since I made my first step onboard of Speroteck. And I believe due to huge support I am what I am now. It’s been a pleasant path from intern to someone considered a senior developer. I am grateful for the opportunities our company provided me. I was always onboard with interesting projects and experienced people at the beginning of my journey. I do remember my first commercial project, which was a Samsonite website along with other sub-brands. I still remember how happy I was to see an actual store in the mall. I was chatting to my friends as a kid. “Look, Look I am working with that brand”. Nowadays, when I have more that 50 projects behind my back, it is always causing warm feelings to relive these precious moments.
I do like at most, that people are treated extremely well in Speroteck. We are not just lines in a report for our management, but alive persons. Our needs and desires are respected. There are always some events to keep people inspired and bound together. The most hard-working ones could get valuable personal rewards. That was also an excellent incentive for staff. And corporate parties were the best summary to any hard year.
If I have to speak of any challenging and satisfactory project, there will be no better example than “Kate Spade”. It was a very complicated one, totally destroyed, with strict deadlines. But I believe we did our best to get that project back on track, and now you can still see that one up and running. Another great example is “Mary Kay”. We did not need to save this website, it was immediately in a good shape. However, I have never seen a more complicated website. It was an outstanding place to put my skill to check.
Thanks to Speroteck I am able to have a decent life. I am not a big dreamer, but I have all I need for a happy being. Because of remote work, I can spend more time with family. I am still on the track of some financial achievements, but I believe with Spero everything is possible. Big cudos to all my colleges and management.

Valentyn P.

Team Lead / Technical Architect

Working at Speroteck has been an incredible experience. Each day presents its unique challenges, but I find immense satisfaction in overcoming them, akin to winning a marathon. The company fosters a culture of continuous learning, allowing me to expand my professional horizons limitlessly. From the beginning, Speroteck has felt like a supportive family, contributing to its distinct and welcoming atmosphere. Each completed project is a significant team accomplishment, further enhancing the company’s reputation. Speroteck’s alignment with my goals and aspirations has been unparalleled, and I am dedicated wholeheartedly to the organization. I express my heartfelt gratitude for everything it has offered.

Alexander K.

Developer

The absolute highlight of my time at Speroteck has been the opportunity to work with some of the most talented and passionate individuals in the industry. From brainstorming sessions to team-building activities, every moment spent with the Speroteck team has been an epic story waiting to be told.

Being part of the Speroteck family has had a significant impact on my growth and professional aspirations. The company’s culture of continuous learning and development has helped me realize my potential and push myself beyond my limits. One “aha” moment for me was when I realized the importance of collaboration and teamwork in achieving success.

What sets Speroteck apart from the rest is its unwavering commitment to delivering exceptional results to its clients. The company’s focus on innovation, creativity, and customer satisfaction sets it apart from its competitors. Additionally, the company’s culture of inclusivity and diversity makes it a great place to work.

One project that made me go was Mary Kay. The team worked tirelessly to ensure that every aspect of the website was optimized for user experience and functionality. The end result was a stunning website that exceeded the client’s expectations and received rave reviews from users.

My journey with Speroteck has aligned perfectly with my personal goals and dreams. The company’s focus on innovation, creativity, and collaboration has helped me grow both personally and professionally. Working with such an amazing team has inspired me to pursue my passions and strive for excellence in everything I do.