Test Cases Example for Web Application (Checklist) (2023)

ByThomas HamiltonUpdated

While testing the web applications, one should consider the below mentioned template. The below mentioned checklist is almost applicable for all types of web applications depending on the business requirements.

Now let’s look each checklist in detail:

Usability Testing

What is Usability Testing?

  • Usability testing is nothing but the User-friendliness check.
  • In Usability testing, the application flow is tested so that a new user can understand the application easily.
  • Basically, system navigation is checked in Usability testing.

What is the purpose or Goal of Usability testing?

A Usability test establishes the ease of use and effectiveness of a product using a standard Usability test practices.

Example Usability Test Cases

  • Web page content should be correct without any spelling or grammatical errors
  • All fonts should be same as per the requirements.
  • All the text should be properly aligned.
  • All the error messages should be correct without any spelling or grammatical errors and the error message should match with the field label.
  • Tool tip text should be there for every field.
  • All the fields should be properly aligned.
  • Enough space should be provided between field labels, columns, rows, and error messages.
  • All the buttons should be in a standard format and size.
  • Home link should be there on every single page.
  • Disabled fields should be grayed out.
  • Check for broken links and images.
  • Confirmation message should be displayed for any kind of update and delete operation.
  • Check the site on different resolutions (640 x 480, 600×800 etc.?)
  • Check the end user can run the system without frustration.
  • Check the tab should work properly.
  • Scroll bar should appear only if required.
  • If there is an error message on submit, the information filled by the user should be there.
  • Title should display on each web page
  • All fields (Textbox, dropdown, radio button, etc) and buttons should be accessible by keyboard shortcuts and the user should be able to perform all operations by using keyboard.
  • Check if the dropdown data is not truncated due to the field size. Also, check whether the data is hardcoded or managed via administrator.

Functional Testing

What is Functional Testing?

(Video) how to write test cases for web site (web based application)| test scenarios for website testing

  • Testing the features and operational behavior of a product to ensure they correspond to its specifications.
  • Testing that ignores the internal mechanism of a system or component and focuses solely on the outputs generated in response to selected inputs and execution conditions.

What is the purpose or Goal of Functional testing?

  • The goal of Functional Testing is to verify whether your product meets the intended functional specifications mentioned in your development documentation.

Example Functional Test Scenarios:

  • Test all the mandatory fields should be validated.
  • Test the asterisk sign should display for all the mandatory fields.
  • Test the system should not display the error message for optional fields.
  • Test that leap years are validated correctly & do not cause errors/miscalculations.
  • Test the numeric fields should not accept the alphabets and proper error message should display.
  • Test for negative numbers if allowed for numeric fields.
  • Test division by zero should be handled properly for calculations.
  • Test the max length of every field to ensure the data is not truncated.
  • Test the pop up message (“This field is limited to 500 characters”) should display if the data reaches the maximum size of the field.
  • Test that a confirmation message should display for update and delete operations.
  • Test the amount values should display in currency format.
  • Test all input fields for special characters.
  • Test the timeout functionality.
  • Test the Sorting functionality.
  • Test the functionality of the buttons available
  • Test the Privacy Policy & FAQ is clearly defined and should be available for users.
  • Test if any functionality fails the user gets redirected to the custom error page.
  • Test all the uploaded documents are opened properly.
  • Test the user should be able to download the uploaded files.
  • Test the email functionality of the system.
  • Test the Java script is properly working in different browsers (IE, Firefox, Chrome, safari and Opera).
  • Test to see what happens if a user deletes cookies while in the site.
  • Test to see what happens if a user deletes cookies after visiting a site.
  • Test all the data inside combo/list box is arranged in chronological order.

Compatibility Testing

What is Compatibility testing?

  • Compatibility testing is used to determine if your software is compatible with other elements of a system with which it should operate, e.g. Browsers, Operating Systems, or hardware.

What is the purpose or Goal of Compatibility testing?

  • The purpose of Compatibility testing is to evaluate how well software performs in a particular browser, Operating Systems, hardware or software.

Sample Compatibility Test Scenarios:

(Video) Session 20 - UI Testing Checklist (GUI) - Part 1

  • Test the website in different browsers (IE, Firefox, Chrome, Safari and Opera) and ensure the website is displaying properly.
  • Test the HTML version being used is compatible with appropriate browser versions.
  • Test the images display correctly in different browsers.
  • Test the fonts are usable in different browsers.
  • Test the java script code is usable in different browsers.
  • Test the Animated GIF’s across different browsers.

Database Testing

What is Database Testing?

  • In Database testing backend records are tested which have been inserted through the web or desktop applications. The data which is displaying in the web application should match with the data stored in the Database.

To perform the Database testing, the tester should be aware of the below mentioned points:

  • The tester should understand the functional requirements, business logic, application flow and database design thoroughly.
  • The tester should figure out the tables, triggers, store procedures, views and cursors used for the application.
  • The tester should understand the logic of the triggers, store procedures, views and cursors created.
  • The tester should figure out the tables which get affected when insert update and delete (DML) operations are performed through the web or desktop applications.

With the help of the above mentioned points, the tester can easily write the test scenarios for Database testing.

Example Test Cases for Database Testing:

  • Verify the database name: The database name should match with the specifications.
  • Verify the Tables, columns, column types and defaults: All things should match with the specifications.
  • Verify whether the column allows a null or not.
  • Verify the Primary and foreign key of each table.
  • Verify the Stored Procedure:
  • Test whether the Stored procedure is installed or not.
  • Verify the Stored procedure name
  • Verify the parameter names, types and number of parameters.
  • Test the parameters if they are required or not.
  • Test the stored procedure by deleting some parameters
  • Test when the output is zero, the zero records should be affected.
  • Test the stored procedure by writing simple SQL queries.
  • Test whether the stored procedure returns the values
  • Test the stored procedure with sample input data.
  • Verify the behavior of each flag in the table.
  • Verify the data gets properly saved into the database after each page submission.
  • Verify the data if the DML (Update, delete and insert) operations are performed.
  • Check the length of every field: The field length in the back end and front end must be same.
  • Verify the database names of QA, UAT and production. The names should be unique.
  • Verify the encrypted data in the database.
  • Verify the database size. Also test the response time of each query executed.
  • Verify the data displayed on the front end and make sure it is same in the back end.
  • Verify the data validity by inserting the invalid data in the database.
  • Verify the Triggers.

What is Security Testing?

Security Testing involves the test to identify any flaws and gaps from a security point of view.

Intruder

Intruder is a powerful vulnerability scanner that will help you uncover the many weaknesses lurking in your web applications and underlying infrastructure. Offering industry-leading security checks, continuous monitoring and an easy-to-use platform, Intruder keeps businesses of all sizes safe from hackers.

(Video) ETL Test Case, Testing, Checklist for Example Project

Test Cases Example for Web Application (Checklist) (1)

Features

  • Best-in-class threat coverage with over 10,000 security checks
  • Checks for configuration weaknesses, missing patches, application weaknesses (such as SQL injection & cross-site scripting) and more
  • Automatic analysis and prioritisation of scan results
  • Intuitive interface, quick to set-up and run your first scans
  • Proactive security monitoring for the latest vulnerabilities
  • AWS, Azure, and Google Cloud connectors
  • API integration with your CI/CD pipeline

Visit Intruder >>

Sample Test Scenarios for Security Testing:

  • Verify the web page which contains important data like password, credit card numbers, secret answers for security question etc should be submitted via HTTPS (SSL).
  • Verify the important information like password, credit card numbers etc should display in encrypted format.
  • Verify password rules are implemented on all authentication pages like Registration, forgot password, change password.
  • Verify if the password is changed the user should not be able to login with the old password.
  • Verify the error messages should not display any important information.
  • Verify if the user is logged out from the system or user session was expired, the user should not be able to navigate the site.
  • Verify to access the secured and non-secured web pages directly without login.
  • Verify the “View Source code” option is disabled and should not be visible to the user.
  • Verify the user account gets locked out if the user is entering the wrong password several times.
  • Verify the cookies should not store passwords.
  • Verify if, any functionality is not working, the system should not display any application, server, or database information. Instead, it should display the custom error page.
  • Verify the SQL injection attacks.
  • Verify the user roles and their rights. For Example, the requestor should not be able to access the admin page.
  • Verify the important operations are written in log files, and that information should be traceable.
  • Verify the session values are in an encrypted format in the address bar.
  • Verify the cookie information is stored in encrypted format.
  • Verify the application for Brute Force Attacks

What is Performance Testing?

Performance Testing is conducted to evaluate the compliance of a system or component with specified performance requirements.

General Test scenarios:

  • To determine the performance, stability and scalability of an application under different load conditions.
  • To determine if the current architecture can support the application at peak user levels.
  • To determine which configuration sizing provides the best performance level.
  • To identify application and infrastructure bottlenecks.
  • To determine if the new version of the software adversely had an impact on response time.
  • To evaluate product and/or hardware to determine if it can handle projected load volumes.

How to do Performance testing? By Manual Testing or by Automation

(Video) Testing Web Applications | Web Application Testing Tutorial | Web App Testing

Practically it is not possible to do the Performance Testing manually because of some drawbacks like:

  • More number of resources will be required.
  • Simultaneous actions are not possible.
  • Proper system monitoring is not available.
  • Not easy to perform the repetitive task.

Hence to overcome the above problems we should use Performance Testing tool. Below is the list of some popular testing tools.

  • Apache JMeter
  • Load Runner
  • Borland Silk Performer.
  • Rational Performance Tester
  • WAPT
  • NEO LOAD

You Might Like:

  • What is Software Testing? Definition
  • 7 Principles of Software Testing with Examples
  • V-Model in Software Testing
  • STLC (Software Testing Life Cycle) Phases, Entry, Exit Criteria
  • Manual Testing Tutorial: What is, Types, Concepts

FAQs

How do you write a good test case describe your answer? ›

Be clear, concise, and assertive in describing what the tester needs to do and what results they should ideally get. Focus on End-User requirements when writing sample test cases. Map test cases to reflect every aspect of the user journey. Use the Specifications Document and the Requirements Document to do so.

What is test case checklist? ›

It is simply a catalog of tasks that you record for easier tracking. A software test checklist details the tests that you should run in a specific procedure. Using a software test checklist allows you to identify all the tests you should run, the number of successful and failed tests.

What is web application checklist? ›

A Complete Web Application Testing Checklist | BrowserStack. An illustration of BrowserStack Logo. An illustration of test your websites logo Test your websites. An illustration of Live Product logo An illustration of Live Product logo. An illustration of Automate Product logo An illustration of Automate Product logo.

What are the top 5 five concerns on web application testing? ›

Below are five web application testing challenges faced by web developers during the development process.
  • Integration. Integration testing exposes problems with interfaces among different program components before deployment. ...
  • Interoperability. ...
  • Security. ...
  • Performance. ...
  • Usability. ...
  • Quality Testing, Exceptional Services.

What are test cases give example? ›

For a Test Scenario: Check Login Functionality there many possible test cases are: Test Case 1: Check results on entering valid User Id & Password. Test Case 2: Check results on entering Invalid User ID & Password. Test Case 3: Check response when a User ID is Empty & Login Button is pressed, and many more.

What are the 4 qualities of a test case? ›

An effective test case design will be:
  • Accurate, or specific about the purpose.
  • Economical, meaning no unnecessary steps or words are used.
  • Traceable, meaning requirements can be traced.
  • Repeatable, meaning the document can be used to perform the test numerous times.

What are the 5 qualities of a good test? ›

  • What Are the Qualities of Good Assessment? Reliability or Consistency. How to Make Sure Your Test Is Reliable? Validity. Objectivity. Comprehensiveness. Absence of Ambiguity. Preparation.
  • Appropriateness of Time.
15 Dec 2021

What is checklist best testing? ›

Checklist-based testing definition

Checklist-based testing is a method of software testing that is based on the testing engineer's experience and requires a checklist to be created as the tests progress.

What is the difference between test case and checklist? ›

Checklists are simplified versions of test cases, which aim to cover all user actions that are possible within a given functionality. Checklists provide a shorthand way of writing the functionality, putting the core action at the top. It's thus much more easy to write a checklist item than a test case.

What are the main 5 required elements of a test case? ›

They are developed for various scenarios so that testers can determine whether the software is working the way it should and producing the expected results. The test case should include its number, a description, the test data, expected result, actual result and status (whether the test passed or failed).

What is a checklist question? ›

Most surveys of customers, employees or the like use what are called “checklist questions”. It's a good name since it is what it says. We present a list of options to the respondent and ask which ones fit the respondent. They're also known as multiple choice questions.

How do you write a checklist document? ›

Checklist: Planning a Document
  1. Determine your document's purpose.
  2. Plan your document's design to support this purpose.
  3. Identify your document's audience.
  4. Identify your audience's expectations.
  5. Decide what format your document will require (include layout, margins, line spacing, font styles, etc.).

How do I start a website checklist? ›

Website Launch Checklist
  1. Make sure your SSL certificate works.
  2. Update your CMS to the latest version.
  3. Set up a backup solution.
  4. Integrate an analytics solution.
  5. Make sure all pages you need are in place.
  6. Prepare for 404s.
  7. Test your site's navigation and internal links.
  8. Proofread your content and copy.
20 Dec 2021

How do I make a website checklist for a client? ›

The Pre-Project Website Design Checklist (for the Client)
  1. Domain Names. Do you have a list of all relevant domain names? ...
  2. Site Security. Does your website require an SSL? ...
  3. Target Audience. ...
  4. Keywords/SEO. ...
  5. Audit Existing Content. ...
  6. Site Structure. ...
  7. Creating New Content. ...
  8. Existing Site Assets and Functionality.
19 Sept 2018

What is checklist based technique? ›

An experience-based test design technique whereby the experienced tester uses a high-level list of items to be noted, checked, or remembered, or a set of rules or criteria against which a product has to be verified.

What are the 2 threats to web applications? ›

The top web application security risks

In 2021, this list included: Broken Access Control – Present in nearly one in 25 applications OWASP tested. Cryptographic Failures – A root cause of sensitive data exposure. Injection – Attackers inject malicious code into SQL queries or commands.

Can you tell a few scenarios for testing a web application? ›

Sample Compatibility Test Scenarios:

Test the HTML version being used is compatible with appropriate browser versions. Test the images display correctly in different browsers. Test the fonts are usable in different browsers. Test the java script code is usable in different browsers.

What is simple test case? ›

The test case is defined as a group of conditions under which a tester determines whether a software application is working as per the customer's requirements or not. Test case designing includes preconditions, case name, input conditions, and expected result.

Where can I write test cases? ›

It is possible to create and group test cases into test suites in any text editor, in the form of a table or as a folder with files. Nevertheless, it will be better to use a special application for these purposes.

How do you write test cases for a website like Google? ›

Search Scenarios
  1. Search results displayed should be relevant to search keyword.
  2. % sign in search keyword should not redirect to 404 ERROR.
  3. Application should not crash if user inserted % in search field.
  4. When user start typing word in text box it should suggest words that matches typed keyword.

What are the 7 testing principles? ›

The seven principles of testing
  • Testing shows the presence of defects, not their absence. ...
  • Exhaustive testing is impossible. ...
  • Early testing saves time and money. ...
  • Defects cluster together. ...
  • Beware of the pesticide paradox. ...
  • Testing is context dependent. ...
  • Absence-of-errors is a fallacy.

What is a successful test case? ›

“(1) A set of test inputs, execution conditions, and expected results developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement.

What is validity of a test? ›

Validity refers to whether a test measures what it aims to measure. For example, a valid driving test should include a practical driving component and not just a theoretical test of the rules of driving.

What is the most important feature of a test? ›

Validity is the most important issue in selecting a test. Validity refers to what characteristic the test measures and how well the test measures that characteristic. Validity tells you if the characteristic being measured by a test is related to job qualifications and requirements.

What is a reliability test? ›

Abstract. The reliability of test scores is the extent to which they are consistent across different occasions of testing, different editions of the test, or different raters scoring the test taker's responses.

What are the two types of checklist? ›

Here are five types of checklists you can use to make your workplace safer and more efficient:
  • To-do Checklists. This is the most common type of checklist. ...
  • Training Checklists. ...
  • Task Checklist. ...
  • Troubleshooting Checklist. ...
  • Coordination Checklists.

What are the six steps of the basic checklist? ›

6 Steps to Creating a Checklist
  • Step 1: Identify “Stupid Mistakes” That Cause Failure. ...
  • Step 2: Seek Additional Input From Others. ...
  • Step 3: Create Simple “Do” Steps. ...
  • Step 4: Create Simple “Talk” Steps. ...
  • Step 5: Test The Checklist. ...
  • Step 6: Refine the Checklist.
13 Mar 2017

How do I check my website checklist? ›

Your 25-point website launch checklist
  1. Check for little errors. Don't make the mistake of having a typo on a key page. ...
  2. Make sure you have a contact page. ...
  3. Set up Google Analytics. ...
  4. Test your site's usability. ...
  5. Make sure your navigation works. ...
  6. Check for mobile-friendliness. ...
  7. Review browser compatibility. ...
  8. Run compatibility testing.
8 Sept 2022

When should you use a checklist? ›

You can use a checklist in the following situations:
  • Tasks that you need to complete in a specific order.
  • Business Process Management.
  • Activities that are of a series of steps, each of which is equally important.
  • Implementing Standard Operating Procedures (SOP)
  • Carrying out an inspection & Health and Safety procedures.

What is the purpose of checklist? ›

A checklist is a standardized list of required steps developed usually for repetitive tasks. It provides several benefits. It helps people stay more organized, assuring them they will not skip any important step in the process. A checklist motivates us to take action and complete tasks.

Is checklist a quality tool? ›

While a valuable tool in itself, a checklist is just that – a 'check' the 'list' of items/processes that need to be done. Key items of a process can be documented and used to ensure the repetitive quality of the operation.

What are the 3 phases of the test? ›

The three-phase test pattern

First, you set some stuff up (“Arrange”) Then, you do something (“Act”) Then, you make sure that what you expected to happen, actually happened. (“Assert”)

What are the 3 stages of test taking? ›

Many students think successful test taking is all about what happens before the test, but in truth, it's actually a process that includes 3 stages: Before, During, and After the Test.

What is checklist list? ›

A checklist is a list of all the things that you need to do, information that you want to find out, or things that you need to take somewhere, which you make in order to ensure that you do not forget anything.

What are checklist items? ›

Checklist items are the requirements. Checklists and checklist items can include the specific projects and tasks that are to be implemented to achieve the score for the checklist item.

Do you confirm checklist? ›

A Do-Confirm checklist covers tasks you complete from memory. Pilots use a Do-Confirm checklist to ensure they haven't overlooked anything such as checking the right instruments or locking the plane's brakes.

How many items should be on a checklist? ›

A checklist should be short and accurate. Adding too many items to a list can make it hard to complete. So, try to have only five items but less than ten items on a list as Gawande suggested in his research. Each item on a checklist should be integral to helping employees meet their goals.

What is the best application to create a checklist? ›

Best online daily checklist apps
  • Toggl Plan. Toggl Plan is a beautifully simple work management tool. ...
  • Google Keep. Google Keep is a free checklist app that helps you manage notes and checklists using a simple interface. ...
  • Trello. ...
  • ProcessStreet. ...
  • Todoist. ...
  • Any.do. ...
  • TickTick.
12 Sept 2022

How do I copy and paste a checklist? ›

In order to copy the checklist to the clipboard, open the "..." menu and select Copy checklist option: The checklist copied to the clipboard can be pasted with CTLR+V into any text editor. The checklist is copied to the clipboard as multiline text where each line represents separate checklist item.

Can I create a checklist in Word? ›

The first step in creating a checklist in MS Word is to activate the Developer Tab. It is switched off by default. To activate it, open the File tab and click on Options. Under the Customize Ribbon settings, locate the Developer tab and click on the check-box next to it.

What type of tests you perform on the web based application? ›

  • What Are the Types of Web Application Testing?
  • Testing the Functionality and Features.
  • Testing Web APIs.
  • Testing the Database.
  • Testing for Regressions.
  • Testing for Cross-Compatibility With Browsers, Operating Systems and Mobile Devices.
  • Testing the UI and Visual Elements.
  • Testing for web security.

What is testing approach for web based application? ›

Web app testing is a software testing practice that ensures the application's functionality and quality as per the requirements. Before delivery, web testing must identify all underlying issues, such as security breaches, integration issues, functional inconsistencies, environmental challenges, or traffic load.

What is a test case in web development? ›

A test case is a set of actions performed on a system to determine if it satisfies software requirements and functions correctly.

What are the four 4 types of systems tests? ›

There are four main stages of testing that need to be completed before a program can be cleared for use: unit testing, integration testing, system testing, and acceptance testing.

What are 3 types of testing and 3 types of testing environments? ›

What Are the Different Types of Testing Environments?
  • Performance Testing Environment. ...
  • System Integration Testing (SIT) ...
  • User Acceptance Testing (UAT) ...
  • Quality Assurance (QA) ...
  • Security Testing. ...
  • Chaos Testing. ...
  • Alpha Testing. ...
  • Beta Testing.
7 Aug 2022

What is web application give examples? ›

Web applications include online forms, shopping carts, word processors, spreadsheets, video and photo editing, file conversion, file scanning, and email programs such as Gmail, Yahoo and AOL. Popular applications include Google Apps and Microsoft 365.

What are the 5 testing methods? ›

There are many different types of testing, but for this article we will stick to the core five components of testing:
  • 1) Unit Tests. ...
  • 2) Integration/System Tests. ...
  • 3) Functional Tests. ...
  • 4) Regression Tests. ...
  • 5) Acceptance Tests.
6 Jun 2017

What are the 3 main testing strategies used in software testing? ›

The test strategy describes the test level to be performed. There are primarily three levels of testing: unit testing, integration testing, and system testing. In most software development organizations, the developers are responsible for unit testing.

Which application is best for testing? ›

Best Mobile App Automation Testing Tools
  • Selendroid: ...
  • Robotium: ...
  • Espresso: ...
  • UI Automator: ...
  • Frank: ...
  • Ranorex: ...
  • EarlGrey: ...
  • MonkeyTalk: Great for functional testing and regression testing, MonkeyTalk is an automation testing framework for Android and iOS apps.
25 Nov 2022

Videos

1. How to Write Test Cases in Manual Testing with Template
(The Testing Academy)
2. Web Application Penetration Testing Checklist
(Indusface)
3. Web Application Testing Guidelines for Beginners - Tips and Tricks
(Software Testing Tips and Tricks)
4. 5-Step Checklist for Web App Security Testing
(Eye on Tech)
5. mobile application testing checklist (usability testing) | test scenarios | test cases
(Testing Shala)
6. checklist for mobile application testing (functional testing) | test scenarios | test cases
(Testing Shala)
Top Articles
Latest Posts
Article information

Author: The Hon. Margery Christiansen

Last Updated: 10/30/2022

Views: 6191

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: The Hon. Margery Christiansen

Birthday: 2000-07-07

Address: 5050 Breitenberg Knoll, New Robert, MI 45409

Phone: +2556892639372

Job: Investor Mining Engineer

Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.