SlideShare a Scribd company logo
1 of 21
Welcome!
Continuous Integration
Testing for SAP
Shift-Left Testing with Continuous Integration
Solutions from Worksoft
©2018 Worksoft, Inc. All trademarks and product names mentioned herein are the
property of their respective owners in the United States, Canada and/or other countries.
The information contained herein is subject to change without notice. All rights
reserved.
November 2018
Agenda
• It’s a Continuous World
• CI Key Considerations
• Running Certify Tests from CI
Servers
• Scaling Testing with Worksoft
Execution Manager
• Q and A
3
Chris Kraus
Worksoft Product Manager
ckraus@Worksoft.com
Business Developer
PRE-PROD PROD
Tester Operations
Continuous Integration
Continuous Improvement
Continuous Deployment
Continuous Delivery
Continuous Testing
Continuous Quality
Plan Prepare/Explore Realize: Build Test Deploy Run
It’s a Continuous World…
Continuous Integration 101
• Developer
• Writes code
• Commits the code into the source
code control system
• Source Control System
• Triggers the CI Server
• CI Server
• Triggers the automated build and
tests
• Reports results back to the
developer
5
CI Server
“CI is a must-do in the DevOps space, right
after version control becomes ubiquitous.”
- State of DevOps Report 2018
Continuous Integration 101
• Developer
• Writes code
• Commits the code into the source
Code Control System
• Source Control System
• Triggers the CI Server
• CI Server
• Triggers the automated build and
tests
• Reports results back to the developer
• Build Kept Under 10 minutes
• Second stage build needed for full
end-to-end testing
6
CI Server
“The second stage build runs a different suite
of tests that do hit the real database and involve
more end-to-end behavior.”
- Martin Fowler, Continuous Integration
First Build Triggered by
Source Control Change
2nd Stage Build
Batch Triggered
from Test
Management
System of Record
Continuous Integration Ecosystem –SAP View
7
Requirements Management
Tracking and Reporting
System
Defect Tracking
Source Code
Control System
Test Management System
Test Automation Library
and Execution API
CI Server
Core Principles of Continuous Integration
8
Sources:
SAP: https://developers.sap.com/tutorials/ci-best-practices-ci-cd.html
Martin Fowler: https://www.martinfowler.com/articles/continuousIntegration.html
Keep Everything Under
Version Control
• Requirements
• Changes Lists
Automate the Build
• Centralized and reproducible
Run Unit Tests in the
First Build
• Identify regressions as soon as
possible
• Test as much as possible
• Orchestrate tests to maximize
resource utilization
Commit Early and Often
• Integrate in small steps
Build Each Change
• Test each change
Fix Errors Immediately
• Do not accumulate errors
Keep the Build Fast
• Institute a “second” build to run
end-to-end tests
• Schedule slow tests during off-
peak hours
Test in a Copy of the
Production Environment
• Test how the user will use the
system
• No easy way to map from requirements >
source control > change lists > test
management system
• Multiple sprints working in parallel but not on
the same board
• Understanding of a process lies with the
business
• A single process can include 100s of steps
9
“We struggle with knowing exactly what to test and exactly are business processes
are. With the adoption of the Fiori interface and SuccessFactors, we see things only
becoming more complicated.”
- SAP Functional Lead
Key Considerations: Source Control
System and Change Lists
Key Considerations: What Tests Run When and Where
10
Application Owners / DevTest Pre-Prod Prod
Sprint Team
End-to-End Testing Considerations
• Ownership of test creation and
maintenance
• Test reuse/scalability – ability to
feed CI/CT cycles
• UI version changes
Continuous
Integration
1st Build:
Unit Tests
Continuous
Testing
2nd Build:
EtoE Tests
Operational Change
Management Team
Solution: A Two-Tiered
Approach
11
Example: Scheduled Continuous Testing
• If it takes 4 hours to to do end-to-end
• Run it every 6 hours to reduce the number
of changes
• This still makes it faster to do root cause
analysis (AKA Check in often)
• But for testing (MTTR/MTTI)
Source: Forrester Research
Continuous Integration and Continuous Testing: Better Together
12
Realize: Build Test Deploy
Sprint 1 - 3
Sprint 4 - 6
Unit Tests
Unit Tests
Functional
Test
Functional
Test
Functional
Integration Test
Sprint 7 - 10
Sprint 11 - 14
Unit Tests
Unit Tests
Functional
Test
Functional
Test
Functional
Integration Test
Cross Platform End-to-End Test Automation
Bidirectional Communication with CI Servers and ALMs
Worksoft Certify
Execution Manager
Worksoft CI Solution for Enterprise Applications
Certify: Test Creation and Management
• In DevOps developers write unit tests and “drop”
them into a folder to be run
• In Worksoft standard naming conventions tell you if
your folder is production or sandbox
• Create a folder with your on-demand, daily, weekly
tests
• New features
• Create a bookmark of your folders
• Run your bookmarks easily from API’s
14
DevOps Tool Chain
• What technologies will you
need
• Who will be using
• What needs to work together
UI Driven
• Logging in and out of system
• Differences in UIs and version
updates
• Orchestration and execution of
tests on demand at scale
15
“We need to extend ERP testing thru CI/CD so we can release changes at the pace we need
to.. Sr. management wants us to be more agile and ensure changes don’t break things
upstream or downstream from where that change took place.”
- Sr. Mgr. Technical Services
Second Build: Scaling and Testing in Pre-Prod
Solution: Execution Manager (EM) Working with CI Server
System Access
• Enable unattended UI
testing by auto-logging into
machines
System Security
• EM not only handles logging
in to the machine but also
logging out of the machine
after the test has been run
Test Orchestration
• EM orchestrates test across
a variety of OSs, devices
and applications
Parallel Test Execution
• EM can schedule and run
tests in remote or cloud-
based test labs when the CI
server and test lab are the
same, or via REST calls
ALM System Support
• Certify and EM integrations
with ALM systems can be
used to execute test plans
from the ALM and post
results
16
Worksoft Execution Manager
Supports Continuous Integration and Continuous Testing
• Schedule tests to run nights
and weekends
• Execute locally and in the
cloud
• Hardware or virtual machines
• Add intelligence to your
schedule:
• Run daily, hourly, weekly
• From CI/CD
• Run tests based on outcome
of prior tests
• Reports delivered via e-mail
Worksoft CI/CT Process Flow with Jenkins
Jenkins builds
and creates build
number
Build Number
Call Execution
Manager
REST
Run Certify Tests
Get Status
CI/CD Server
On premise Test Lab 2
EM
Agent
Execution
Manager
Remote Test Lab 1
EM
Agent
EM
Agent
EM
Agent
EM
Agent
EM
Agent
Demo Time!
Summary: Continuous Integration is Not Enough!
20 Source: SAP
Related Resources
• Related Blogs:
• Is Continuous Integration and Continuous Testing a One Size Fits All? No …
and Here’s Why.
• Top 5 Questions Asked About Worksoft in Agile-Plus-DevOps Environments
• Demos:
• Continuous Integration with Jenkins Demo
• Daily Continuous Testing with Worksoft and Jenkins
• End-to-End Agile Testing for SAP with Worksoft Certify
• ALM Integration Support
• Micro Focus (HP) ALM: https://www.worksoft.com/micro-focus-hp-alm-
integrations-support
• SAP Solution Manager: https://www.worksoft.com/testing-framework-sap-
solution-manager
• Panaya Dynamix: https://youtu.be/giPqj6JLapQ
21
Thank YOU!
22

More Related Content

What's hot

Agile Testing Strategy
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategy
tharindakasun
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 
Agile Testing Process
Agile Testing ProcessAgile Testing Process
Agile Testing Process
Intetics
 
Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach
Keytorc Software Testing Services
 

What's hot (20)

TCoE
TCoETCoE
TCoE
 
Introduction to Software Test Automation
Introduction to Software Test AutomationIntroduction to Software Test Automation
Introduction to Software Test Automation
 
Scrum Testing Methodology
Scrum Testing MethodologyScrum Testing Methodology
Scrum Testing Methodology
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
Agile Testing Strategy
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategy
 
A Top Down Approach to End-to-End Testing
A Top Down Approach to End-to-End TestingA Top Down Approach to End-to-End Testing
A Top Down Approach to End-to-End Testing
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
Introduction to qualitia software
Introduction to qualitia softwareIntroduction to qualitia software
Introduction to qualitia software
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 
Need for automation testing
Need for automation testingNeed for automation testing
Need for automation testing
 
QA Best Practices in Agile World_new
QA Best Practices in Agile World_newQA Best Practices in Agile World_new
QA Best Practices in Agile World_new
 
Test automation process
Test automation processTest automation process
Test automation process
 
Testing & Quality Assurance
Testing & Quality AssuranceTesting & Quality Assurance
Testing & Quality Assurance
 
Tcoe team
Tcoe teamTcoe team
Tcoe team
 
Introduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and ToolsIntroduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and Tools
 
Emerging QA COE Practice by Mukund Wangikar
Emerging QA COE Practice by Mukund WangikarEmerging QA COE Practice by Mukund Wangikar
Emerging QA COE Practice by Mukund Wangikar
 
Agile QA and Testing process
Agile QA and Testing processAgile QA and Testing process
Agile QA and Testing process
 
Test automation wipro
Test automation   wiproTest automation   wipro
Test automation wipro
 
Agile Testing Process
Agile Testing ProcessAgile Testing Process
Agile Testing Process
 
Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach
 

Similar to Continuous Integration Testing for SAP

Continuous deployment steve povilaitis
Continuous deployment   steve povilaitisContinuous deployment   steve povilaitis
Continuous deployment steve povilaitis
Steve Povilaitis
 

Similar to Continuous Integration Testing for SAP (20)

Presentation on 3 Pillars of DevOps - Kovair DevOps
Presentation on 3 Pillars of DevOps - Kovair DevOpsPresentation on 3 Pillars of DevOps - Kovair DevOps
Presentation on 3 Pillars of DevOps - Kovair DevOps
 
How to Add Perfecto to Your CI
How to Add Perfecto to Your CIHow to Add Perfecto to Your CI
How to Add Perfecto to Your CI
 
Flight East 2018 Presentation–Continuous Integration––An Overview
Flight East 2018 Presentation–Continuous Integration––An OverviewFlight East 2018 Presentation–Continuous Integration––An Overview
Flight East 2018 Presentation–Continuous Integration––An Overview
 
Continuous Delivery for Open Source Java projects
Continuous Delivery for Open Source Java projectsContinuous Delivery for Open Source Java projects
Continuous Delivery for Open Source Java projects
 
CD
CDCD
CD
 
Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014
 
Innovation in Action - #MFSummit2017
Innovation in Action - #MFSummit2017Innovation in Action - #MFSummit2017
Innovation in Action - #MFSummit2017
 
Change management in hybrid landscapes
Change management in hybrid landscapesChange management in hybrid landscapes
Change management in hybrid landscapes
 
Test automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application ServerTest automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application Server
 
Introduction to Continuous Integration
Introduction to Continuous IntegrationIntroduction to Continuous Integration
Introduction to Continuous Integration
 
Continuous deployment steve povilaitis
Continuous deployment   steve povilaitisContinuous deployment   steve povilaitis
Continuous deployment steve povilaitis
 
Continuous delivery @wcap 5-09-2013
Continuous delivery   @wcap 5-09-2013Continuous delivery   @wcap 5-09-2013
Continuous delivery @wcap 5-09-2013
 
Getting to Walk with DevOps
Getting to Walk with DevOpsGetting to Walk with DevOps
Getting to Walk with DevOps
 
No Devops Without Continuous Testing
No Devops Without Continuous TestingNo Devops Without Continuous Testing
No Devops Without Continuous Testing
 
Salesforce Continuous Integration with AutoRABIT
Salesforce Continuous Integration with AutoRABITSalesforce Continuous Integration with AutoRABIT
Salesforce Continuous Integration with AutoRABIT
 
SplunkLive! London 2016 Splunk for Devops
SplunkLive! London 2016 Splunk for DevopsSplunkLive! London 2016 Splunk for Devops
SplunkLive! London 2016 Splunk for Devops
 
5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation
 
Sencha Roadshow 2017: Best Practices for Implementing Continuous Web App Testing
Sencha Roadshow 2017: Best Practices for Implementing Continuous Web App TestingSencha Roadshow 2017: Best Practices for Implementing Continuous Web App Testing
Sencha Roadshow 2017: Best Practices for Implementing Continuous Web App Testing
 
DevOps with Microsoft Stack
DevOps with Microsoft StackDevOps with Microsoft Stack
DevOps with Microsoft Stack
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
 

More from Worksoft

More from Worksoft (20)

Agile-plus-DevOps Testing for Packaged Applications
Agile-plus-DevOps Testing for Packaged ApplicationsAgile-plus-DevOps Testing for Packaged Applications
Agile-plus-DevOps Testing for Packaged Applications
 
Testing Guide for SAP SuccessFactors
Testing Guide for SAP SuccessFactorsTesting Guide for SAP SuccessFactors
Testing Guide for SAP SuccessFactors
 
Insurance for your Assurance Team
Insurance for your Assurance TeamInsurance for your Assurance Team
Insurance for your Assurance Team
 
Accelerate Your Test Automation Journey with Process Mining for SAP
Accelerate Your Test Automation Journey with Process Mining for SAPAccelerate Your Test Automation Journey with Process Mining for SAP
Accelerate Your Test Automation Journey with Process Mining for SAP
 
Lights-Out Testing for Lights-On Business
Lights-Out Testing for Lights-On BusinessLights-Out Testing for Lights-On Business
Lights-Out Testing for Lights-On Business
 
Packaged vs. Custom Application Testing
Packaged vs. Custom Application TestingPackaged vs. Custom Application Testing
Packaged vs. Custom Application Testing
 
Test Automation is for Everyone
Test Automation is for EveryoneTest Automation is for Everyone
Test Automation is for Everyone
 
What's New with Worksoft Certify
What's New with Worksoft CertifyWhat's New with Worksoft Certify
What's New with Worksoft Certify
 
SAP Business Blueprint Auto-Generation
SAP Business Blueprint Auto-Generation SAP Business Blueprint Auto-Generation
SAP Business Blueprint Auto-Generation
 
Business Process Quality at Citrix
Business Process Quality at CitrixBusiness Process Quality at Citrix
Business Process Quality at Citrix
 
YETI Cooler's Guide to Pulling off a Rock Solid SAP S/4HANA Software Implemen...
YETI Cooler's Guide to Pulling off a Rock Solid SAP S/4HANA Software Implemen...YETI Cooler's Guide to Pulling off a Rock Solid SAP S/4HANA Software Implemen...
YETI Cooler's Guide to Pulling off a Rock Solid SAP S/4HANA Software Implemen...
 
Escape the Scripts of HP UFT
Escape the Scripts of HP UFTEscape the Scripts of HP UFT
Escape the Scripts of HP UFT
 
Everything You Need to Build a Risk-Based Testing Strategy for SAP
Everything You Need to Build a Risk-Based Testing Strategy for SAPEverything You Need to Build a Risk-Based Testing Strategy for SAP
Everything You Need to Build a Risk-Based Testing Strategy for SAP
 
Stop manual testing: Take your weekends back!
Stop manual testing: Take your weekends back! Stop manual testing: Take your weekends back!
Stop manual testing: Take your weekends back!
 
Digital Testing Strategy: Replace Manual Testing with Intelligent Automation
Digital Testing Strategy: Replace Manual Testing with Intelligent AutomationDigital Testing Strategy: Replace Manual Testing with Intelligent Automation
Digital Testing Strategy: Replace Manual Testing with Intelligent Automation
 
Newport News Shipbuilding Takes the Pain out of Compliance & Testing
Newport News Shipbuilding Takes the Pain out of Compliance & TestingNewport News Shipbuilding Takes the Pain out of Compliance & Testing
Newport News Shipbuilding Takes the Pain out of Compliance & Testing
 
The Road to Simple: Accelerate S/4HANA Adoption with Automation
The Road to Simple: Accelerate S/4HANA Adoption with AutomationThe Road to Simple: Accelerate S/4HANA Adoption with Automation
The Road to Simple: Accelerate S/4HANA Adoption with Automation
 
Test Automation in Business and Enterprise Digital Strategies
Test Automation in Business and Enterprise Digital StrategiesTest Automation in Business and Enterprise Digital Strategies
Test Automation in Business and Enterprise Digital Strategies
 
CenturyLink's Game-Changing Strategies for Increasing Project Quality
CenturyLink's Game-Changing Strategies for Increasing Project QualityCenturyLink's Game-Changing Strategies for Increasing Project Quality
CenturyLink's Game-Changing Strategies for Increasing Project Quality
 
Accelerate Adoption of SAP S/4HANA with Intelligent, Continuous Automation
Accelerate Adoption of SAP S/4HANA with Intelligent, Continuous AutomationAccelerate Adoption of SAP S/4HANA with Intelligent, Continuous Automation
Accelerate Adoption of SAP S/4HANA with Intelligent, Continuous Automation
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Continuous Integration Testing for SAP

  • 1. Welcome! Continuous Integration Testing for SAP Shift-Left Testing with Continuous Integration Solutions from Worksoft ©2018 Worksoft, Inc. All trademarks and product names mentioned herein are the property of their respective owners in the United States, Canada and/or other countries. The information contained herein is subject to change without notice. All rights reserved. November 2018
  • 2. Agenda • It’s a Continuous World • CI Key Considerations • Running Certify Tests from CI Servers • Scaling Testing with Worksoft Execution Manager • Q and A 3 Chris Kraus Worksoft Product Manager ckraus@Worksoft.com
  • 3. Business Developer PRE-PROD PROD Tester Operations Continuous Integration Continuous Improvement Continuous Deployment Continuous Delivery Continuous Testing Continuous Quality Plan Prepare/Explore Realize: Build Test Deploy Run It’s a Continuous World…
  • 4. Continuous Integration 101 • Developer • Writes code • Commits the code into the source code control system • Source Control System • Triggers the CI Server • CI Server • Triggers the automated build and tests • Reports results back to the developer 5 CI Server “CI is a must-do in the DevOps space, right after version control becomes ubiquitous.” - State of DevOps Report 2018
  • 5. Continuous Integration 101 • Developer • Writes code • Commits the code into the source Code Control System • Source Control System • Triggers the CI Server • CI Server • Triggers the automated build and tests • Reports results back to the developer • Build Kept Under 10 minutes • Second stage build needed for full end-to-end testing 6 CI Server “The second stage build runs a different suite of tests that do hit the real database and involve more end-to-end behavior.” - Martin Fowler, Continuous Integration First Build Triggered by Source Control Change 2nd Stage Build Batch Triggered from Test Management System of Record
  • 6. Continuous Integration Ecosystem –SAP View 7 Requirements Management Tracking and Reporting System Defect Tracking Source Code Control System Test Management System Test Automation Library and Execution API CI Server
  • 7. Core Principles of Continuous Integration 8 Sources: SAP: https://developers.sap.com/tutorials/ci-best-practices-ci-cd.html Martin Fowler: https://www.martinfowler.com/articles/continuousIntegration.html Keep Everything Under Version Control • Requirements • Changes Lists Automate the Build • Centralized and reproducible Run Unit Tests in the First Build • Identify regressions as soon as possible • Test as much as possible • Orchestrate tests to maximize resource utilization Commit Early and Often • Integrate in small steps Build Each Change • Test each change Fix Errors Immediately • Do not accumulate errors Keep the Build Fast • Institute a “second” build to run end-to-end tests • Schedule slow tests during off- peak hours Test in a Copy of the Production Environment • Test how the user will use the system
  • 8. • No easy way to map from requirements > source control > change lists > test management system • Multiple sprints working in parallel but not on the same board • Understanding of a process lies with the business • A single process can include 100s of steps 9 “We struggle with knowing exactly what to test and exactly are business processes are. With the adoption of the Fiori interface and SuccessFactors, we see things only becoming more complicated.” - SAP Functional Lead Key Considerations: Source Control System and Change Lists
  • 9. Key Considerations: What Tests Run When and Where 10 Application Owners / DevTest Pre-Prod Prod Sprint Team End-to-End Testing Considerations • Ownership of test creation and maintenance • Test reuse/scalability – ability to feed CI/CT cycles • UI version changes Continuous Integration 1st Build: Unit Tests Continuous Testing 2nd Build: EtoE Tests Operational Change Management Team
  • 10. Solution: A Two-Tiered Approach 11 Example: Scheduled Continuous Testing • If it takes 4 hours to to do end-to-end • Run it every 6 hours to reduce the number of changes • This still makes it faster to do root cause analysis (AKA Check in often) • But for testing (MTTR/MTTI) Source: Forrester Research
  • 11. Continuous Integration and Continuous Testing: Better Together 12 Realize: Build Test Deploy Sprint 1 - 3 Sprint 4 - 6 Unit Tests Unit Tests Functional Test Functional Test Functional Integration Test Sprint 7 - 10 Sprint 11 - 14 Unit Tests Unit Tests Functional Test Functional Test Functional Integration Test
  • 12. Cross Platform End-to-End Test Automation Bidirectional Communication with CI Servers and ALMs Worksoft Certify Execution Manager Worksoft CI Solution for Enterprise Applications
  • 13. Certify: Test Creation and Management • In DevOps developers write unit tests and “drop” them into a folder to be run • In Worksoft standard naming conventions tell you if your folder is production or sandbox • Create a folder with your on-demand, daily, weekly tests • New features • Create a bookmark of your folders • Run your bookmarks easily from API’s 14
  • 14. DevOps Tool Chain • What technologies will you need • Who will be using • What needs to work together UI Driven • Logging in and out of system • Differences in UIs and version updates • Orchestration and execution of tests on demand at scale 15 “We need to extend ERP testing thru CI/CD so we can release changes at the pace we need to.. Sr. management wants us to be more agile and ensure changes don’t break things upstream or downstream from where that change took place.” - Sr. Mgr. Technical Services Second Build: Scaling and Testing in Pre-Prod
  • 15. Solution: Execution Manager (EM) Working with CI Server System Access • Enable unattended UI testing by auto-logging into machines System Security • EM not only handles logging in to the machine but also logging out of the machine after the test has been run Test Orchestration • EM orchestrates test across a variety of OSs, devices and applications Parallel Test Execution • EM can schedule and run tests in remote or cloud- based test labs when the CI server and test lab are the same, or via REST calls ALM System Support • Certify and EM integrations with ALM systems can be used to execute test plans from the ALM and post results 16
  • 16. Worksoft Execution Manager Supports Continuous Integration and Continuous Testing • Schedule tests to run nights and weekends • Execute locally and in the cloud • Hardware or virtual machines • Add intelligence to your schedule: • Run daily, hourly, weekly • From CI/CD • Run tests based on outcome of prior tests • Reports delivered via e-mail
  • 17. Worksoft CI/CT Process Flow with Jenkins Jenkins builds and creates build number Build Number Call Execution Manager REST Run Certify Tests Get Status CI/CD Server On premise Test Lab 2 EM Agent Execution Manager Remote Test Lab 1 EM Agent EM Agent EM Agent EM Agent EM Agent
  • 19. Summary: Continuous Integration is Not Enough! 20 Source: SAP
  • 20. Related Resources • Related Blogs: • Is Continuous Integration and Continuous Testing a One Size Fits All? No … and Here’s Why. • Top 5 Questions Asked About Worksoft in Agile-Plus-DevOps Environments • Demos: • Continuous Integration with Jenkins Demo • Daily Continuous Testing with Worksoft and Jenkins • End-to-End Agile Testing for SAP with Worksoft Certify • ALM Integration Support • Micro Focus (HP) ALM: https://www.worksoft.com/micro-focus-hp-alm- integrations-support • SAP Solution Manager: https://www.worksoft.com/testing-framework-sap- solution-manager • Panaya Dynamix: https://youtu.be/giPqj6JLapQ 21

Editor's Notes

  1. Continuous Integration Testing for SAP November 08, 2018 • 10:00 am - 11:00 am CST Shift-Left Testing with Continuous Integration Solutions from Worksoft Continuous Integration is a more modern approach to development. It delivers clear value around managing code changes and has been quickly and widely adopted by teams building custom applications. Worksoft offers out-of-the box integration with Jenkins, Microsoft Visual Studio TFS, Cruise Control, Bamboo, Control-M, Micro Focus (HP) ALM, Micro Focus (HP) Octane, SAP Solution Manager, Jira, and others. This webinar will address the following: Running Certify tests from CI servers Enabling unattended parallel test execution and reporting What CI change lists look like with packaged apps like SAP Why to use Execution Manager for CI with/or instead of Jenkins
  2. CI – Common environment “Worked fine on my machine” Shift Left – “You Build it You Own It”
  3. https://www.martinfowler.com/articles/continuousIntegration.html
  4. Is this more of a weakest link? When you have a release train with lots of cars If one car fails or detaches the entire release halts This is like the weekest link in testing. Chain is complex – multiple tools Chain is complex – Multiple sprint teams Chain is complex - UI testing is hard but it is how the end users see the process and data.