SlideShare a Scribd company logo
Prepared by:
Mona M. Abd El-Rahman.
QC Engineer at Ibtikar Technologies Co.
Part 1
Test cases for effective testing - part 1
A test case has components that
describes an input, action or event and an
expected response, to determine if a feature of
an application is working correctly.
Test cases for effective testing - part 1

Recommended for you

Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101

A presentation to explain the goals and methods of testing to a variety of colleagues who help with testing on certain projects...

qatestingquality
defect tracking and management
defect tracking and management   defect tracking and management
defect tracking and management

The document discusses defect tracking and management. It provides details on defect identification, reporting, tracking, resolution and using defect information to improve processes. A recommended structure is given for defect reports, including title, description, steps to reproduce, actual and expected results. Examples of a defect report and tracking sheet in Excel are also shown. The defect management process involves executing tests, logging discrepancies, reviewing with developers, assigning defects, retesting after fixes, and closing defects when resolved.

So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test case

This document provides guidance on writing effective test cases. It discusses that test cases are documentation that guide testing and serve as a record. Key components of a test case are test steps that provide clear instructions to testers, and expected results that describe how to verify the outcome. The document also outlines best practices like starting test case design after exploring the application, using clear and specific language, and providing supplemental materials like test data sheets to support testing. Maintaining test cases is important as applications evolve, requiring test cases to be revised as needed to continue supporting products.

test managementpnsqctest case
 Which features have been tested/ will be tested
eventually?
 How many user scenarios/ use cases have been
executed?
 How many features are stable?
 Which features need more work?
 Are sufficient input combinations exercised?
 Does the app give out correct error messages if
the user does not use it the way it was intended
to be used?
 Does the app respond to the various browser
specific functions as it should?
 Does the UI conform to the specifications?
 Are the features traceable to the requirement
spec? Have all of them been covered?
 Are the user scenarios traceable to the use case
document? Have all of them been covered?
 Can these tests be used as an input to
automation?
 Are the tests good enough? Are they finding
defects?
 Is software ready to ship? Is testing enough?
 What is the quality of the application?
Approaches of writing test cases:
 Function: Test each function/ feature in isolation.
 Domain : Test by partitioning different sets of values.
 Specification based: Test against published specifications.
 Risk based: Imagine a way in which a program could fail and
then design tests to check whether the program will actually
fail.

Recommended for you

Test plan
Test planTest plan
Test plan

This document presents a test plan for version 1.0 of the IIT official website. It outlines the test items, features to be tested, approach, environment, responsibilities, and schedule. The test items include the website and its modules like achievements, gallery, news, programs, batches, courses, faculty, exams, results, groups, profile, documents, attendance, projects, calendar, and alumni. Features to be tested include adding, modifying, and viewing albums in the gallery module. The test plan follows IEEE 829 standards and will test the website on different client platforms.

test plan documentcomplete test plantest plan
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & Documenting

The document discusses test case design and components. It defines a test case as a set of test inputs, execution conditions and expected results to exercise a program path or verify a requirement. Test cases have three main components - inputs, outputs and execution order. The document also discusses advantages of effective test cases such as higher probability of detecting defects and delivering higher quality software. It describes black box and white box testing approaches and provides tips for writing good test cases and prioritizing test cases.

Testing methodology
Testing methodologyTesting methodology
Testing methodology

This document provides an overview of software testing and the testing process. It discusses: - The purpose of testing is to find errors and ensure software meets requirements. - The testing process includes test planning, analysis and design, execution, evaluation and reporting. - Key methodologies like unit, integration, system and acceptance testing are explained. - Regression testing is described as important for ensuring changes don't break existing functionality. - The roles of different teams in the testing process and the goals at each testing level are outlined.

 Scenario/ use case based: Based on actors/ users and a set of
actions they are likely to perform in real life.
 Exploratory: the tester actively controls the design of tests as
those tests are performed and uses information gained while
testing to design new and better test.
 User: Tests done by users.
Approaches (Cont’d)
Test cases for effective testing - part 1
 Understand the requirements well.
( while writing test cases do not assume any
requirements by your own. Raise the question which
is not clear in requirement or requirements are
misleading or incomplete. )
 Prior to design the test cases figure out all
features of application.
 Ensure that test case should cover all functionality
mention in requirement document.
- Checklists.
- Traceability Metrix.
 Generic test cases should be collected & combine
together in test suite.

Recommended for you

Test case techniques
Test case techniquesTest case techniques
Test case techniques

This is the presentation describing different techniques used to write test cases for software testing. You can have overview with detailed example for test case techniques. After reading this, You'll able to assume which technique can be more useful to you software testing.

software testingtestingsoftware
Test Case Naming 02
Test Case Naming 02Test Case Naming 02
Test Case Naming 02

This document discusses test case naming conventions and strategies. It argues that test cases should be named after the product they test rather than the requirements or project, since those may change over time. The naming should follow a hierarchy that indicates the element being tested, such as the menu, group, icon, and option. This provides context and helps identify what is being tested. Well-named test cases can guide understanding of the system without needing additional documentation. The document provides examples of test case names for Microsoft PowerPoint and Google applications that follow this recommended hierarchical convention.

namecasetest
Manual Testing.
Manual Testing.Manual Testing.
Manual Testing.

The document contains responses to questions about software testing terms and concepts. Key points discussed include: - Cyclomatic complexity is a white box testing type that analyzes the complexity of code. - Monkey testing tests software without test cases by randomly interacting with screens and inputs to find bugs. - Severity refers to a bug's seriousness while priority refers to which bug should be fixed first. - A login screen bug example is provided where severity is low but priority is high due to usability issues. - System testing is a type of black box testing that tests the full application and includes functionality, regression, and performance testing.

 Testing Priority should be assign to each test
case.
(Select the Test case priority depending upon how important
the test case is for that Feature, component or the product).
 Test cases should be simple and easy to
understand.
 Input data for test cases is very important part
in testing, your test cases should validate
range of input data.
 You should concentrate on real life scenarios
first which end user going to use day to day
life activity and accordingly test cases should
be prepare.
 Every test case may or may not have defect
linked but each defect should have test case
linked.
 Test case id.
 Test case title.
 Summary.
 Pre-conditions and test data.
 Test case steps.
 Test case expected results.
Test case format:
 Test case title should start with Upper Case.
 Each step should start with Upper Case.
 Use parameter’s names as it is instead of using
generic names.
 Start with module name then write the title.
Ex. Login – Error message must be displayed
when user inserts a wrong password.
 Use must/ would instead of should/ may.
Test case naming convention:

Recommended for you

Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1

The document provides an overview of the agenda and content for Day 1 of an ISTQB Foundation Level training course. It begins with an introduction to ISTQB, including what it is, its purpose, and certification levels. It then outlines the agenda for Day 1, which includes introductions to ISTQB, principles of testing, testing throughout the software development lifecycle, static testing techniques, and tool support for testing. The document provides details on each of these topics, such as definitions of testing, principles of testing, software development models, testing levels, types of testing, and examples of static testing techniques.

istqb foundationistqb pptistqb
Test cases and bug report v3.2
Test cases and bug report v3.2Test cases and bug report v3.2
Test cases and bug report v3.2

The document discusses test cases, defects (bugs), and bug reports. It provides definitions and examples of test cases, their purpose and components. Examples of test management tools and test-driven development are also presented. Defects and what constitutes a good bug report are defined. The importance of collaboration between testers and developers is emphasized.

testcasebddbug report
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing

A presentation on software testing importance , types, and levels,... This presentation contains videos, it may be unplayable on slideshare and need to download

software testing
Test cases for effective testing - part 1
Image Upload Functionality
Activity 1:
Sending Emails
Activity 2:
Search/ Filter
Activity 3:

Recommended for you

Bug reporting and tracking
Bug reporting and trackingBug reporting and tracking
Bug reporting and tracking

The document discusses defect reporting and tracking. It defines a software bug and explains that once a tester identifies a defect, they generate a formal defect report. The report includes information like a unique ID, project name, summary, steps to reproduce, actual and expected results. A bug goes through different statuses in its lifecycle from new to closed. Developers analyze and fix bugs, while testers verify fixes and may reopen bugs. Bug tracking systems help teams manage large numbers of defects by keeping track of key details for each bug report.

qaqcsoftware testing
Software testing
Software testingSoftware testing
Software testing

A brief that includes the following: - Software Testing - Quality Assurance - Quality Control - Types of Testing - Levels of Software Testing - Types of Performance Testing - API - Verification & Validation - Test Plan & Testing Strategy - Agile & Waterfall - Software Development Life Cycle - Career Path

software testingagilequality assurance
Test case writing
Test case writingTest case writing
Test case writing

Test cases are documents that contain test data, preconditions, test steps, expected results, and postconditions to verify a specific requirement. They provide a starting point for test execution and leave the system in a defined state. Good test cases are accurate, economical, traceable, repeatable, reusable, simple, objective, relevant, avoid duplication and dependency. Test cases should be written based on requirements documents and cover both positive and negative scenarios using clear language. An ideal test case includes an ID, use case ID, test objective, preconditions, test data, test steps, expected results, actual results, cycle, date, tester, status, severity, and resolution status.

quality assurancesqatest case
Logout
Activity 4:
Export PDF
Activity 5:
Different time zones
Activity 6:
For any questions, feel free to contact me
mona.m.abdelrahman@gmail.com

Recommended for you

How to report bugs
How to report bugsHow to report bugs
How to report bugs

The document provides guidance on writing effective bug reports to help ensure bugs get fixed. Key points include: 1) Bug reports should be reproducible, specific, and assign a unique identifier. 2) Clearly specify steps to reproduce the bug, expected results, and actual results. 3) Use a standardized template to maintain consistency and provide necessary details about the bug.

good bug reportsoftware developmentprogramming
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance

software testing is necessary to make sure the product or application is defect free, as per customer specifications. Software testing identifies fault whose removal increases the software Quality and Increases the software reliability.Testing effort is directly proportional to the complexity of the program.

smoke testingsoftware testing life cyclesanity testing
Software testing for biginners
Software testing for biginnersSoftware testing for biginners
Software testing for biginners

A presenetation on basics of software testing, explaining the software development life cycle and steps invovled in it and detials about each step from the testing point of view.

sdlcsoftwareqa

More Related Content

What's hot

Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
Raviteja Chowdary Adusumalli
 
Test plan
Test planTest plan
Test plan
Akhila Bhaskar
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
QA Hannah
 
defect tracking and management
defect tracking and management   defect tracking and management
defect tracking and management
Manish Chaurasia
 
So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test case
Srilu Balla
 
Test plan
Test planTest plan
Test plan
Nadia Nahar
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & Documenting
Seyed Ali Marjaie
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
Dina Hanbazazah
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
Pina Parmar
 
Test Case Naming 02
Test Case Naming 02Test Case Naming 02
Test Case Naming 02
SriluBalla
 
Manual Testing.
Manual Testing.Manual Testing.
Manual Testing.
Dhanasekaran Nagarajan
 
Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
Shuchi Singla AKT,SPC4,PMI-ACP,ITIL(F),CP-AAT
 
Test cases and bug report v3.2
Test cases and bug report v3.2Test cases and bug report v3.2
Test cases and bug report v3.2
Andrey Oleynik
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
Hadi Fadlallah
 
Bug reporting and tracking
Bug reporting and trackingBug reporting and tracking
Bug reporting and tracking
Vadym Muliavka
 
Software testing
Software testingSoftware testing
Software testing
Omar Al-Bokari
 
Test case writing
Test case writingTest case writing
Test case writing
Afsarah Jahin
 
How to report bugs
How to report bugsHow to report bugs
How to report bugs
Mahmoud Asadi
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
Trimantra Software Solutions
 

What's hot (20)

Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Test plan
Test planTest plan
Test plan
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
 
defect tracking and management
defect tracking and management   defect tracking and management
defect tracking and management
 
So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test case
 
Test plan
Test planTest plan
Test plan
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & Documenting
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
Test Case Naming 02
Test Case Naming 02Test Case Naming 02
Test Case Naming 02
 
Manual Testing.
Manual Testing.Manual Testing.
Manual Testing.
 
Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
 
Test cases and bug report v3.2
Test cases and bug report v3.2Test cases and bug report v3.2
Test cases and bug report v3.2
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
Bug reporting and tracking
Bug reporting and trackingBug reporting and tracking
Bug reporting and tracking
 
Software testing
Software testingSoftware testing
Software testing
 
Test case writing
Test case writingTest case writing
Test case writing
 
How to report bugs
How to report bugsHow to report bugs
How to report bugs
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 

Similar to Test cases for effective testing - part 1

Software testing for biginners
Software testing for biginnersSoftware testing for biginners
Software testing for biginners
Sriman Eshwar
 
Istqb lesson1
Istqb lesson1Istqb lesson1
Istqb lesson1
Sunday Ayandele
 
Testing
TestingTesting
Test case development
Test case developmentTest case development
Test case development
Hrushikesh Wakhle
 
Software testing introduction
Software testing introductionSoftware testing introduction
Software testing introduction
Sriman Eshwar
 
Test cases
Test casesTest cases
Test cases
Aananthy Anya
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_module
Suresh Mishra
 
unit 4.pptx very needful and important p
unit 4.pptx very needful and important punit 4.pptx very needful and important p
unit 4.pptx very needful and important p
20EC040
 
SE-Testing.ppt
SE-Testing.pptSE-Testing.ppt
SE-Testing.ppt
vishal choudhary
 
Testing
TestingTesting
Testing
Kiran Kumar
 
Functional Testing- All you need to know (2).pptx
Functional Testing- All you need to know (2).pptxFunctional Testing- All you need to know (2).pptx
Functional Testing- All you need to know (2).pptx
Jason Roy
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
Mohammad Faizan
 
Software unit4
Software unit4Software unit4
Software unit4
Himanshu Awasthi
 
Testing
Testing Testing
Testing
poojadatt
 
Lesson 7...Question Part 1
Lesson 7...Question Part 1Lesson 7...Question Part 1
Lesson 7...Question Part 1
bhushan Nehete
 
Software Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSoftware Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By Srikanth
Srikanth Krishnamoorthy
 
Importance of Software testing in SDLC and Agile
Importance of Software testing in SDLC and AgileImportance of Software testing in SDLC and Agile
Importance of Software testing in SDLC and Agile
Chandan Mishra
 
Qa Faqs
Qa FaqsQa Faqs
Istqb v.1.2
Istqb v.1.2Istqb v.1.2
Istqb v.1.2
AnnaGodorogea
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
chaitanya_yarlagadda
 

Similar to Test cases for effective testing - part 1 (20)

Software testing for biginners
Software testing for biginnersSoftware testing for biginners
Software testing for biginners
 
Istqb lesson1
Istqb lesson1Istqb lesson1
Istqb lesson1
 
Testing
TestingTesting
Testing
 
Test case development
Test case developmentTest case development
Test case development
 
Software testing introduction
Software testing introductionSoftware testing introduction
Software testing introduction
 
Test cases
Test casesTest cases
Test cases
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_module
 
unit 4.pptx very needful and important p
unit 4.pptx very needful and important punit 4.pptx very needful and important p
unit 4.pptx very needful and important p
 
SE-Testing.ppt
SE-Testing.pptSE-Testing.ppt
SE-Testing.ppt
 
Testing
TestingTesting
Testing
 
Functional Testing- All you need to know (2).pptx
Functional Testing- All you need to know (2).pptxFunctional Testing- All you need to know (2).pptx
Functional Testing- All you need to know (2).pptx
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
Software unit4
Software unit4Software unit4
Software unit4
 
Testing
Testing Testing
Testing
 
Lesson 7...Question Part 1
Lesson 7...Question Part 1Lesson 7...Question Part 1
Lesson 7...Question Part 1
 
Software Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSoftware Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By Srikanth
 
Importance of Software testing in SDLC and Agile
Importance of Software testing in SDLC and AgileImportance of Software testing in SDLC and Agile
Importance of Software testing in SDLC and Agile
 
Qa Faqs
Qa FaqsQa Faqs
Qa Faqs
 
Istqb v.1.2
Istqb v.1.2Istqb v.1.2
Istqb v.1.2
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
 

Recently uploaded

Independence Day Hasn’t Always Been a U.S. Holiday.pdf
Independence Day Hasn’t Always Been a U.S. Holiday.pdfIndependence Day Hasn’t Always Been a U.S. Holiday.pdf
Independence Day Hasn’t Always Been a U.S. Holiday.pdf
Livetecs LLC
 
ANSYS Mechanical APDL Introductory Tutorials.pdf
ANSYS Mechanical APDL Introductory Tutorials.pdfANSYS Mechanical APDL Introductory Tutorials.pdf
ANSYS Mechanical APDL Introductory Tutorials.pdf
sachin chaurasia
 
Overview of ERP - Mechlin Technologies.pptx
Overview of ERP - Mechlin Technologies.pptxOverview of ERP - Mechlin Technologies.pptx
Overview of ERP - Mechlin Technologies.pptx
Mitchell Marsh
 
FAST Channels: Explosive Growth Forecast 2024-2027 (Buckle Up!)
FAST Channels: Explosive Growth Forecast 2024-2027 (Buckle Up!)FAST Channels: Explosive Growth Forecast 2024-2027 (Buckle Up!)
FAST Channels: Explosive Growth Forecast 2024-2027 (Buckle Up!)
Roshan Dwivedi
 
Responsibilities of Fleet Managers and How TrackoBit Can Assist.pdf
Responsibilities of Fleet Managers and How TrackoBit Can Assist.pdfResponsibilities of Fleet Managers and How TrackoBit Can Assist.pdf
Responsibilities of Fleet Managers and How TrackoBit Can Assist.pdf
Trackobit
 
Development of Chatbot Using AI\ML Technologies
Development of Chatbot Using AI\ML TechnologiesDevelopment of Chatbot Using AI\ML Technologies
Development of Chatbot Using AI\ML Technologies
MaisnamLuwangPibarel
 
How we built TryBoxLang in under 48 hours
How we built TryBoxLang in under 48 hoursHow we built TryBoxLang in under 48 hours
How we built TryBoxLang in under 48 hours
Ortus Solutions, Corp
 
WEBINAR SLIDES: CCX for Cloud Service Providers
WEBINAR SLIDES: CCX for Cloud Service ProvidersWEBINAR SLIDES: CCX for Cloud Service Providers
WEBINAR SLIDES: CCX for Cloud Service Providers
Severalnines
 
Addressing the Top 9 User Pain Points with Visual Design Elements.pptx
Addressing the Top 9 User Pain Points with Visual Design Elements.pptxAddressing the Top 9 User Pain Points with Visual Design Elements.pptx
Addressing the Top 9 User Pain Points with Visual Design Elements.pptx
Sparity1
 
Top 10 Tips To Get Google AdSense For Your Website
Top 10 Tips To Get Google AdSense For Your WebsiteTop 10 Tips To Get Google AdSense For Your Website
Top 10 Tips To Get Google AdSense For Your Website
e-Definers Technology
 
CViewSurvey Digitech Pvt Ltd that works on a proven C.A.A.G. model.
CViewSurvey Digitech Pvt Ltd that  works on a proven C.A.A.G. model.CViewSurvey Digitech Pvt Ltd that  works on a proven C.A.A.G. model.
CViewSurvey Digitech Pvt Ltd that works on a proven C.A.A.G. model.
bhatinidhi2001
 
Intro to Amazon Web Services (AWS) and Gen AI
Intro to Amazon Web Services (AWS) and Gen AIIntro to Amazon Web Services (AWS) and Gen AI
Intro to Amazon Web Services (AWS) and Gen AI
Ortus Solutions, Corp
 
Break data silos with real-time connectivity using Confluent Cloud Connectors
Break data silos with real-time connectivity using Confluent Cloud ConnectorsBreak data silos with real-time connectivity using Confluent Cloud Connectors
Break data silos with real-time connectivity using Confluent Cloud Connectors
confluent
 
WhatsApp Tracker - Tracking WhatsApp to Boost Online Safety.pdf
WhatsApp Tracker -  Tracking WhatsApp to Boost Online Safety.pdfWhatsApp Tracker -  Tracking WhatsApp to Boost Online Safety.pdf
WhatsApp Tracker - Tracking WhatsApp to Boost Online Safety.pdf
onemonitarsoftware
 
ENISA Threat Landscape 2023 documentation
ENISA Threat Landscape 2023 documentationENISA Threat Landscape 2023 documentation
ENISA Threat Landscape 2023 documentation
sofiafernandezon
 
AWS Cloud Practitioner Essentials (Second Edition) (Arabic) Course Introducti...
AWS Cloud Practitioner Essentials (Second Edition) (Arabic) Course Introducti...AWS Cloud Practitioner Essentials (Second Edition) (Arabic) Course Introducti...
AWS Cloud Practitioner Essentials (Second Edition) (Arabic) Course Introducti...
karim wahed
 
Safe Work Permit Management Software for Hot Work Permits
Safe Work Permit Management Software for Hot Work PermitsSafe Work Permit Management Software for Hot Work Permits
Safe Work Permit Management Software for Hot Work Permits
sheqnetworkmarketing
 
Attendance Tracking From Paper To Digital
Attendance Tracking From Paper To DigitalAttendance Tracking From Paper To Digital
Attendance Tracking From Paper To Digital
Task Tracker
 
Shivam Pandit working on Php Web Developer.
Shivam Pandit working on Php Web Developer.Shivam Pandit working on Php Web Developer.
Shivam Pandit working on Php Web Developer.
shivamt017
 
introduction of Ansys software and basic and advance knowledge of modelling s...
introduction of Ansys software and basic and advance knowledge of modelling s...introduction of Ansys software and basic and advance knowledge of modelling s...
introduction of Ansys software and basic and advance knowledge of modelling s...
sachin chaurasia
 

Recently uploaded (20)

Independence Day Hasn’t Always Been a U.S. Holiday.pdf
Independence Day Hasn’t Always Been a U.S. Holiday.pdfIndependence Day Hasn’t Always Been a U.S. Holiday.pdf
Independence Day Hasn’t Always Been a U.S. Holiday.pdf
 
ANSYS Mechanical APDL Introductory Tutorials.pdf
ANSYS Mechanical APDL Introductory Tutorials.pdfANSYS Mechanical APDL Introductory Tutorials.pdf
ANSYS Mechanical APDL Introductory Tutorials.pdf
 
Overview of ERP - Mechlin Technologies.pptx
Overview of ERP - Mechlin Technologies.pptxOverview of ERP - Mechlin Technologies.pptx
Overview of ERP - Mechlin Technologies.pptx
 
FAST Channels: Explosive Growth Forecast 2024-2027 (Buckle Up!)
FAST Channels: Explosive Growth Forecast 2024-2027 (Buckle Up!)FAST Channels: Explosive Growth Forecast 2024-2027 (Buckle Up!)
FAST Channels: Explosive Growth Forecast 2024-2027 (Buckle Up!)
 
Responsibilities of Fleet Managers and How TrackoBit Can Assist.pdf
Responsibilities of Fleet Managers and How TrackoBit Can Assist.pdfResponsibilities of Fleet Managers and How TrackoBit Can Assist.pdf
Responsibilities of Fleet Managers and How TrackoBit Can Assist.pdf
 
Development of Chatbot Using AI\ML Technologies
Development of Chatbot Using AI\ML TechnologiesDevelopment of Chatbot Using AI\ML Technologies
Development of Chatbot Using AI\ML Technologies
 
How we built TryBoxLang in under 48 hours
How we built TryBoxLang in under 48 hoursHow we built TryBoxLang in under 48 hours
How we built TryBoxLang in under 48 hours
 
WEBINAR SLIDES: CCX for Cloud Service Providers
WEBINAR SLIDES: CCX for Cloud Service ProvidersWEBINAR SLIDES: CCX for Cloud Service Providers
WEBINAR SLIDES: CCX for Cloud Service Providers
 
Addressing the Top 9 User Pain Points with Visual Design Elements.pptx
Addressing the Top 9 User Pain Points with Visual Design Elements.pptxAddressing the Top 9 User Pain Points with Visual Design Elements.pptx
Addressing the Top 9 User Pain Points with Visual Design Elements.pptx
 
Top 10 Tips To Get Google AdSense For Your Website
Top 10 Tips To Get Google AdSense For Your WebsiteTop 10 Tips To Get Google AdSense For Your Website
Top 10 Tips To Get Google AdSense For Your Website
 
CViewSurvey Digitech Pvt Ltd that works on a proven C.A.A.G. model.
CViewSurvey Digitech Pvt Ltd that  works on a proven C.A.A.G. model.CViewSurvey Digitech Pvt Ltd that  works on a proven C.A.A.G. model.
CViewSurvey Digitech Pvt Ltd that works on a proven C.A.A.G. model.
 
Intro to Amazon Web Services (AWS) and Gen AI
Intro to Amazon Web Services (AWS) and Gen AIIntro to Amazon Web Services (AWS) and Gen AI
Intro to Amazon Web Services (AWS) and Gen AI
 
Break data silos with real-time connectivity using Confluent Cloud Connectors
Break data silos with real-time connectivity using Confluent Cloud ConnectorsBreak data silos with real-time connectivity using Confluent Cloud Connectors
Break data silos with real-time connectivity using Confluent Cloud Connectors
 
WhatsApp Tracker - Tracking WhatsApp to Boost Online Safety.pdf
WhatsApp Tracker -  Tracking WhatsApp to Boost Online Safety.pdfWhatsApp Tracker -  Tracking WhatsApp to Boost Online Safety.pdf
WhatsApp Tracker - Tracking WhatsApp to Boost Online Safety.pdf
 
ENISA Threat Landscape 2023 documentation
ENISA Threat Landscape 2023 documentationENISA Threat Landscape 2023 documentation
ENISA Threat Landscape 2023 documentation
 
AWS Cloud Practitioner Essentials (Second Edition) (Arabic) Course Introducti...
AWS Cloud Practitioner Essentials (Second Edition) (Arabic) Course Introducti...AWS Cloud Practitioner Essentials (Second Edition) (Arabic) Course Introducti...
AWS Cloud Practitioner Essentials (Second Edition) (Arabic) Course Introducti...
 
Safe Work Permit Management Software for Hot Work Permits
Safe Work Permit Management Software for Hot Work PermitsSafe Work Permit Management Software for Hot Work Permits
Safe Work Permit Management Software for Hot Work Permits
 
Attendance Tracking From Paper To Digital
Attendance Tracking From Paper To DigitalAttendance Tracking From Paper To Digital
Attendance Tracking From Paper To Digital
 
Shivam Pandit working on Php Web Developer.
Shivam Pandit working on Php Web Developer.Shivam Pandit working on Php Web Developer.
Shivam Pandit working on Php Web Developer.
 
introduction of Ansys software and basic and advance knowledge of modelling s...
introduction of Ansys software and basic and advance knowledge of modelling s...introduction of Ansys software and basic and advance knowledge of modelling s...
introduction of Ansys software and basic and advance knowledge of modelling s...
 

Test cases for effective testing - part 1

  • 1. Prepared by: Mona M. Abd El-Rahman. QC Engineer at Ibtikar Technologies Co. Part 1
  • 3. A test case has components that describes an input, action or event and an expected response, to determine if a feature of an application is working correctly.
  • 5.  Which features have been tested/ will be tested eventually?  How many user scenarios/ use cases have been executed?  How many features are stable?  Which features need more work?  Are sufficient input combinations exercised?
  • 6.  Does the app give out correct error messages if the user does not use it the way it was intended to be used?  Does the app respond to the various browser specific functions as it should?  Does the UI conform to the specifications?  Are the features traceable to the requirement spec? Have all of them been covered?
  • 7.  Are the user scenarios traceable to the use case document? Have all of them been covered?  Can these tests be used as an input to automation?  Are the tests good enough? Are they finding defects?  Is software ready to ship? Is testing enough?  What is the quality of the application?
  • 8. Approaches of writing test cases:  Function: Test each function/ feature in isolation.  Domain : Test by partitioning different sets of values.  Specification based: Test against published specifications.  Risk based: Imagine a way in which a program could fail and then design tests to check whether the program will actually fail.
  • 9.  Scenario/ use case based: Based on actors/ users and a set of actions they are likely to perform in real life.  Exploratory: the tester actively controls the design of tests as those tests are performed and uses information gained while testing to design new and better test.  User: Tests done by users. Approaches (Cont’d)
  • 11.  Understand the requirements well. ( while writing test cases do not assume any requirements by your own. Raise the question which is not clear in requirement or requirements are misleading or incomplete. )  Prior to design the test cases figure out all features of application.
  • 12.  Ensure that test case should cover all functionality mention in requirement document. - Checklists. - Traceability Metrix.  Generic test cases should be collected & combine together in test suite.
  • 13.  Testing Priority should be assign to each test case. (Select the Test case priority depending upon how important the test case is for that Feature, component or the product).  Test cases should be simple and easy to understand.  Input data for test cases is very important part in testing, your test cases should validate range of input data.
  • 14.  You should concentrate on real life scenarios first which end user going to use day to day life activity and accordingly test cases should be prepare.  Every test case may or may not have defect linked but each defect should have test case linked.
  • 15.  Test case id.  Test case title.  Summary.  Pre-conditions and test data.  Test case steps.  Test case expected results. Test case format:
  • 16.  Test case title should start with Upper Case.  Each step should start with Upper Case.  Use parameter’s names as it is instead of using generic names.  Start with module name then write the title. Ex. Login – Error message must be displayed when user inserts a wrong password.  Use must/ would instead of should/ may. Test case naming convention:
  • 24. For any questions, feel free to contact me mona.m.abdelrahman@gmail.com