Showing posts with label Test Cases. Show all posts
Showing posts with label Test Cases. Show all posts

Tuesday, July 1, 2025

Top 10 Manual Testing Scenarios Every Fresher Should Know

1️⃣ Login Functionality

Why it matters: Login pages are everywhere. Testing this helps ensure only valid users gain access.

  • Valid login with correct credentials
  • Log in with incorrect email/password
  • Blank email and password fields
  • Password masked while typing
  • “Remember Me” checkbox works properly

2️⃣ Registration Page

Why it matters: Sign-up forms are critical for user onboarding. Errors here could stop users from joining.

  • All mandatory fields checked
  • Email format validation
  • Password and Confirm Password match
  • Error message on existing email
  • Terms and conditions checkbox behaviour

3️⃣ Search Functionality

Why it matters: Good search features improve user experience and data discovery.

  • Search with a valid keyword returns results
  • Search with no keyword shows a message
  • Special characters handled correctly
  • Auto-suggestions work (if enabled)

4️⃣ Form Validation

Why it matters: Ensures data is captured correctly and safely before submission.

  • Mandatory fields cannot be skipped
  • Validations like email, phone number, etc.
  • Field limits and special character restrictions
  • Error messages are shown correctly

5️⃣ Add to Cart (e-Commerce)

Why it matters: For shopping applications, testing cart behaviour is critical.

  • Product added to cart successfully
  • Quantity updated correctly
  • Cart total updates automatically
  • Removing an item reflects immediately

6️⃣ Payment Gateway Testing

Why it matters: Payments are sensitive. Even minor issues can cost customers.

  • Valid credit/debit card payment success
  • Invalid card info shows proper error
  • Payment cancellation redirects properly
  • The transaction summary appears after success

7️⃣ Profile Management

Why it matters: Users expect to manage their profiles without bugs.

  • Edit profile data and save successfully
  • Blank or invalid data validation
  • Profile image upload works
  • Success and error messages display properly

8️⃣ File Upload and Download

Why it matters: A Common feature in resumes, reports, and certificates.

  • Upload supported file types only (e.g., .jpg, .pdf)
  • File size limit enforced
  • Download starts automatically or shows a preview
  • Security validation to prevent malicious uploads

9️⃣ Logout and Session Expiry

Why it matters: Essential for account security and user control.

  • The user should log out and be redirected to the login page
  • Session timeout after inactivity
  • Accessing the URL after logging out should show that the session has expired

๐Ÿ”Ÿ UI & Responsiveness Testing

Why it matters: First impression matters. The app must look and work great on all devices.

  • UI aligned properly (buttons, input fields, etc.)
  • Page loads correctly on different screen sizes
  • Mobile menu toggles work
  • No overlapping or cut text

๐Ÿ’ก Pro Tip:

Use a test case format to write these scenarios clearly. Include:

  • Test Case ID
  • Title
  • Steps
  • Test Data
  • Expected Result
  • Status (Pass/Fail)

๐Ÿ‘‹ Hi, I'm Suriya — QA Engineer with 4+ years of experience in manual, API & automation testing.

๐Ÿ“ฌ Contact Me | LinkedIn | GitHub

๐Ÿ“Œ Follow for: Real-Time Test Cases, Bug Reports, Selenium Frameworks.

How to Write Effective Test Cases – Real-time Examples Included

In this post, I’ll guide you step-by-step on how to write clear, reusable, and practical test cases, along with real-time examples and templates.


๐Ÿ“Œ What Is a Test Case?

A test case is a set of actions executed to verify a particular feature or functionality of your software application. Each test case includes test steps, expected results, inputs, and actual results.

๐ŸŽฏ Why Are Effective Test Cases Important?

  • ✅ Ensure coverage of all scenarios
  • ✅ Help developers understand the issue clearly
  • ✅ Speed up test execution and defect tracking
  • ✅ Make regression testing easier
  • ✅ Useful for training and future references

๐Ÿงฉ Components of a Good Test Case

Field Description
Test Case ID Unique identifier (e.g., TC_UI_001)
Test Case Title Short, meaningful description
Pre-Conditions Conditions that must be met before execution
Test Steps Clear steps to perform the test
Test Data Input data needed for the test
Expected Result What should happen after execution
Actual Result What actually happened
Status Pass / Fail / In Progress
Remarks Notes, screenshots, or references

๐Ÿ“˜ Real-Time Example: Login Functionality

Requirement: The User should be able to log in using a valid email and password. If credentials are invalid, show an error message.

✅ Test Case 1: Valid Login

  • Test Case ID: TC_LOGIN_001
  • Title: Login with valid credentials
  • Pre-Condition: User already has a registered account
  • Test Steps:
    1. Go to the Login page
    2. Enter a valid email
    3. Enter a valid password
    4. Click Login
  • Test Data: Email: user@example.com | Password: 123456
  • Expected Result: User should be redirected to the Dashboard
  • Actual Result: (To be filled after testing)
  • Status: Pass/Fail
  • Remarks: Screenshot attached if it failed

❌ Test Case 2: Invalid Password

  • Test Case ID: TC_LOGIN_002
  • Title: Login with invalid password
  • Pre-Condition: User already has a registered account
  • Test Steps:
    1. Go to the Login page
    2. Enter a valid email
    3. Enter the wrong password
    4. Click Login
  • Test Data: Email: user@example.com | Password: wrong123
  • Expected Result: Error message: "Invalid credentials"
  • Actual Result: (To be filled after testing)
  • Status: Pass/Fail

๐Ÿšซ Test Case 3: Blank Fields

  • Test Case ID: TC_LOGIN_003
  • Title: Login with blank email and password
  • Pre-Condition: None
  • Test Steps:
    1. Go to the Login page
    2. Leave email & password blank
    3. Click Login
  • Expected Result: Validation error messages displayed
  • Actual Result: (To be filled after testing)
  • Status: Pass/Fail

✅ Tips for Writing Better Test Cases

  • ✅ Keep test case steps simple and clear
  • ✅ Use consistent naming conventions
  • ✅ Focus on one functionality per test case
  • ✅ Include positive & negative test scenarios
  • ✅ Update your test cases regularly
  • ✅ Add screenshots or references if needed
  • ✅ Avoid repetition – use shared preconditions

๐Ÿงช Additional Scenarios to Cover (Same Login Module)

  • Log in with an unregistered email
  • Log in with SQL injection attempt
  • The login button is disabled without input
  • Login page responsiveness on mobile
  • Session timeout after login

๐Ÿ‘‹ Hi, I'm Suriya — QA Engineer with 4+ years of experience in manual, API & automation testing.

๐Ÿ“ฌ Contact Me | LinkedIn | GitHub

๐Ÿ“Œ Follow for: Real-Time Test Cases, Bug Reports, Selenium Frameworks.

Tuesday, July 9, 2024

High Priority and Low Severity Bugs in E-commerce Web Applications (With Examples)

1. Typo on the Checkout Confirmation Page
Description: A misspelled word on the checkout confirmation page.
Severity: Low
Priority: High

2. Logo Displaying Incorrectly on Homepage
Description: The company logo appears stretched or pixelated.
Severity: Low
Priority: High

3. Incorrect Customer Support Email Address on the Contact Us Page
Description: The email address provided for customer support is incorrect.
Severity: Low
Priority: High

4. Broken Social Media Links in Footer
Description: Links to social media pages in the footer are broken.
Severity: Low
Priority: High

5. Non-functional Promo Code Input Box
Description: The input box for promo codes in the checkout process does not work.
Severity: Low
Priority: High

๐Ÿ‘‹ Hi, I'm Suriya — QA Engineer with 4+ years of experience in manual, API & automation testing.

๐Ÿ“ฌ Contact Me | LinkedIn | GitHub

๐Ÿ“Œ Follow for: Real-Time Test Cases, Bug Reports, Selenium Frameworks.

High Severity Low Priority Bugs in E-Commerce Web Application

1. Payment Gateway Failure in Specific Currency
High Severity: Users cannot complete purchases using a particular currency.
Low Priority: This currency is rarely used by the customer base.
Technical: When users select a rarely used currency, the payment gateway integration fails due to incorrect API calls or missing currency configuration.
Simple: Users can't pay in a specific, rarely-used currency.

2. Crash When Filtering Products by a Rare Attribute
High Severity: The website crashes, disrupting user experience.
Low Priority: The attribute filter is rarely used by customers.
Technical: Filtering by an uncommon attribute triggers a crash, possibly due to a null reference or unhandled exception.
Simple: The site crashes when filtering by a rarely used feature.

3. Incorrect Discount Calculation for Bulk Orders
High Severity: Users are charged incorrect amounts.
Low Priority: Bulk orders are rare.
Technical: The discount logic has a bug when calculating bulk order discounts, leading to incorrect pricing.
Simple: Bulk orders get the wrong discounts.

4. Failure to Load Product Images on Secondary Pages
High Severity: Product images do not load, affecting user experience.
Low Priority: Occurs on less frequently visited pages.
Technical: Image URLs or CDN issues prevent images from loading on less-visited pages.
Simple: Product images don't show up on certain pages.

5. Inability to Apply Multiple Coupons on Checkout
High Severity: Users cannot avail of multiple discounts.
Low Priority: Only a few users use multiple coupons.
Technical: The checkout process doesn't handle multiple coupon codes due to a bug in the discount application logic.
Simple: Users can't use more than one coupon at a time.

6. Error in Wishlist Functionality for Out-of-Stock Items
High Severity: Users cannot add out-of-stock items to their wishlist.
Low Priority: Out-of-stock items are a small portion of the catalogue.
Technical: The wishlist feature crashes or misbehaves when adding out-of-stock items due to lack of proper handling.
Simple: Can't add out-of-stock items to a wishlist.

7. Mismatch in Product Specifications on Detailed View
High Severity: Detailed view shows incorrect specifications.
Low Priority: Rarely visited detailed specifications page.
Technical: The product detail page shows incorrect specs due to outdated or incorrect data fetching logic.
Simple: Wrong details are shown on the product page.

8. Search Function Fails for Long Strings
High Severity: Users can't search with long keywords.
Low Priority: Most users use short search queries.
Technical: Long search queries cause database or server errors, possibly due to input length limits or inefficient query handling.
Simple: Searching with long phrases doesn't work.

9. Incorrect Display of User Loyalty Points
High Severity: Users see the wrong loyalty points balance.
Low Priority: The loyalty points program has low participation.
Technical: The loyalty points calculation or display logic has errors, showing incorrect balances.
Simple: Users see the wrong loyalty points balance.

10. Failure to Load Reviews for Products with No Reviews
High Severity: Page crashes if a product has no reviews.
Low Priority: Most products have at least one review.
Technical: The review section crashes when there are no reviews, likely due to poor handling of empty datasets.
Simple: Page crashes if there are no reviews.

๐Ÿ‘‹ Hi, I'm Suriya — QA Engineer with 4+ years of experience in manual, API & automation testing.

๐Ÿ“ฌ Contact Me | LinkedIn | GitHub

๐Ÿ“Œ Follow for: Real-Time Test Cases, Bug Reports, Selenium Frameworks.

Saturday, April 27, 2024

Must-Have Security Test Cases for Your Web Application

1. Try to directly access the bookmarked web page without logging into the system.

2. Verify that the system should restrict you from downloading the file without signing in to the system.

3. Verify that previously accessed pages should not be accessible after logging out i.e. Sign out and then press the Back button to access the page accessed before.

4. Check the valid and invalid passwords, password rules say it cannot be less than 8 characters, user ID and password cannot be the same etc.

5. Verified that important i.e. sensitive information such as passwords, ID numbers, credit card numbers, etc should not be displayed in the input box when typing. They should be encrypted and in asterisk format.

6. Check Is bookmarking disabled on secure pages? Bookmarking Should be disabled on secure pages.

7. Check Is Right Click, View, Source disabled? The source code should not be visible to the user.

8. Check if your server locks out an individual who has tried to access your site multiple times with invalid login/password information?

9. Verify the timeout condition, after a timeout, the user should not be able to navigate through the site.

10. Check Are you prevented from doing direct searches by editing content in the URL?

11. Verify that the restricted page should not be accessible by a user after session time out.

12. ID/password authentication, the same account on different machines cannot log on at the same time. So at a time, only one user can log in to the system with a user ID.

13. ID/password authentication methods enter the wrong password several times and check if the account gets locked.

14. Add or modify important information (passwords, ID numbers, credit card numbers, etc.). Check if it gets reflected immediately or caching the old values.

15. Verify that the Error Message does not contain malicious info so that hackers will use this information to hack the website.

๐Ÿ‘‹ Hi, I'm Suriya — QA Engineer with 4+ years of experience in manual, API & automation testing.

๐Ÿ“ฌ Contact Me | LinkedIn | GitHub

๐Ÿ“Œ Follow for: Real-Time Test Cases, Bug Reports, Selenium Frameworks.

Thursday, February 1, 2024

Exploring the Different Types of Software Testing

 Overview of web app testing scope


1. Functional Testing


2. Usability Testing

3. Performance Testing


4. Security Testing


5. Compatibility Testing


6. Interface Testing


๐Ÿ‘‹ Hi, I'm Suriya — QA Engineer with 4+ years of experience in manual, API & automation testing.

๐Ÿ“ฌ Contact Me | LinkedIn | GitHub

๐Ÿ“Œ Follow for: Real-Time Test Cases, Bug Reports, Selenium Frameworks.

Wednesday, April 19, 2023

User Interface Test Cases: What You Need to Know

1. Navigation Test: 
  • Test the navigation bar or menu by clicking on each link or button to ensure that they take you to the correct page or section of the website or application.
2. Input Validation Test: 
  • Test the input fields, such as forms or search boxes, by entering valid and invalid data to ensure that the system handles the inputs correctly.
3. Button Test: 
  • Test all buttons on the UI to ensure they perform the intended actions and provide appropriate feedback, such as success or error messages.
4. Compatibility Test: 
  • Test the UI on different devices and browsers to ensure it is compatible with various screen sizes, resolutions, and operating systems.
5. Responsiveness Test: 
  • Test the UI for responsiveness by resizing the browser window or using device emulators to see how the UI adapts to different screen sizes.
6. Content Test: 
  • Test the UI for consistency and accuracy of content, including text, images, and multimedia.
7. Accessibility Test: 
  • Test the UI for accessibility compliance, ensuring that users with disabilities can access and use the UI without any issues.
8. Performance Test: 
  • Test the UI for performance by checking loading times, response times, and any delays or lags in the system.

๐Ÿ‘‹ Hi, I'm Suriya — QA Engineer with 4+ years of experience in manual, API & automation testing.

๐Ÿ“ฌ Contact Me | LinkedIn | GitHub

๐Ÿ“Œ Follow for: Real-Time Test Cases, Bug Reports, Selenium Frameworks.

Thursday, March 23, 2023

The Power of Headless Browser Testing: Enhancing Your QA Strategy

What is Headless Testing?
  • Headless testing is a method for evaluating a website’s or online application’s functionality without having to use a web browser. The test script simulates operations like clicking buttons and filling out form fields by sending commands directly to the website’s source code rather than engaging with it through the UI. As a result, testing may be done more quickly and effectively because there is no need to load a full web browser; the test script can instead run in the background.

Advantages of Headless Testing:
  1.  Speed of Execution: Headless tests run substantially quicker than tests executed on a real browser. The primary reason for this is that your tests aren’t having to start up a browser UI each time. This means they can avoid the time it takes a real browser to load JavaScript, CSS, and render HTML on a website. I’ve seen estimated execution time savings in the range of 7-15%.
  2.  CICD: Because it is so much quicker, it makes it ideal for continuous integration and delivery (CI/CD) pipelines.
  3.  Server Testing: It can also be helpful for testing web applications in contexts without a UI, such as servers.
  4.  Multi-Tasking: The test script can run in the background and finish tests more rapidly because it does not need to open a full web browser.
  5.  Shift-Left: Because it runs so much quicker than real browser testing, you can get the results of your testing much faster.

Disadvantages of Headless Testing:
  1.  User Experience: Headless testing may not always correctly imitate the user experience, which is one potential problem. The test script may not always correctly reflect how a user would actually interact with the website or web application because it is engaging directly with the source code rather than through a UI.
  2.  UX or Visual Design: Additionally, headless testing might not be able to completely test specific features of a website or web application, including the user interface or visual design.
  3.  Debugging: Debugging with headless can be challenging. Typically you will need to run the traditional way to get to the bottom of failures.
  4.  Real-time test execution visual: When running headless you don’t get the option to watch your test running on the UI.

Headless Testing Use Cases:
  •  Simulating multiple browsers on a single machine.
  •  Running tests on a headless system without a UI.
  •  Element testing – since headless browsers render and interpret CSS & HTML like a real browser, you can use them to test style elements such as buttons, forms, links, etc…
  •  Extracting values from a page/scraping.
  •  Extracting a PDF.
  •  Generate test data.
  •  Performance issues such as SSL, front- and back-end code, and load considerations, as well as non-graphic elements such as response time, error handling, and access to remote resources, can all be evaluated using headless testing.

Common Headless Browsers:
  •  For headless testing, a number of tools and frameworks are available, including Headless Chrome, PhantomJS, HtmlUnit, Firefox, Puppeteer, and Splinter. These tools allow you to create and execute test scripts in a number of different computer languages, such as Java, Python, and JavaScript.

๐Ÿ‘‹ Hi, I'm Suriya — QA Engineer with 4+ years of experience in manual, API & automation testing.

๐Ÿ“ฌ Contact Me | LinkedIn | GitHub

๐Ÿ“Œ Follow for: Real-Time Test Cases, Bug Reports, Selenium Frameworks.

Wednesday, March 22, 2023

Essential Points to Include in Your Checklist for Testing a Web Application

PDF - Testing of Web Application

๐Ÿ‘‹ Hi, I'm Suriya — QA Engineer with 4+ years of experience in manual, API & automation testing.

๐Ÿ“ฌ Contact Me | LinkedIn | GitHub

๐Ÿ“Œ Follow for: Real-Time Test Cases, Bug Reports, Selenium Frameworks.

Thursday, March 16, 2023

OTP Code Verification: How to Test for Every Scenario

  1. Verify for verification whether valid and correct OTP is generated or not.
  2. Verify OTP code should be valid only for one time or not.
  3. Verify the count for the OTP code generated should not be more than required.
  4. Test the count for the OTP code generated should not be less than required.
  5. Verify OTP code is sent to the user successfully or not within time or not.
  6. Verify and confirm the time duration in which the user received the OTP-generated code sent by email.
  7. Check the time duration for the OTP-generated code received by the user on mobile.
  8. Verify the OTP code fetched by the application from the message by default or user add manually. It depends on the requirements.
  9. Verify by adding the valid OTP application that must accept the code successfully.
  10. Confirm whether the correct info message is shown or not in case if the User adds a valid OTP code.
  11. Verify a proper error message should be shown in case if the user adds an invalid OTP code.
  12. Verify OTP code should expire after the time allowed by the application or software.
  13. Verify application should not accept the OTP code once expired.
  14. Verify the user can request a new OTP code by clicking on the link or button to resend the code.
  15. Verify on again request on clicking on the Resend link OTP code should be sent to the user successfully or not.
  16. Verify whether the user should be temporarily blocked or not in case it requests for new OTP code again and again.
  17. Verify whether the limit is set for the OTP code to resend multiple times or not. (For example, a maximum of five attempts is allowed per user)
  18. Verify OTP code is case-sensitive or Not.
  19. Verify OTP code is only numeric or alphanumeric.

๐Ÿ‘‹ Hi, I'm Suriya — QA Engineer with 4+ years of experience in manual, API & automation testing.

๐Ÿ“ฌ Contact Me | LinkedIn | GitHub

๐Ÿ“Œ Follow for: Real-Time Test Cases, Bug Reports, Selenium Frameworks.

Email Field Testing: Tips and Best Practices for Effective Results

 Design-related Test Cases:
  1.  Verify email field is present on the page.
  2.  Verify whether the label text is shown with the email field or not.
  3.  Verify label text email align with the email field.
  4.  Verify that the placeholder text in the email field is added or not.

Functional Test Cases:
  1.  Verify email address field is accessible by clicking on the email field.
  2.  Check users can type email in the email field.
  3.  Verify user can paste the email address in the field by keyboard keys Ctrl + v.
  4.  Verify that the user can paste the email address with the mouse by right-clicking in the email field and pasting the email address.
  5.  Verify validation for the email field is implemented or not.
  6.  Verify whether an error message should be shown in case if the user adds an invalid email address or not.

Positive Test Cases:
  1.  Validate the email field by entering a valid email address. (abc@gmail.com)
  2.  Verify the email must contain @ in the email address.
  3.  Verify that an email field accepts an email containing a plus + sign in the Email address.
  4.  Verify whether an email field validates an email address containing a domain or not. (abc@gmail.com)
  5.  Make sure there should dot present in the email address or not.
  6.  Verify an email address should be considered correct if an email contains a subdomain.
  7.  Check that an email address has a maximum of 2 dots in the case of the subdomain.
  8.  Verify an email address containing a special character consider valid.
  9.  Verify an email address having numbers is valid.
  10.  An email address with quotes ” ” should consider valid.
  11.  An email address may contain a dash – or underscore _.


๐Ÿ‘‹ Hi, I'm Suriya — QA Engineer with 4+ years of experience in manual, API & automation testing.

๐Ÿ“ฌ Contact Me | LinkedIn | GitHub

๐Ÿ“Œ Follow for: Real-Time Test Cases, Bug Reports, Selenium Frameworks.