SlideShare a Scribd company logo
1 of 22
#DOPPA17
Salesforce: CI,CD & CT
Priyanka Dive
9th September 2017
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Who Am I?
- DevOps Engineer at Crevise Technologies
- Passion for technology
- Constant Learner
- Love to read
- Priyanka.Dive@Crevise.com
- Twitter: @Priyanka_Dive
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
What is Salesforce?
- Cloud based
- CRM Platform
- Salesforce is the world’s #1 Customer Relationship Management (CRM)
platform. Our cloud-based applications for sales, service, marketing, and
more don’t require IT experts to set up or manage — simply log in and start
connecting to customers in a whole new way.
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Sandbox
A sandbox is a copy of a production environment used for a variety of purposes,
commonly including testing and development.
We can have different types of sandbox according our requirements:
- Developer Sandbox
- Developer Pro Sandbox
- Partial Copy Sandbox
- Full Sandbox
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Salesforce Development Vs
Other Tech Stack Development
- Salesforce development is different
- Virtual environment is in the form of sandbox.
- You can’t run it locally
- Everything is on cloud
- There is no version control in salesforce sandbox environments.
- Large projects with shared environment is real mess without versioning
- No copy code and deployment done process
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Traditional way of deployment
1. Using changeset
- Good for small deployments
- Not preferred for Large Deployments
2. Ant Migration tool
- Large Deployments can be done
- Easy reverting deployments
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Problem with Traditional way
- No versioning
- Can be a big mess when multiple developers are working on project and not
in sync
- Simple change can look like “a needle in a haystack”
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Case Study
Bajaj Finserv uses salesforce platform for some of their projects.
Challenges:
- Working with large team of developers with salesforce
- managing large deployments with changeset is hard.
- Keeping track of all changes
- Achieving continuous testing
Why not devops for salesforce?
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Our Solution
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Tools Used
- Git : Tracking salesforce changes in Git
- Force.com Migration tool : for salesforce deployments
- Jenkins :Automate deployments to Pre-UAT environment with Jenkins & Ant
script
- Qualitia : Scriptless testing Tool
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Using Gitlab for versioning salesforce
- Force.com Works well with Git
- Every change in sandbox can be tracked in gitlab
- Developers only need to change package.xml for changes they need to test
on Pre-UAT sandbox.
- We can maintain different branches according to scenario
- Able to compare code on git Branch with Sandbox
- Can track those changes which are not present in git
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Jenkins to Automate salesforce
deployment & Backups
- Jenkins can be integrated with Gitlab
- Jenkins is able to execute ant scripts for Force.com Migration tool.
- Also, Jenkins integrate with Gitlab to show status of Job in Pipeline with
respect to each commit & push
- Jenkins job for metadata backup to Git
- Jenkins job to deploy from git to sandbox by comparing git and sandbox
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Development with Gitlab
- Use Eclipse with Force.com IDE and Git Plugin
- Copy code and metadata from Sandbox to Eclipse using Force.com IDE
- Create Project on Git
- Configure Git in Eclipse , commit and push code from Eclipse to Git.
- Trigger Jenkins Job for deployment
1. Pull Source code from Git Branch
2. Invoke Ant script
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Deployment using Jenkins
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Sample Build.xml for
Retrieve Job
Build.xml for Retrieve Job
<!-- Retrieve the contents into another directory -->
<sf:retrieve
username="${sf.username}"
password="${sf.password}${sf.token}"
serverurl="${sf.serverurl}"
retrieveTarget="src"
unpackaged="${basedir}/package.xml"
/>
</target>
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Sample Build.xml & Package.xml
for Deploy Job
Build.xml for Deploy Job
<target name="deployCode">
<!-- Deploy Code From src to SandBox --
>
<sf:deploy
username="${sf.username}"
password="${sf.password}${sf.token}"
serverurl="${sf.serverurl}"
deployroot="src"
runAllTests="false"
/>
</target>
Package.xml For Deploy Job
<?xml version="1.0" encoding="UTF-
8"?>
<Package
xmlns="http://soap.sforce.com/2006
/04/metadata">
<types>
<members>*</members>
<name>ApexClass</name>
</types>
<version>36.0</version>
</Package>
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Continuous Testing with Qualitia
- Achieve scriptless testing with Qualitia
- Qualitia is a functional test automation platform which provides us way to
automate testing without Scripting
- Qualitia integrates with jenkins
- Run test cases on sandbox and present Result in HTML
- Schedule your automated test executions using Jenkins
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Recap (Our Solution)
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Running Test cases with Qualitia
- Trigger jenkins job after Git push to run test cases
- We need following :
1. Windows slave to jenkins server with java
2. Qualitia tool jar
3.Provide xml Path , Log Path ,Chromedriver executable
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Conclusion
- We can have versioning in salesforce
- With Agile Testing we can find Bugs in Early stage
- We don’t need expertise to Set up
- Achieving CI CD in salesforce become easy.
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
Questions?
- Priyanka.Dive@Crevise.com
- Twitter @Priyanka_Dive
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing
alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due
credit is given to me/us)
References
https://www.salesforce.com/products/what-is-salesforce/
https://www.qualitiasoft.com/
https://developer.salesforce.com/page/Force.com_Migration_Tool
http://www.indidesign.in/wp-content/uploads/2013/11/finserv.jpg

More Related Content

What's hot

DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
Simplilearn
 

What's hot (20)

Introduction to CI/CD
Introduction to CI/CDIntroduction to CI/CD
Introduction to CI/CD
 
Jenkins with SonarQube
Jenkins with SonarQubeJenkins with SonarQube
Jenkins with SonarQube
 
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
 
DevOps introduction
DevOps introductionDevOps introduction
DevOps introduction
 
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
 
Shift Left Security
Shift Left SecurityShift Left Security
Shift Left Security
 
DevSecOps - The big picture
DevSecOps - The big pictureDevSecOps - The big picture
DevSecOps - The big picture
 
CI/CD Best Practices for Your DevOps Journey
CI/CD Best  Practices for Your DevOps JourneyCI/CD Best  Practices for Your DevOps Journey
CI/CD Best Practices for Your DevOps Journey
 
DevSecOps: What Why and How : Blackhat 2019
DevSecOps: What Why and How : Blackhat 2019DevSecOps: What Why and How : Blackhat 2019
DevSecOps: What Why and How : Blackhat 2019
 
DevSecOps: Key Controls to Modern Security Success
DevSecOps: Key Controls to Modern Security SuccessDevSecOps: Key Controls to Modern Security Success
DevSecOps: Key Controls to Modern Security Success
 
CICD Pipeline - AWS Azure
CICD Pipeline - AWS AzureCICD Pipeline - AWS Azure
CICD Pipeline - AWS Azure
 
DevSecOps
DevSecOpsDevSecOps
DevSecOps
 
Shift Left Security - The What, Why and How
Shift Left Security - The What, Why and HowShift Left Security - The What, Why and How
Shift Left Security - The What, Why and How
 
Security Process in DevSecOps
Security Process in DevSecOpsSecurity Process in DevSecOps
Security Process in DevSecOps
 
Build CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation SlidesBuild CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation Slides
 
Benefits of DevSecOps
Benefits of DevSecOpsBenefits of DevSecOps
Benefits of DevSecOps
 
"DevOps > CI+CD "
"DevOps > CI+CD ""DevOps > CI+CD "
"DevOps > CI+CD "
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
 
Introducing DevOps
Introducing DevOpsIntroducing DevOps
Introducing DevOps
 
DevSecOps Implementation Journey
DevSecOps Implementation JourneyDevSecOps Implementation Journey
DevSecOps Implementation Journey
 

Viewers also liked

Viewers also liked (20)

A systemic approach to shaping a DevOps culture
A systemic approach to shaping a DevOps cultureA systemic approach to shaping a DevOps culture
A systemic approach to shaping a DevOps culture
 
Windows Automation with Ansible
Windows Automation with Ansible Windows Automation with Ansible
Windows Automation with Ansible
 
Making DevOps a reality for Legacy Enterprise Monolithic Products
Making DevOps a reality for Legacy Enterprise Monolithic ProductsMaking DevOps a reality for Legacy Enterprise Monolithic Products
Making DevOps a reality for Legacy Enterprise Monolithic Products
 
Demonetization, IoT and related thoughts!
Demonetization, IoT and related thoughts!Demonetization, IoT and related thoughts!
Demonetization, IoT and related thoughts!
 
Monitoring With Prometheus
Monitoring With PrometheusMonitoring With Prometheus
Monitoring With Prometheus
 
Key Success (And Failure) modes for your Large Scale DevOps Transformation
Key Success (And Failure) modes for your Large Scale DevOps TransformationKey Success (And Failure) modes for your Large Scale DevOps Transformation
Key Success (And Failure) modes for your Large Scale DevOps Transformation
 
Architecting DevOps Ready Application
Architecting DevOps Ready Application Architecting DevOps Ready Application
Architecting DevOps Ready Application
 
Distributed And Scaled (DiSc) Agile PMO
Distributed And Scaled (DiSc) Agile PMODistributed And Scaled (DiSc) Agile PMO
Distributed And Scaled (DiSc) Agile PMO
 
Industrial Approach IOT: Practical Approach
Industrial Approach IOT: Practical Approach Industrial Approach IOT: Practical Approach
Industrial Approach IOT: Practical Approach
 
DevOps In Mobility World With Microsoft Technology
DevOps In Mobility World With Microsoft Technology DevOps In Mobility World With Microsoft Technology
DevOps In Mobility World With Microsoft Technology
 
Strengthening CX through Agile Ecosystems
Strengthening CX through Agile EcosystemsStrengthening CX through Agile Ecosystems
Strengthening CX through Agile Ecosystems
 
Introduction To Big Data with Hadoop and Spark - For Batch and Real Time Proc...
Introduction To Big Data with Hadoop and Spark - For Batch and Real Time Proc...Introduction To Big Data with Hadoop and Spark - For Batch and Real Time Proc...
Introduction To Big Data with Hadoop and Spark - For Batch and Real Time Proc...
 
Linuxkit and Moby - A Sneek Peek into The Future of Container Ecosystem
Linuxkit and Moby - A Sneek Peek into The Future of Container EcosystemLinuxkit and Moby - A Sneek Peek into The Future of Container Ecosystem
Linuxkit and Moby - A Sneek Peek into The Future of Container Ecosystem
 
DevOps++ Global Summit 2017
DevOps++ Global Summit 2017DevOps++ Global Summit 2017
DevOps++ Global Summit 2017
 
Design Thinking Approach for Analytics
Design Thinking Approach for AnalyticsDesign Thinking Approach for Analytics
Design Thinking Approach for Analytics
 
Addressing the challenges of delivering Microservice applications in the ente...
Addressing the challenges of delivering Microservice applications in the ente...Addressing the challenges of delivering Microservice applications in the ente...
Addressing the challenges of delivering Microservice applications in the ente...
 
Prediction Of Muscle Power In Elderly Using Functional Screening Data
Prediction Of Muscle Power In Elderly Using Functional Screening DataPrediction Of Muscle Power In Elderly Using Functional Screening Data
Prediction Of Muscle Power In Elderly Using Functional Screening Data
 
About Agile Testing Alliance (ATA)
About Agile Testing Alliance (ATA)About Agile Testing Alliance (ATA)
About Agile Testing Alliance (ATA)
 
BDaas- BigData as a service
BDaas- BigData as a service  BDaas- BigData as a service
BDaas- BigData as a service
 
Robotic Process Automation
Robotic Process Automation Robotic Process Automation
Robotic Process Automation
 

Similar to Salesforce: CI,CD & CT

Similar to Salesforce: CI,CD & CT (20)

Windows automation with ansible
Windows automation with ansibleWindows automation with ansible
Windows automation with ansible
 
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
 
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
 
#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef
#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef
#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef
 
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
 
#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...
#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...
#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...
 
#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...
#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...
#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...
 
Monitoring with Prometheus
Monitoring with Prometheus Monitoring with Prometheus
Monitoring with Prometheus
 
#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...
#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...
#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...
 
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
 
#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...
#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...
#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...
 
#ATAGTR2019 Presentation "Blockchain and Continuous Testing" By Rutvikkumar Mrug
#ATAGTR2019 Presentation "Blockchain and Continuous Testing" By Rutvikkumar Mrug#ATAGTR2019 Presentation "Blockchain and Continuous Testing" By Rutvikkumar Mrug
#ATAGTR2019 Presentation "Blockchain and Continuous Testing" By Rutvikkumar Mrug
 
#ATAGTR2018 Presentation "How a fortune 500 case Study Changed The Way We Do ...
#ATAGTR2018 Presentation "How a fortune 500 case Study Changed The Way We Do ...#ATAGTR2018 Presentation "How a fortune 500 case Study Changed The Way We Do ...
#ATAGTR2018 Presentation "How a fortune 500 case Study Changed The Way We Do ...
 
#ATAGTR2019 Presentation "How analytics is reshaping testing?!" By Himani Yad...
#ATAGTR2019 Presentation "How analytics is reshaping testing?!" By Himani Yad...#ATAGTR2019 Presentation "How analytics is reshaping testing?!" By Himani Yad...
#ATAGTR2019 Presentation "How analytics is reshaping testing?!" By Himani Yad...
 
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
 
#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
 
#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...
#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...
#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...
 
#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...
#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...
#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...
 
#ATAGTR2020 Presentation - Workflow Testing: 10 Scenarios to be Covered by Te...
#ATAGTR2020 Presentation - Workflow Testing: 10 Scenarios to be Covered by Te...#ATAGTR2020 Presentation - Workflow Testing: 10 Scenarios to be Covered by Te...
#ATAGTR2020 Presentation - Workflow Testing: 10 Scenarios to be Covered by Te...
 
#ATAGTR2020 Presentation - Joan’s Rainbow Cake – Descriptive Agile testing wi...
#ATAGTR2020 Presentation - Joan’s Rainbow Cake – Descriptive Agile testing wi...#ATAGTR2020 Presentation - Joan’s Rainbow Cake – Descriptive Agile testing wi...
#ATAGTR2020 Presentation - Joan’s Rainbow Cake – Descriptive Agile testing wi...
 

More from Agile Testing Alliance

More from Agile Testing Alliance (20)

#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
 
#Interactive Session by Ajay Balamurugadas, "Where Are The Real Testers In T...
#Interactive Session by  Ajay Balamurugadas, "Where Are The Real Testers In T...#Interactive Session by  Ajay Balamurugadas, "Where Are The Real Testers In T...
#Interactive Session by Ajay Balamurugadas, "Where Are The Real Testers In T...
 
#Interactive Session by Jishnu Nambiar and Mayur Ovhal, "Monitoring Web Per...
#Interactive Session by  Jishnu Nambiar and  Mayur Ovhal, "Monitoring Web Per...#Interactive Session by  Jishnu Nambiar and  Mayur Ovhal, "Monitoring Web Per...
#Interactive Session by Jishnu Nambiar and Mayur Ovhal, "Monitoring Web Per...
 
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
 
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
 
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
 
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
 
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
 
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
 
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
 
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
 
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
 
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
 
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
 
#Interactive Session by Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
#Interactive Session by  Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...#Interactive Session by  Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
#Interactive Session by Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
 
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
 
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
 
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
 
#Interactive Session by Aniket Diwakar Kadukar and Padimiti Vaidik Eswar Dat...
#Interactive Session by Aniket Diwakar Kadukar and  Padimiti Vaidik Eswar Dat...#Interactive Session by Aniket Diwakar Kadukar and  Padimiti Vaidik Eswar Dat...
#Interactive Session by Aniket Diwakar Kadukar and Padimiti Vaidik Eswar Dat...
 
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
 

Recently uploaded

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
 
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
 

Recently uploaded (20)

Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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
 
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...
 
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
 
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
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
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
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
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
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 

Salesforce: CI,CD & CT

  • 1. #DOPPA17 Salesforce: CI,CD & CT Priyanka Dive 9th September 2017
  • 2. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Who Am I? - DevOps Engineer at Crevise Technologies - Passion for technology - Constant Learner - Love to read - Priyanka.Dive@Crevise.com - Twitter: @Priyanka_Dive
  • 3. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) What is Salesforce? - Cloud based - CRM Platform - Salesforce is the world’s #1 Customer Relationship Management (CRM) platform. Our cloud-based applications for sales, service, marketing, and more don’t require IT experts to set up or manage — simply log in and start connecting to customers in a whole new way.
  • 4. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Sandbox A sandbox is a copy of a production environment used for a variety of purposes, commonly including testing and development. We can have different types of sandbox according our requirements: - Developer Sandbox - Developer Pro Sandbox - Partial Copy Sandbox - Full Sandbox
  • 5. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Salesforce Development Vs Other Tech Stack Development - Salesforce development is different - Virtual environment is in the form of sandbox. - You can’t run it locally - Everything is on cloud - There is no version control in salesforce sandbox environments. - Large projects with shared environment is real mess without versioning - No copy code and deployment done process
  • 6. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Traditional way of deployment 1. Using changeset - Good for small deployments - Not preferred for Large Deployments 2. Ant Migration tool - Large Deployments can be done - Easy reverting deployments
  • 7. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Problem with Traditional way - No versioning - Can be a big mess when multiple developers are working on project and not in sync - Simple change can look like “a needle in a haystack”
  • 8. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Case Study Bajaj Finserv uses salesforce platform for some of their projects. Challenges: - Working with large team of developers with salesforce - managing large deployments with changeset is hard. - Keeping track of all changes - Achieving continuous testing Why not devops for salesforce?
  • 9. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Our Solution
  • 10. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Tools Used - Git : Tracking salesforce changes in Git - Force.com Migration tool : for salesforce deployments - Jenkins :Automate deployments to Pre-UAT environment with Jenkins & Ant script - Qualitia : Scriptless testing Tool
  • 11. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Using Gitlab for versioning salesforce - Force.com Works well with Git - Every change in sandbox can be tracked in gitlab - Developers only need to change package.xml for changes they need to test on Pre-UAT sandbox. - We can maintain different branches according to scenario - Able to compare code on git Branch with Sandbox - Can track those changes which are not present in git
  • 12. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Jenkins to Automate salesforce deployment & Backups - Jenkins can be integrated with Gitlab - Jenkins is able to execute ant scripts for Force.com Migration tool. - Also, Jenkins integrate with Gitlab to show status of Job in Pipeline with respect to each commit & push - Jenkins job for metadata backup to Git - Jenkins job to deploy from git to sandbox by comparing git and sandbox
  • 13. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Development with Gitlab - Use Eclipse with Force.com IDE and Git Plugin - Copy code and metadata from Sandbox to Eclipse using Force.com IDE - Create Project on Git - Configure Git in Eclipse , commit and push code from Eclipse to Git. - Trigger Jenkins Job for deployment 1. Pull Source code from Git Branch 2. Invoke Ant script
  • 14. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Deployment using Jenkins
  • 15. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Sample Build.xml for Retrieve Job Build.xml for Retrieve Job <!-- Retrieve the contents into another directory --> <sf:retrieve username="${sf.username}" password="${sf.password}${sf.token}" serverurl="${sf.serverurl}" retrieveTarget="src" unpackaged="${basedir}/package.xml" /> </target>
  • 16. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Sample Build.xml & Package.xml for Deploy Job Build.xml for Deploy Job <target name="deployCode"> <!-- Deploy Code From src to SandBox -- > <sf:deploy username="${sf.username}" password="${sf.password}${sf.token}" serverurl="${sf.serverurl}" deployroot="src" runAllTests="false" /> </target> Package.xml For Deploy Job <?xml version="1.0" encoding="UTF- 8"?> <Package xmlns="http://soap.sforce.com/2006 /04/metadata"> <types> <members>*</members> <name>ApexClass</name> </types> <version>36.0</version> </Package>
  • 17. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Continuous Testing with Qualitia - Achieve scriptless testing with Qualitia - Qualitia is a functional test automation platform which provides us way to automate testing without Scripting - Qualitia integrates with jenkins - Run test cases on sandbox and present Result in HTML - Schedule your automated test executions using Jenkins
  • 18. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Recap (Our Solution)
  • 19. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Running Test cases with Qualitia - Trigger jenkins job after Git push to run test cases - We need following : 1. Windows slave to jenkins server with java 2. Qualitia tool jar 3.Provide xml Path , Log Path ,Chromedriver executable
  • 20. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Conclusion - We can have versioning in salesforce - With Agile Testing we can find Bugs in Early stage - We don’t need expertise to Set up - Achieving CI CD in salesforce become easy.
  • 21. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Questions? - Priyanka.Dive@Crevise.com - Twitter @Priyanka_Dive
  • 22. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) References https://www.salesforce.com/products/what-is-salesforce/ https://www.qualitiasoft.com/ https://developer.salesforce.com/page/Force.com_Migration_Tool http://www.indidesign.in/wp-content/uploads/2013/11/finserv.jpg