SlideShare a Scribd company logo
Cairo Testing Meetup
Sponsorship By Hosted By
Moataz Nabil
Software Engineer in Test ,
Zalando Lounge
Berlin , Germany
moataznabil.net
05.10.2018
QA Automation Pipeline
(Web , API and Performance Tests)
Learn How to Build Your Own
Cairo Testing Meetup
AGENDA
Who Am I
About Zalando
What is Continuous Delivery ?
QA Pipeline
Today we will take a look about
Tech Stack
Demo – Run Automation Tests locally
Continuous Integration
Run QA Automation Pipeline with Jenkins Pipeline
Build Your Configuration via Jenkinsfile and Jenkins Pipelines
Questions
WHO AM I ?
• Currently I'm working as SDET at Zalando in Berlin , Germany
• I have 14+ years of IT experience across development and testing
roles, automation testing , software quality assurance ,
performance and service delivery.
• I worked in Egypt before in different companies such as (Integrant
and Cequens) and working as Technical instructor and consultant
at TestPRO and delivered selenium automation course to different
groups.
• Recently I published my first Automation Course using Selenium
WebDriver on Udemy and I have channel on YouTube and also I
published different articles on LinkedIn and Medium
Image source : Zalando SE
In the past years, software delivery has made a big step
forward thanks to the implementation of continuous delivery.
Quality Assurance is no exception, and the acceleration of the
QA pipeline has helped shorten delivery cycles and bring
higher quality software.
What is Continuous Delivery – AKA CD ?
• Continuous Delivery is the ability to get changes
of all types—including new features, configuration
changes, bug fixes and experiments—into
production, or into the hands of
users, safely and quickly in a sustainable way.
• The goal is to make deployments—whether of a
large-scale distributed system, a complex
production environment, an embedded system, or
an app—predictable, routine affairs that can be
performed on demand.
Why Most Companies Are Getting Continuous
Delivery Wrong?
What comes to your mind when I say the words Continuous Integration
(CI) and Continuous Delivery (CD)?
You’re probably already thinking of popular tools and systems that
enable these processes, such as Jenkins CI, Ansible or Bamboo, and
wondering how to integrate them so you can proudly say that your
organization has a fully operational CI/CD process.
 We tend to spend a lot of time talking about the tools required to
ensure a successful Continuous Delivery process - and not enough
focusing on other critical elements.
 Don’t get me wrong, you simply can’t have a Continuous Delivery
process without automated tools and systems - but there’s more to it
than that.
The tools are vital. But they come second.
Why Continuous Delivery Isn’t Just About the
Tools?
• Each Department Has its Own Needs When it Comes to CD
• You Need to Think About the Process - Not Just the End
Result
Continuous Delivery Success: 5 Things to
Remember
Establishing a successful Continuous Delivery process in your organization is within
your reach.
Just remember these five points before you get started:
1. Focus on the process before the tools
2. Understand the needs of each team
3. Build one process to merge the combined needs of every team in the company
4. Implement the tools
5. Appoint a Continuous Delivery Engineer to manage all of the above!
For Continuous Delivery
People Come Before the
Tools
Enterprise Architecture + Organizational Culture
=
Continuous Delivery
Continous Integration vs. Continous Delivery
vs. Continous Deployment
QA Pipeline !
A fast and reliabel QA Pipeline is usually based on multi-level
automation tests and stable continuous integration, which
runs all of these tests on a daily basis against different test
environments.
Today we will take a look about
• A simple test automation framework written in Java programming
language, which contains basic test scenarios created by using some
of the most popular testing frameworks (Rest Assured, Serenity and
Selenium), which you might find very useful for your needs)
• Integrating with some of the most well known automation tools
• Executing different types of tests
• Adding beautiful visualization to created test automation pipeline
with the Jenkins Blue Ocean
Tech Stack
• Java
• Apache Maven
• JUnit - a basic Java unit tests framework
• Serenity - the backbone of the automation framework
that provides many useful features, like detailed
reporting, parallel execution and tests grouping by tags
• REST Assured - a framework for REST API tests
• Selenium WebDriver - a tool for UI automation tests
and web browser interaction
• Taurus - a performance testing tool that allows you to
write performance tests via yml scripts
Run Automation tests (Web , API and
Performance) locally
You can run smoke, API and UI tests accordingly:
mvn clean verify -Dtags="type:Smoke"
mvn clean verify -Dtags="type:API"
mvn clean verify -Dtags="type:UI"
bzt test.yml
For performance
Test using Taurus
Continuous Integration
• As soon as you implemented your first tests automation suite, it’s
time to take care of automation execution.
• Of course, you can run your tests manually, but it doesn’t make
sense if you can automate this step as well.
Automating Execution has many benefits
• Faster tests result feedback (you can configure automation tests to
run as soon as the code has been committed)
• Some tests might have a longer execution time and you can set
up nightly runs to verify results in the morning
• Fewer mistakes can happen if steps are automated (avoid human
errors)
• You can configure several agents to run automation tests in
parallel in different environments
Jenkins CI
One of the most commonly used CI servers for automation needs
is Jenkins. It is open source, allows you to run any kind of tests, and
integrates with almost anything you can imagine. It has one of the
biggest open source communities, and they bring Jenkins to new levels
year after year.
Build Your Configuration via Jenkinsfile and
Jenkins Pipelines
• Jenkins pipelines is a continuous delivery through code tool, which is
usually added under version control tools like Git.
• It basically means that you can configure, maintain, revert and add
build plans the same way you work with a code.
• At the same time, the Jenkins pipelines workflow has a nice
representation that shows you all steps of your build plan in action.
• This gives you a nice view on build steps with timing and results for
each.
• A file that contains pipelines code with build configuration is called
Jenkinsfile.
What is Blue Ocean ?
• Blue Ocean is a project developed by the Jenkins community team,
which improves the experience of using Jenkins pipelines for
continuous integration pipeline representation.
• First, you need to install required plugins. Go into “Manage Jenkins” ->
“Manage plugins” -> “Available” -> search for ‘Blue Ocean’
Run QA Automation Pipeline with Jenkins
Pipeline
Now It’s your Turn
• I hope this was useful and gave you useful information for
building your own automation tests pipeline, maybe from
scratch.
• Now, It‘s your turn to know more about Serenity, Selenium,
Taurus, Jenkins and automation tests in general
Questions ?!
Thank You ! 

More Related Content

What's hot

Agile test-management-test-rail-lastest
Agile test-management-test-rail-lastestAgile test-management-test-rail-lastest
Agile test-management-test-rail-lastest
Onur Baskirt
 
End to end test automation with cypress
End to end test automation with cypressEnd to end test automation with cypress
End to end test automation with cypress
PankajSingh184960
 
Test Automation
Test AutomationTest Automation
Test Automation
rockoder
 
Selenium with Cucumber
Selenium  with Cucumber Selenium  with Cucumber
Selenium with Cucumber
Knoldus Inc.
 
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery
Scriptless Automation Testing: A Unique Framework To Accelerate DeliveryScriptless Automation Testing: A Unique Framework To Accelerate Delivery
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery
Net Solutions
 
Web automation using selenium.ppt
Web automation using selenium.pptWeb automation using selenium.ppt
Web automation using selenium.ppt
Ana Sarbescu
 
Cypress testing
Cypress testingCypress testing
Cypress testing
Vladyslav Romanchenko
 
Sanity testing and smoke testing
Sanity testing and smoke testingSanity testing and smoke testing
Sanity testing and smoke testing
MUHAMMAD FARHAN ASLAM
 
Testing types functional and nonfunctional - Kati Holasz
Testing types   functional and nonfunctional - Kati HolaszTesting types   functional and nonfunctional - Kati Holasz
Testing types functional and nonfunctional - Kati Holasz
Holasz Kati
 
Test automation
Test automationTest automation
Test automation
Xavier Yin
 
Agile QA presentation
Agile QA presentationAgile QA presentation
Agile QA presentation
Carl Bruiners
 
Cypress - Best Practices
Cypress - Best PracticesCypress - Best Practices
Cypress - Best Practices
Brian Mann
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
Khaja Moiz Uddin
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Anirudh Raja
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
Leonard Fingerman
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
Lee Barnes
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
didev
 
Software test management overview for managers
Software test management overview for managersSoftware test management overview for managers
Software test management overview for managers
TJamesLeDoux
 

What's hot (20)

Agile test-management-test-rail-lastest
Agile test-management-test-rail-lastestAgile test-management-test-rail-lastest
Agile test-management-test-rail-lastest
 
End to end test automation with cypress
End to end test automation with cypressEnd to end test automation with cypress
End to end test automation with cypress
 
QA-presentation
QA-presentationQA-presentation
QA-presentation
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Selenium with Cucumber
Selenium  with Cucumber Selenium  with Cucumber
Selenium with Cucumber
 
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery
Scriptless Automation Testing: A Unique Framework To Accelerate DeliveryScriptless Automation Testing: A Unique Framework To Accelerate Delivery
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery
 
Web automation using selenium.ppt
Web automation using selenium.pptWeb automation using selenium.ppt
Web automation using selenium.ppt
 
Cypress testing
Cypress testingCypress testing
Cypress testing
 
Sanity testing and smoke testing
Sanity testing and smoke testingSanity testing and smoke testing
Sanity testing and smoke testing
 
Testing types functional and nonfunctional - Kati Holasz
Testing types   functional and nonfunctional - Kati HolaszTesting types   functional and nonfunctional - Kati Holasz
Testing types functional and nonfunctional - Kati Holasz
 
Test automation
Test automationTest automation
Test automation
 
Agile QA presentation
Agile QA presentationAgile QA presentation
Agile QA presentation
 
Cypress - Best Practices
Cypress - Best PracticesCypress - Best Practices
Cypress - Best Practices
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
Software test management overview for managers
Software test management overview for managersSoftware test management overview for managers
Software test management overview for managers
 

Similar to Build your QA Pipeline using Serenity , Selenium WebDriver , Rest Assured and Jenkins Pipeline

How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
Simplilearn
 
DevOps Overview in my own words
DevOps Overview in my own wordsDevOps Overview in my own words
DevOps Overview in my own words
SUBHENDU KARMAKAR
 
Dev ops != Dev+Ops
Dev ops != Dev+OpsDev ops != Dev+Ops
Dev ops != Dev+Ops
Shalu Ahuja
 
Dev ops using Jenkins
Dev ops using JenkinsDev ops using Jenkins
Building an In-House DevOps Service Platform for Mobility Solutions | Mindtree
Building an In-House DevOps Service Platform for Mobility Solutions | Mindtree	Building an In-House DevOps Service Platform for Mobility Solutions | Mindtree
Building an In-House DevOps Service Platform for Mobility Solutions | Mindtree
AnikeyRoy
 
Continuous integration with Jenkins
Continuous integration with JenkinsContinuous integration with Jenkins
Continuous integration with Jenkins
Mohammad Hossein Rimaz
 
Devops architecture
Devops architectureDevops architecture
Devops architecture
Ojasvi Jagtap
 
Application Lifecycle Management
Application Lifecycle ManagementApplication Lifecycle Management
Application Lifecycle Management
Amazon Web Services
 
Modern_Continuous-Integration_Webinar
Modern_Continuous-Integration_WebinarModern_Continuous-Integration_Webinar
Modern_Continuous-Integration_WebinarAbhijit Pendyal
 
Beyond the Release: CI That Transforms Organizations
Beyond the Release: CI That Transforms OrganizationsBeyond the Release: CI That Transforms Organizations
Beyond the Release: CI That Transforms Organizations
Sauce Labs
 
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
Amazon Web Services
 
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
Clever Moe
 
CI-CD and DevOps with Ruby
CI-CD and DevOps with RubyCI-CD and DevOps with Ruby
CI-CD and DevOps with Ruby
Pierluigi Riti
 
RubyDay-Turin13_Nov_15
RubyDay-Turin13_Nov_15RubyDay-Turin13_Nov_15
RubyDay-Turin13_Nov_15Pierluigi Riti
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer ToolsDevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
Amazon Web Services
 
Cloud DevOps_ The Future of Agile Operations.pdf
Cloud DevOps_ The Future of Agile Operations.pdfCloud DevOps_ The Future of Agile Operations.pdf
Cloud DevOps_ The Future of Agile Operations.pdf
feelhappy2
 
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdfLesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Minh Quân Đoàn
 
Continous Integration: A Case Study
Continous Integration: A Case StudyContinous Integration: A Case Study
Continous Integration: A Case Study
Talentica Software
 
Introduction To Development And Operations
Introduction To Development And OperationsIntroduction To Development And Operations
Introduction To Development And Operations
teekhesawaal
 

Similar to Build your QA Pipeline using Serenity , Selenium WebDriver , Rest Assured and Jenkins Pipeline (20)

How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
 
DevOps Overview in my own words
DevOps Overview in my own wordsDevOps Overview in my own words
DevOps Overview in my own words
 
Dev ops != Dev+Ops
Dev ops != Dev+OpsDev ops != Dev+Ops
Dev ops != Dev+Ops
 
Dev ops using Jenkins
Dev ops using JenkinsDev ops using Jenkins
Dev ops using Jenkins
 
Building an In-House DevOps Service Platform for Mobility Solutions | Mindtree
Building an In-House DevOps Service Platform for Mobility Solutions | Mindtree	Building an In-House DevOps Service Platform for Mobility Solutions | Mindtree
Building an In-House DevOps Service Platform for Mobility Solutions | Mindtree
 
Continuous integration with Jenkins
Continuous integration with JenkinsContinuous integration with Jenkins
Continuous integration with Jenkins
 
Devops architecture
Devops architectureDevops architecture
Devops architecture
 
Application Lifecycle Management
Application Lifecycle ManagementApplication Lifecycle Management
Application Lifecycle Management
 
Modern_Continuous-Integration_Webinar
Modern_Continuous-Integration_WebinarModern_Continuous-Integration_Webinar
Modern_Continuous-Integration_Webinar
 
Beyond the Release: CI That Transforms Organizations
Beyond the Release: CI That Transforms OrganizationsBeyond the Release: CI That Transforms Organizations
Beyond the Release: CI That Transforms Organizations
 
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
 
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
 
CI-CD and DevOps with Ruby
CI-CD and DevOps with RubyCI-CD and DevOps with Ruby
CI-CD and DevOps with Ruby
 
RubyDay-Turin13_Nov_15
RubyDay-Turin13_Nov_15RubyDay-Turin13_Nov_15
RubyDay-Turin13_Nov_15
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
 
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer ToolsDevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
 
Cloud DevOps_ The Future of Agile Operations.pdf
Cloud DevOps_ The Future of Agile Operations.pdfCloud DevOps_ The Future of Agile Operations.pdf
Cloud DevOps_ The Future of Agile Operations.pdf
 
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdfLesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
 
Continous Integration: A Case Study
Continous Integration: A Case StudyContinous Integration: A Case Study
Continous Integration: A Case Study
 
Introduction To Development And Operations
Introduction To Development And OperationsIntroduction To Development And Operations
Introduction To Development And Operations
 

More from Moataz Nabil

Testing in DevOps world
Testing in DevOps worldTesting in DevOps world
Testing in DevOps world
Moataz Nabil
 
Zalenium - How to run Selenium Script using Docker and Selenium Grid
Zalenium - How to run Selenium Script using Docker and Selenium GridZalenium - How to run Selenium Script using Docker and Selenium Grid
Zalenium - How to run Selenium Script using Docker and Selenium Grid
Moataz Nabil
 
Mobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and DockerMobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and Docker
Moataz Nabil
 
ISTQB Agile Tester - Agile Test Tools
ISTQB Agile Tester - Agile Test ToolsISTQB Agile Tester - Agile Test Tools
ISTQB Agile Tester - Agile Test Tools
Moataz Nabil
 
Introducing DevOps
Introducing DevOpsIntroducing DevOps
Introducing DevOps
Moataz Nabil
 
A guide for automated testing
A guide for automated testingA guide for automated testing
A guide for automated testing
Moataz Nabil
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
Moataz Nabil
 
Continuous Delivery with Visual Studio Online
Continuous Delivery with Visual Studio Online Continuous Delivery with Visual Studio Online
Continuous Delivery with Visual Studio Online Moataz Nabil
 
Working Agile with Scrum and TFS 2013
Working Agile with Scrum and TFS 2013Working Agile with Scrum and TFS 2013
Working Agile with Scrum and TFS 2013Moataz Nabil
 
Testing with Microsoft Technologies - Kick Off Session
Testing with Microsoft Technologies - Kick Off SessionTesting with Microsoft Technologies - Kick Off Session
Testing with Microsoft Technologies - Kick Off SessionMoataz Nabil
 

More from Moataz Nabil (10)

Testing in DevOps world
Testing in DevOps worldTesting in DevOps world
Testing in DevOps world
 
Zalenium - How to run Selenium Script using Docker and Selenium Grid
Zalenium - How to run Selenium Script using Docker and Selenium GridZalenium - How to run Selenium Script using Docker and Selenium Grid
Zalenium - How to run Selenium Script using Docker and Selenium Grid
 
Mobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and DockerMobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and Docker
 
ISTQB Agile Tester - Agile Test Tools
ISTQB Agile Tester - Agile Test ToolsISTQB Agile Tester - Agile Test Tools
ISTQB Agile Tester - Agile Test Tools
 
Introducing DevOps
Introducing DevOpsIntroducing DevOps
Introducing DevOps
 
A guide for automated testing
A guide for automated testingA guide for automated testing
A guide for automated testing
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
 
Continuous Delivery with Visual Studio Online
Continuous Delivery with Visual Studio Online Continuous Delivery with Visual Studio Online
Continuous Delivery with Visual Studio Online
 
Working Agile with Scrum and TFS 2013
Working Agile with Scrum and TFS 2013Working Agile with Scrum and TFS 2013
Working Agile with Scrum and TFS 2013
 
Testing with Microsoft Technologies - Kick Off Session
Testing with Microsoft Technologies - Kick Off SessionTesting with Microsoft Technologies - Kick Off Session
Testing with Microsoft Technologies - Kick Off Session
 

Recently uploaded

Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
varshanayak241
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
Peter Caitens
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
ayushiqss
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
XfilesPro
 
Software Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdfSoftware Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdf
MayankTawar1
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
Jelle | Nordend
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
vrstrong314
 

Recently uploaded (20)

Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
Software Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdfSoftware Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdf
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 

Build your QA Pipeline using Serenity , Selenium WebDriver , Rest Assured and Jenkins Pipeline

  • 2. Moataz Nabil Software Engineer in Test , Zalando Lounge Berlin , Germany moataznabil.net 05.10.2018 QA Automation Pipeline (Web , API and Performance Tests) Learn How to Build Your Own Cairo Testing Meetup
  • 3. AGENDA Who Am I About Zalando What is Continuous Delivery ? QA Pipeline Today we will take a look about Tech Stack Demo – Run Automation Tests locally Continuous Integration Run QA Automation Pipeline with Jenkins Pipeline Build Your Configuration via Jenkinsfile and Jenkins Pipelines Questions
  • 4. WHO AM I ? • Currently I'm working as SDET at Zalando in Berlin , Germany • I have 14+ years of IT experience across development and testing roles, automation testing , software quality assurance , performance and service delivery. • I worked in Egypt before in different companies such as (Integrant and Cequens) and working as Technical instructor and consultant at TestPRO and delivered selenium automation course to different groups. • Recently I published my first Automation Course using Selenium WebDriver on Udemy and I have channel on YouTube and also I published different articles on LinkedIn and Medium
  • 5. Image source : Zalando SE
  • 6. In the past years, software delivery has made a big step forward thanks to the implementation of continuous delivery. Quality Assurance is no exception, and the acceleration of the QA pipeline has helped shorten delivery cycles and bring higher quality software.
  • 7. What is Continuous Delivery – AKA CD ? • Continuous Delivery is the ability to get changes of all types—including new features, configuration changes, bug fixes and experiments—into production, or into the hands of users, safely and quickly in a sustainable way. • The goal is to make deployments—whether of a large-scale distributed system, a complex production environment, an embedded system, or an app—predictable, routine affairs that can be performed on demand.
  • 8. Why Most Companies Are Getting Continuous Delivery Wrong? What comes to your mind when I say the words Continuous Integration (CI) and Continuous Delivery (CD)? You’re probably already thinking of popular tools and systems that enable these processes, such as Jenkins CI, Ansible or Bamboo, and wondering how to integrate them so you can proudly say that your organization has a fully operational CI/CD process.
  • 9.  We tend to spend a lot of time talking about the tools required to ensure a successful Continuous Delivery process - and not enough focusing on other critical elements.  Don’t get me wrong, you simply can’t have a Continuous Delivery process without automated tools and systems - but there’s more to it than that. The tools are vital. But they come second.
  • 10. Why Continuous Delivery Isn’t Just About the Tools? • Each Department Has its Own Needs When it Comes to CD • You Need to Think About the Process - Not Just the End Result
  • 11. Continuous Delivery Success: 5 Things to Remember Establishing a successful Continuous Delivery process in your organization is within your reach. Just remember these five points before you get started: 1. Focus on the process before the tools 2. Understand the needs of each team 3. Build one process to merge the combined needs of every team in the company 4. Implement the tools 5. Appoint a Continuous Delivery Engineer to manage all of the above!
  • 12. For Continuous Delivery People Come Before the Tools
  • 13. Enterprise Architecture + Organizational Culture = Continuous Delivery
  • 14. Continous Integration vs. Continous Delivery vs. Continous Deployment
  • 15.
  • 16. QA Pipeline ! A fast and reliabel QA Pipeline is usually based on multi-level automation tests and stable continuous integration, which runs all of these tests on a daily basis against different test environments.
  • 17. Today we will take a look about • A simple test automation framework written in Java programming language, which contains basic test scenarios created by using some of the most popular testing frameworks (Rest Assured, Serenity and Selenium), which you might find very useful for your needs) • Integrating with some of the most well known automation tools • Executing different types of tests • Adding beautiful visualization to created test automation pipeline with the Jenkins Blue Ocean
  • 18. Tech Stack • Java • Apache Maven • JUnit - a basic Java unit tests framework • Serenity - the backbone of the automation framework that provides many useful features, like detailed reporting, parallel execution and tests grouping by tags • REST Assured - a framework for REST API tests • Selenium WebDriver - a tool for UI automation tests and web browser interaction • Taurus - a performance testing tool that allows you to write performance tests via yml scripts
  • 19. Run Automation tests (Web , API and Performance) locally
  • 20. You can run smoke, API and UI tests accordingly: mvn clean verify -Dtags="type:Smoke" mvn clean verify -Dtags="type:API" mvn clean verify -Dtags="type:UI" bzt test.yml For performance Test using Taurus
  • 21. Continuous Integration • As soon as you implemented your first tests automation suite, it’s time to take care of automation execution. • Of course, you can run your tests manually, but it doesn’t make sense if you can automate this step as well.
  • 22. Automating Execution has many benefits • Faster tests result feedback (you can configure automation tests to run as soon as the code has been committed) • Some tests might have a longer execution time and you can set up nightly runs to verify results in the morning • Fewer mistakes can happen if steps are automated (avoid human errors) • You can configure several agents to run automation tests in parallel in different environments
  • 23. Jenkins CI One of the most commonly used CI servers for automation needs is Jenkins. It is open source, allows you to run any kind of tests, and integrates with almost anything you can imagine. It has one of the biggest open source communities, and they bring Jenkins to new levels year after year.
  • 24. Build Your Configuration via Jenkinsfile and Jenkins Pipelines • Jenkins pipelines is a continuous delivery through code tool, which is usually added under version control tools like Git. • It basically means that you can configure, maintain, revert and add build plans the same way you work with a code. • At the same time, the Jenkins pipelines workflow has a nice representation that shows you all steps of your build plan in action. • This gives you a nice view on build steps with timing and results for each. • A file that contains pipelines code with build configuration is called Jenkinsfile.
  • 25. What is Blue Ocean ? • Blue Ocean is a project developed by the Jenkins community team, which improves the experience of using Jenkins pipelines for continuous integration pipeline representation. • First, you need to install required plugins. Go into “Manage Jenkins” -> “Manage plugins” -> “Available” -> search for ‘Blue Ocean’
  • 26. Run QA Automation Pipeline with Jenkins Pipeline
  • 27. Now It’s your Turn • I hope this was useful and gave you useful information for building your own automation tests pipeline, maybe from scratch. • Now, It‘s your turn to know more about Serenity, Selenium, Taurus, Jenkins and automation tests in general
  • 29. Thank You !