SlideShare a Scribd company logo
1 of 19
Techniques for effective
test data management in
test automation
Anshita Mathur
QA Consultant – Test Automation Competency
Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
 Punctuality
Join the session 5 minutes prior to the session start time. We start on
time and conclude on time!
 Feedback
Make sure to submit a constructive feedback for all sessions as it is very
helpful for the presenter.
 Silent Mode
Keep your mobile devices in silent mode, feel free to move out of session
in case you need to attend an urgent call.
 Avoid Disturbance
Avoid unwanted chit chat during the session.
1. Introduction to Test Data Management (TDM)
2. What is Test Data?
3. Types of Test Data
4. Importance of TDM in Test Automation
5. Challenges in Test Data Management
6. Techniques for Effective Test Data Management
7. Best Practices for Implementing Test Data
Management
8. Demo
9. Q & A
Introduction
 Test Data Management (TDM) is a critical discipline within software testing and quality assurance that
revolves around the planning, creation, maintenance, and provisioning of test data to ensure the effectiveness
of testing processes.
 In TDM, the focus is on managing and controlling the data that is used during the testing phase of software
development, particularly in the context of test automation.
Definition of Test Data
 Test data is a set of inputs or conditions used
to execute a software test.
 It includes various parameters, values, and
configurations that are applied to a software
application to assess its functionality,
performance, or behavior.
 Test data serves as the litmus test for the
integrity of technological solutions, ensuring
they meet predefined criteria and perform
optimally.
Purpose of Test Data
 Validation and Verification
 Error Detection
 Boundary Testing
 Performance Testing
 Security Testing
 Integration Testing
 Data Quality Assurance
Types of Test Data
 POSITIVE TEST DATA
• Consists of inputs and conditions that are expected to produce correct and
valid results.
 NEGATIVE TEST DATA
• Includes inputs intentionally chosen to trigger errors or exceptions in the
application.
 RANDOM TEST DATA
• It involves selecting data inputs randomly, without a specific pattern, to test
the system's robustness and ability to handle unexpected inputs.
 DECISION TABLE TEST DATA
• Test the data based on the decision table testing strategy.
Continued..
 STATIC TEST DATA
• Consists of unchanging reference data used to validate system behavior over
time.
 DYNAMIC TEST DATA
• Includes data that changes during testing to simulate real-world scenarios,
this assesses how the application adapts to changing inputs.
 EQUIVALENCE PARTITION TEST DATA
• Test the application with the test data qualifying the equivalence partitions.
• The goal is to reduce the number of test cases needed to cover all possible
scenarios while still ensuring comprehensive testing.
 BOUNDARY TEST DATA
• It evaluates how the application behaves at the limits or boundaries of valid
input.
• For example: When testing a system that accepts values between 1 and 100,
boundary test data would include values like 1, 100, and values just below
and above those boundaries, such as 0, 101, and 99.
How can we generate test data?
 Manual Test Data Creation
• In this approach, test data is generated manually by testers or data entry
personnel.
• It involves creating data directly in the application under test or populating
databases with test values by hand.
• While simple, this method can be time-consuming, error-prone, and may not be
suitable for large datasets.
 Test Data Generation via Automation
• Test data can be automatically generated using scripts or code.
• Test automation tools can be utilized to create data that mimics real-world
scenarios.
• This approach is efficient and repeatable, making it ideal for regression testing and
performance testing.
How can we generate test data?
 Test Data Creation through Backend Injection
• Here, test data is injected directly into the backend database or application.
• This can be done using SQL scripts or other data manipulation methods.
• It's useful for scenarios where you need specific data configurations or want to
modify existing data to suit test cases.
 Generating Test Data with Commercial Tools
• Several commercial tools are available that offer features for test data generation.
• These tools can help you create a variety of data types, including realistic,
randomized, or parameterized datasets.
• They often come with user-friendly interfaces and are suitable for organizations
looking for comprehensive test data management solutions.
Importance of TDM
 Data Relevance and Realism
 Accuracy and Quality Assurance
 Efficiency and Resource Savings
 Data Security and Privacy
 Testing at Scale
 Version Control and Traceability
 Compliance and Regulatory Requirements
 Reproducibility and Consistency
 Reduced Risk of Production Data Contamination
 Collaboration and Team Efficiency
FORES
Lack of Awareness and
Standardization
Surrounding TDM
Lack of Relevant Data
During Testing
Data Variations and
Combinations
Lack of Accuracy in Data
Performance
HEALTH
Data Synchronization
with Application Changes
temperature
Invalid Data and Lack of
Data Consistency
GREENHOU
SE EFFECT
Complexity in Workflow
OCEANS
RENEWABLE
ENERGY
Challenges in
TDM
Compromised Data
Integration
Challenges in TDM
Techniques for Test Data Management (TDM)
 Data Profiling and Discovery:
• Analyzing and understanding the existing data to identify
patterns, relationships, and potential sources.
 Data Sub setting:
• Selecting a subset of production data for testing, reducing
data volume and improving test efficiency.
 Data Cloning and Masking:
• Creating copies of production data while protecting sensitive
information through data masking or anonymization.
 Data Generation:
• Generating synthetic data using tools, scripts, or algorithms to
create diverse and controlled test scenarios.
 Data Virtualization:
• Creating virtual copies of data to reduce the need for data
cloning and save storage space.
 Data Synchronization with Application Changes:
• Keeping test data aligned with software changes by updating
and modifying test data as the application evolves.
 Data Validation and Verification:
• Applying validation checks to ensure data accuracy and
integrity while verifying that test data aligns with expected
outcomes.
 Data Reconciliation:
• Comparing data before and after testing to identify
discrepancies, errors, or changes, ensuring data consistency.
Data Generation Data-Driven Testing
Data Masking
 Randomized Data Replacement:
Replace sensitive data with random
values of the same data type. For
example, replace real names with
random names.
 Substitution: Replace sensitive data
with predefined, fictional data. For
instance, replace real credit card
numbers with fake ones.
 Shuffling: Shuffle or rearrange
characters within a data field. This
can be useful for masking email
addresses or phone numbers.
 Random Data Generation: Generate
random data values within the valid
range of the data type. For instance,
generating random dates or numbers
within specified limits.
 Rule-Based Generation: Create
data using predefined rules and
formulas. For example, generating
valid product IDs based on a formula.
 Data Pools: Maintain pools of data
that represent different scenarios or
personas. For example, having data
pools for various user roles in a CRM
system.
 Parameterization: Create test cases
with placeholders for data values.
These placeholders are filled in at
runtime with values from the external
data source.
 CSV/Excel Files: Store test data in
CSV or Excel files that can be easily
read by test scripts. Each row of the
file represents a different test case.
 Database Integration: Fetch test
data from a database and use it to
parameterize test cases. This is
helpful for scenarios with large
datasets.
What are the Test Data Management Best
Practices?
 Focus on Data security
 Focus to Application Security
 Effective Planning
 Automation is crucial
 Isolation of test data from real data
 Continuous Data Analysis
 Mock the production environment
Techniques for effective test data management in test automation.pptx
Techniques for effective test data management in test automation.pptx
Techniques for effective test data management in test automation.pptx

More Related Content

Similar to Techniques for effective test data management in test automation.pptx

4 Test Data Management Techniques That Empower Software Testing
4 Test Data Management Techniques That Empower Software Testing4 Test Data Management Techniques That Empower Software Testing
4 Test Data Management Techniques That Empower Software TestingCigniti Technologies Ltd
 
Enterprise Test Data Generation.pptx
Enterprise Test Data Generation.pptxEnterprise Test Data Generation.pptx
Enterprise Test Data Generation.pptxGenRocket Inc
 
A Short and Sweet Guide to Test Data Development
A Short and Sweet Guide to Test Data DevelopmentA Short and Sweet Guide to Test Data Development
A Short and Sweet Guide to Test Data DevelopmentEnov8
 
Data Quality: A Raising Data Warehousing Concern
Data Quality: A Raising Data Warehousing ConcernData Quality: A Raising Data Warehousing Concern
Data Quality: A Raising Data Warehousing ConcernAmin Chowdhury
 
Test Data Management a Managed Service for Software Quality Assurance
Test Data Management a Managed Service for Software Quality AssuranceTest Data Management a Managed Service for Software Quality Assurance
Test Data Management a Managed Service for Software Quality AssuranceSoftware Testing Solution
 
593 Managing Enterprise Data Quality Using SAP Information Steward
593 Managing Enterprise Data Quality Using SAP Information Steward593 Managing Enterprise Data Quality Using SAP Information Steward
593 Managing Enterprise Data Quality Using SAP Information StewardVinny (Gurvinder) Ahuja
 
Data Quality at the Speed of Work
Data Quality at the Speed of WorkData Quality at the Speed of Work
Data Quality at the Speed of WorkTechWell
 
Machine Learning in Autonomous Data Warehouse
 Machine Learning in Autonomous Data Warehouse Machine Learning in Autonomous Data Warehouse
Machine Learning in Autonomous Data WarehouseSandesh Rao
 
How to generate Synthetic Data for an effective App Testing strategy.pdf
How to generate Synthetic Data for an effective App Testing strategy.pdfHow to generate Synthetic Data for an effective App Testing strategy.pdf
How to generate Synthetic Data for an effective App Testing strategy.pdfpCloudy
 
Data drift and machine learning
Data drift and machine learningData drift and machine learning
Data drift and machine learningSmita Agrawal
 
Introduction to Machine Learning and Data Science using Autonomous Database ...
Introduction to Machine Learning and Data Science using Autonomous Database  ...Introduction to Machine Learning and Data Science using Autonomous Database  ...
Introduction to Machine Learning and Data Science using Autonomous Database ...Sandesh Rao
 
Introduction to Machine Learning and Data Science using the Autonomous databa...
Introduction to Machine Learning and Data Science using the Autonomous databa...Introduction to Machine Learning and Data Science using the Autonomous databa...
Introduction to Machine Learning and Data Science using the Autonomous databa...Sandesh Rao
 
Data drift and machine learning
Data drift and machine learningData drift and machine learning
Data drift and machine learningSmita Agrawal
 
Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...
Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...
Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...Data Con LA
 
Creating a Data validation and Testing Strategy
Creating a Data validation and Testing StrategyCreating a Data validation and Testing Strategy
Creating a Data validation and Testing StrategyRTTS
 
Completing the Data Equation: Test Data + Data Validation = Success
Completing the Data Equation: Test Data + Data Validation = SuccessCompleting the Data Equation: Test Data + Data Validation = Success
Completing the Data Equation: Test Data + Data Validation = SuccessRTTS
 
Leveraging Automated Data Validation to Reduce Software Development Timeline...
Leveraging Automated Data Validation  to Reduce Software Development Timeline...Leveraging Automated Data Validation  to Reduce Software Development Timeline...
Leveraging Automated Data Validation to Reduce Software Development Timeline...Cognizant
 
Wolfgang Epting – IT-Tage 2015 – Testdaten – versteckte Geschäftschance oder ...
Wolfgang Epting – IT-Tage 2015 – Testdaten – versteckte Geschäftschance oder ...Wolfgang Epting – IT-Tage 2015 – Testdaten – versteckte Geschäftschance oder ...
Wolfgang Epting – IT-Tage 2015 – Testdaten – versteckte Geschäftschance oder ...Informatik Aktuell
 

Similar to Techniques for effective test data management in test automation.pptx (20)

4 Test Data Management Techniques That Empower Software Testing
4 Test Data Management Techniques That Empower Software Testing4 Test Data Management Techniques That Empower Software Testing
4 Test Data Management Techniques That Empower Software Testing
 
Enterprise Test Data Generation.pptx
Enterprise Test Data Generation.pptxEnterprise Test Data Generation.pptx
Enterprise Test Data Generation.pptx
 
System testing
System testingSystem testing
System testing
 
A Short and Sweet Guide to Test Data Development
A Short and Sweet Guide to Test Data DevelopmentA Short and Sweet Guide to Test Data Development
A Short and Sweet Guide to Test Data Development
 
Data Quality: A Raising Data Warehousing Concern
Data Quality: A Raising Data Warehousing ConcernData Quality: A Raising Data Warehousing Concern
Data Quality: A Raising Data Warehousing Concern
 
Test Data Management a Managed Service for Software Quality Assurance
Test Data Management a Managed Service for Software Quality AssuranceTest Data Management a Managed Service for Software Quality Assurance
Test Data Management a Managed Service for Software Quality Assurance
 
593 Managing Enterprise Data Quality Using SAP Information Steward
593 Managing Enterprise Data Quality Using SAP Information Steward593 Managing Enterprise Data Quality Using SAP Information Steward
593 Managing Enterprise Data Quality Using SAP Information Steward
 
Data Quality at the Speed of Work
Data Quality at the Speed of WorkData Quality at the Speed of Work
Data Quality at the Speed of Work
 
Machine Learning in Autonomous Data Warehouse
 Machine Learning in Autonomous Data Warehouse Machine Learning in Autonomous Data Warehouse
Machine Learning in Autonomous Data Warehouse
 
How to generate Synthetic Data for an effective App Testing strategy.pdf
How to generate Synthetic Data for an effective App Testing strategy.pdfHow to generate Synthetic Data for an effective App Testing strategy.pdf
How to generate Synthetic Data for an effective App Testing strategy.pdf
 
Data drift and machine learning
Data drift and machine learningData drift and machine learning
Data drift and machine learning
 
Introduction to Machine Learning and Data Science using Autonomous Database ...
Introduction to Machine Learning and Data Science using Autonomous Database  ...Introduction to Machine Learning and Data Science using Autonomous Database  ...
Introduction to Machine Learning and Data Science using Autonomous Database ...
 
Introduction to Machine Learning and Data Science using the Autonomous databa...
Introduction to Machine Learning and Data Science using the Autonomous databa...Introduction to Machine Learning and Data Science using the Autonomous databa...
Introduction to Machine Learning and Data Science using the Autonomous databa...
 
Data drift and machine learning
Data drift and machine learningData drift and machine learning
Data drift and machine learning
 
Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...
Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...
Data Con LA 2022 - Why Data Quality vigilance requires an End-to-End, Automat...
 
Creating a Data validation and Testing Strategy
Creating a Data validation and Testing StrategyCreating a Data validation and Testing Strategy
Creating a Data validation and Testing Strategy
 
Data-Driven Testing
Data-Driven Testing  Data-Driven Testing
Data-Driven Testing
 
Completing the Data Equation: Test Data + Data Validation = Success
Completing the Data Equation: Test Data + Data Validation = SuccessCompleting the Data Equation: Test Data + Data Validation = Success
Completing the Data Equation: Test Data + Data Validation = Success
 
Leveraging Automated Data Validation to Reduce Software Development Timeline...
Leveraging Automated Data Validation  to Reduce Software Development Timeline...Leveraging Automated Data Validation  to Reduce Software Development Timeline...
Leveraging Automated Data Validation to Reduce Software Development Timeline...
 
Wolfgang Epting – IT-Tage 2015 – Testdaten – versteckte Geschäftschance oder ...
Wolfgang Epting – IT-Tage 2015 – Testdaten – versteckte Geschäftschance oder ...Wolfgang Epting – IT-Tage 2015 – Testdaten – versteckte Geschäftschance oder ...
Wolfgang Epting – IT-Tage 2015 – Testdaten – versteckte Geschäftschance oder ...
 

More from Knoldus Inc.

Robusta -Tool Presentation (DevOps).pptx
Robusta -Tool Presentation (DevOps).pptxRobusta -Tool Presentation (DevOps).pptx
Robusta -Tool Presentation (DevOps).pptxKnoldus Inc.
 
Optimizing Kubernetes using GOLDILOCKS.pptx
Optimizing Kubernetes using GOLDILOCKS.pptxOptimizing Kubernetes using GOLDILOCKS.pptx
Optimizing Kubernetes using GOLDILOCKS.pptxKnoldus Inc.
 
Azure Function App Exception Handling.pptx
Azure Function App Exception Handling.pptxAzure Function App Exception Handling.pptx
Azure Function App Exception Handling.pptxKnoldus Inc.
 
CQRS Design Pattern Presentation (Java).pptx
CQRS Design Pattern Presentation (Java).pptxCQRS Design Pattern Presentation (Java).pptx
CQRS Design Pattern Presentation (Java).pptxKnoldus Inc.
 
ETL Observability: Azure to Snowflake Presentation
ETL Observability: Azure to Snowflake PresentationETL Observability: Azure to Snowflake Presentation
ETL Observability: Azure to Snowflake PresentationKnoldus Inc.
 
Scripting with K6 - Beyond the Basics Presentation
Scripting with K6 - Beyond the Basics PresentationScripting with K6 - Beyond the Basics Presentation
Scripting with K6 - Beyond the Basics PresentationKnoldus Inc.
 
Getting started with dotnet core Web APIs
Getting started with dotnet core Web APIsGetting started with dotnet core Web APIs
Getting started with dotnet core Web APIsKnoldus Inc.
 
Introduction To Rust part II Presentation
Introduction To Rust part II PresentationIntroduction To Rust part II Presentation
Introduction To Rust part II PresentationKnoldus Inc.
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Configuring Workflows & Validators in JIRA
Configuring Workflows & Validators in JIRAConfiguring Workflows & Validators in JIRA
Configuring Workflows & Validators in JIRAKnoldus Inc.
 
Advanced Python (with dependency injection and hydra configuration packages)
Advanced Python (with dependency injection and hydra configuration packages)Advanced Python (with dependency injection and hydra configuration packages)
Advanced Python (with dependency injection and hydra configuration packages)Knoldus Inc.
 
Azure Databricks (For Data Analytics).pptx
Azure Databricks (For Data Analytics).pptxAzure Databricks (For Data Analytics).pptx
Azure Databricks (For Data Analytics).pptxKnoldus Inc.
 
The Power of Dependency Injection with Dagger 2 and Kotlin
The Power of Dependency Injection with Dagger 2 and KotlinThe Power of Dependency Injection with Dagger 2 and Kotlin
The Power of Dependency Injection with Dagger 2 and KotlinKnoldus Inc.
 
Data Engineering with Databricks Presentation
Data Engineering with Databricks PresentationData Engineering with Databricks Presentation
Data Engineering with Databricks PresentationKnoldus Inc.
 
Databricks for MLOps Presentation (AI/ML)
Databricks for MLOps Presentation (AI/ML)Databricks for MLOps Presentation (AI/ML)
Databricks for MLOps Presentation (AI/ML)Knoldus Inc.
 
NoOps - (Automate Ops) Presentation.pptx
NoOps - (Automate Ops) Presentation.pptxNoOps - (Automate Ops) Presentation.pptx
NoOps - (Automate Ops) Presentation.pptxKnoldus Inc.
 
Mastering Distributed Performance Testing
Mastering Distributed Performance TestingMastering Distributed Performance Testing
Mastering Distributed Performance TestingKnoldus Inc.
 
MLops on Vertex AI Presentation (AI/ML).pptx
MLops on Vertex AI Presentation (AI/ML).pptxMLops on Vertex AI Presentation (AI/ML).pptx
MLops on Vertex AI Presentation (AI/ML).pptxKnoldus Inc.
 
Introduction to Ansible Tower Presentation
Introduction to Ansible Tower PresentationIntroduction to Ansible Tower Presentation
Introduction to Ansible Tower PresentationKnoldus Inc.
 
CQRS with dot net services presentation.
CQRS with dot net services presentation.CQRS with dot net services presentation.
CQRS with dot net services presentation.Knoldus Inc.
 

More from Knoldus Inc. (20)

Robusta -Tool Presentation (DevOps).pptx
Robusta -Tool Presentation (DevOps).pptxRobusta -Tool Presentation (DevOps).pptx
Robusta -Tool Presentation (DevOps).pptx
 
Optimizing Kubernetes using GOLDILOCKS.pptx
Optimizing Kubernetes using GOLDILOCKS.pptxOptimizing Kubernetes using GOLDILOCKS.pptx
Optimizing Kubernetes using GOLDILOCKS.pptx
 
Azure Function App Exception Handling.pptx
Azure Function App Exception Handling.pptxAzure Function App Exception Handling.pptx
Azure Function App Exception Handling.pptx
 
CQRS Design Pattern Presentation (Java).pptx
CQRS Design Pattern Presentation (Java).pptxCQRS Design Pattern Presentation (Java).pptx
CQRS Design Pattern Presentation (Java).pptx
 
ETL Observability: Azure to Snowflake Presentation
ETL Observability: Azure to Snowflake PresentationETL Observability: Azure to Snowflake Presentation
ETL Observability: Azure to Snowflake Presentation
 
Scripting with K6 - Beyond the Basics Presentation
Scripting with K6 - Beyond the Basics PresentationScripting with K6 - Beyond the Basics Presentation
Scripting with K6 - Beyond the Basics Presentation
 
Getting started with dotnet core Web APIs
Getting started with dotnet core Web APIsGetting started with dotnet core Web APIs
Getting started with dotnet core Web APIs
 
Introduction To Rust part II Presentation
Introduction To Rust part II PresentationIntroduction To Rust part II Presentation
Introduction To Rust part II Presentation
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Configuring Workflows & Validators in JIRA
Configuring Workflows & Validators in JIRAConfiguring Workflows & Validators in JIRA
Configuring Workflows & Validators in JIRA
 
Advanced Python (with dependency injection and hydra configuration packages)
Advanced Python (with dependency injection and hydra configuration packages)Advanced Python (with dependency injection and hydra configuration packages)
Advanced Python (with dependency injection and hydra configuration packages)
 
Azure Databricks (For Data Analytics).pptx
Azure Databricks (For Data Analytics).pptxAzure Databricks (For Data Analytics).pptx
Azure Databricks (For Data Analytics).pptx
 
The Power of Dependency Injection with Dagger 2 and Kotlin
The Power of Dependency Injection with Dagger 2 and KotlinThe Power of Dependency Injection with Dagger 2 and Kotlin
The Power of Dependency Injection with Dagger 2 and Kotlin
 
Data Engineering with Databricks Presentation
Data Engineering with Databricks PresentationData Engineering with Databricks Presentation
Data Engineering with Databricks Presentation
 
Databricks for MLOps Presentation (AI/ML)
Databricks for MLOps Presentation (AI/ML)Databricks for MLOps Presentation (AI/ML)
Databricks for MLOps Presentation (AI/ML)
 
NoOps - (Automate Ops) Presentation.pptx
NoOps - (Automate Ops) Presentation.pptxNoOps - (Automate Ops) Presentation.pptx
NoOps - (Automate Ops) Presentation.pptx
 
Mastering Distributed Performance Testing
Mastering Distributed Performance TestingMastering Distributed Performance Testing
Mastering Distributed Performance Testing
 
MLops on Vertex AI Presentation (AI/ML).pptx
MLops on Vertex AI Presentation (AI/ML).pptxMLops on Vertex AI Presentation (AI/ML).pptx
MLops on Vertex AI Presentation (AI/ML).pptx
 
Introduction to Ansible Tower Presentation
Introduction to Ansible Tower PresentationIntroduction to Ansible Tower Presentation
Introduction to Ansible Tower Presentation
 
CQRS with dot net services presentation.
CQRS with dot net services presentation.CQRS with dot net services presentation.
CQRS with dot net services presentation.
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 

Techniques for effective test data management in test automation.pptx

  • 1. Techniques for effective test data management in test automation Anshita Mathur QA Consultant – Test Automation Competency
  • 2. Lack of etiquette and manners is a huge turn off. KnolX Etiquettes  Punctuality Join the session 5 minutes prior to the session start time. We start on time and conclude on time!  Feedback Make sure to submit a constructive feedback for all sessions as it is very helpful for the presenter.  Silent Mode Keep your mobile devices in silent mode, feel free to move out of session in case you need to attend an urgent call.  Avoid Disturbance Avoid unwanted chit chat during the session.
  • 3. 1. Introduction to Test Data Management (TDM) 2. What is Test Data? 3. Types of Test Data 4. Importance of TDM in Test Automation 5. Challenges in Test Data Management 6. Techniques for Effective Test Data Management 7. Best Practices for Implementing Test Data Management 8. Demo 9. Q & A
  • 4.
  • 5. Introduction  Test Data Management (TDM) is a critical discipline within software testing and quality assurance that revolves around the planning, creation, maintenance, and provisioning of test data to ensure the effectiveness of testing processes.  In TDM, the focus is on managing and controlling the data that is used during the testing phase of software development, particularly in the context of test automation.
  • 6. Definition of Test Data  Test data is a set of inputs or conditions used to execute a software test.  It includes various parameters, values, and configurations that are applied to a software application to assess its functionality, performance, or behavior.  Test data serves as the litmus test for the integrity of technological solutions, ensuring they meet predefined criteria and perform optimally.
  • 7. Purpose of Test Data  Validation and Verification  Error Detection  Boundary Testing  Performance Testing  Security Testing  Integration Testing  Data Quality Assurance
  • 8. Types of Test Data  POSITIVE TEST DATA • Consists of inputs and conditions that are expected to produce correct and valid results.  NEGATIVE TEST DATA • Includes inputs intentionally chosen to trigger errors or exceptions in the application.  RANDOM TEST DATA • It involves selecting data inputs randomly, without a specific pattern, to test the system's robustness and ability to handle unexpected inputs.  DECISION TABLE TEST DATA • Test the data based on the decision table testing strategy.
  • 9. Continued..  STATIC TEST DATA • Consists of unchanging reference data used to validate system behavior over time.  DYNAMIC TEST DATA • Includes data that changes during testing to simulate real-world scenarios, this assesses how the application adapts to changing inputs.  EQUIVALENCE PARTITION TEST DATA • Test the application with the test data qualifying the equivalence partitions. • The goal is to reduce the number of test cases needed to cover all possible scenarios while still ensuring comprehensive testing.  BOUNDARY TEST DATA • It evaluates how the application behaves at the limits or boundaries of valid input. • For example: When testing a system that accepts values between 1 and 100, boundary test data would include values like 1, 100, and values just below and above those boundaries, such as 0, 101, and 99.
  • 10. How can we generate test data?  Manual Test Data Creation • In this approach, test data is generated manually by testers or data entry personnel. • It involves creating data directly in the application under test or populating databases with test values by hand. • While simple, this method can be time-consuming, error-prone, and may not be suitable for large datasets.  Test Data Generation via Automation • Test data can be automatically generated using scripts or code. • Test automation tools can be utilized to create data that mimics real-world scenarios. • This approach is efficient and repeatable, making it ideal for regression testing and performance testing.
  • 11. How can we generate test data?  Test Data Creation through Backend Injection • Here, test data is injected directly into the backend database or application. • This can be done using SQL scripts or other data manipulation methods. • It's useful for scenarios where you need specific data configurations or want to modify existing data to suit test cases.  Generating Test Data with Commercial Tools • Several commercial tools are available that offer features for test data generation. • These tools can help you create a variety of data types, including realistic, randomized, or parameterized datasets. • They often come with user-friendly interfaces and are suitable for organizations looking for comprehensive test data management solutions.
  • 12. Importance of TDM  Data Relevance and Realism  Accuracy and Quality Assurance  Efficiency and Resource Savings  Data Security and Privacy  Testing at Scale  Version Control and Traceability  Compliance and Regulatory Requirements  Reproducibility and Consistency  Reduced Risk of Production Data Contamination  Collaboration and Team Efficiency
  • 13. FORES Lack of Awareness and Standardization Surrounding TDM Lack of Relevant Data During Testing Data Variations and Combinations Lack of Accuracy in Data Performance HEALTH Data Synchronization with Application Changes temperature Invalid Data and Lack of Data Consistency GREENHOU SE EFFECT Complexity in Workflow OCEANS RENEWABLE ENERGY Challenges in TDM Compromised Data Integration Challenges in TDM
  • 14. Techniques for Test Data Management (TDM)  Data Profiling and Discovery: • Analyzing and understanding the existing data to identify patterns, relationships, and potential sources.  Data Sub setting: • Selecting a subset of production data for testing, reducing data volume and improving test efficiency.  Data Cloning and Masking: • Creating copies of production data while protecting sensitive information through data masking or anonymization.  Data Generation: • Generating synthetic data using tools, scripts, or algorithms to create diverse and controlled test scenarios.  Data Virtualization: • Creating virtual copies of data to reduce the need for data cloning and save storage space.  Data Synchronization with Application Changes: • Keeping test data aligned with software changes by updating and modifying test data as the application evolves.  Data Validation and Verification: • Applying validation checks to ensure data accuracy and integrity while verifying that test data aligns with expected outcomes.  Data Reconciliation: • Comparing data before and after testing to identify discrepancies, errors, or changes, ensuring data consistency.
  • 15. Data Generation Data-Driven Testing Data Masking  Randomized Data Replacement: Replace sensitive data with random values of the same data type. For example, replace real names with random names.  Substitution: Replace sensitive data with predefined, fictional data. For instance, replace real credit card numbers with fake ones.  Shuffling: Shuffle or rearrange characters within a data field. This can be useful for masking email addresses or phone numbers.  Random Data Generation: Generate random data values within the valid range of the data type. For instance, generating random dates or numbers within specified limits.  Rule-Based Generation: Create data using predefined rules and formulas. For example, generating valid product IDs based on a formula.  Data Pools: Maintain pools of data that represent different scenarios or personas. For example, having data pools for various user roles in a CRM system.  Parameterization: Create test cases with placeholders for data values. These placeholders are filled in at runtime with values from the external data source.  CSV/Excel Files: Store test data in CSV or Excel files that can be easily read by test scripts. Each row of the file represents a different test case.  Database Integration: Fetch test data from a database and use it to parameterize test cases. This is helpful for scenarios with large datasets.
  • 16. What are the Test Data Management Best Practices?  Focus on Data security  Focus to Application Security  Effective Planning  Automation is crucial  Isolation of test data from real data  Continuous Data Analysis  Mock the production environment