0% found this document useful (0 votes)
28 views7 pages

What Is A Testcase

test

Uploaded by

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

What Is A Testcase

test

Uploaded by

krunal0272
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Learn the Art of Software @thetestingacademy

Testing & Upskill Yourself. PRAMOD DUTTA

Test Cases Explained in detail

@thetestingacademy @thetestingacademy thetestingacademy.com


Learn the Art of Software @thetestingacademy
Testing & Upskill Yourself. PRAMOD DUTTA

A Test case is a specific set of conditions or


variables under which a tester will determine whether
an application, software system, or one of it’s
features is working correctly or not.

A Test case aims to validate software features


accuracy, completeness, & reliability.

A test case usually includes the following details:

test case ID
test case description
pre-condition
test steps
expected results
actual result
status of the test case

@thetestingacademy @thetestingacademy thetestingacademy.com


Learn the Art of Software @thetestingacademy
Testing & Upskill Yourself. PRAMOD DUTTA

Best Practice for writing good Test Case

First, it is important to identify the purpose of the


test case and what exactly needs to be tested.

Next, the test case should be written clearly and


concisely, with step-by-step instructions for each
action that needs to be taken. Also, it is important to
consider all possible scenarios and edge cases to
ensure thorough testing.

Another important factor is maintaining organization


and structure within your testing process by creating a
logical flow of tests covering different aspects of the
tested system.

@thetestingacademy @thetestingacademy thetestingacademy.com


Learn the Art of Software @thetestingacademy
Testing & Upskill Yourself. PRAMOD DUTTA

EXAMPLE

Login Page:
We can assume a login application like Gmail.

Test Case 1: Verify that the application allows users


to input their username and password.

Test Case 2: Verify that the application correctly


validates the correct credentials.

Test Case 3: Verify that the application displays an


error message when the incorrect credentials are
entered.

@thetestingacademy @thetestingacademy thetestingacademy.com


Learn the Art of Software @thetestingacademy
Testing & Upskill Yourself. PRAMOD DUTTA

EXAMPLE

Search Functionality
We can assume Google searches for this.

Test Case 1: Verify that users can search for specific


records in the database.

Test Case 2: * Verify that the application displays the


query results correctly.

Test Case 3: Verify that the application displays an


error message when no matches are found.

@thetestingacademy @thetestingacademy thetestingacademy.com


@thetestingacademy Learn the Art of Software
PRAMOD DUTTA Testing & Upskill Yourself.

FOLLOW FOR MORE


POSTS LIKE THIS
Visit Our Profile for more such content....
Learn the Art of Software
Testing & Upskill Yourself.

BECOME JOB
READY WITH ME
Learn in-demand automation testing skills with Pramod Datta

@thetestingacademy

Follow our Page for more, such posts!

@thetestingacademy @thetestingacademy thetestingacademy.com

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy