際際滷

際際滷Share a Scribd company logo
16
Most read
17
Most read
20
Most read
Automate Test Execution using Jenkins
-Ankit (ankitsharma0087@gmail.com)
Jenkins & Squish
5/12/2016(c) Ankit
About Me
 Software Test Engineer
 Configuration Manager
 Build Manager
 Tools Expert.
5/12/2016(c) Ankit
Agenda
 Executing Test suite or cases of squish using
Jenkins from remote machine.
5/12/2016(c) Ankit
Procedure
 Download the Jenkins Squish Plug-in from
https://wiki.jenkins-
ci.org/display/JENKINS/Plugins
 Extract the download and copy the .HPI file to
plugins directory of Jenkins.
 Restart the Jenkins service.
5/12/2016(c) Ankit
Procedure cont.
 Under Manage Jenkins go to configure System to
define the settings for squish.
5/12/2016(c) Ankit
Procedure cont.
5/12/2016(c) Ankit
 Provide the details as shown below.
Procedure cont.
5/12/2016(c) Ankit
 Default Installation path is the squish installation
path on Jenkins Server.
 Under advanced configuration provide the path of
squish installations for slave machines with some
key value.
 Each line of the text area consists of a simple key
value mapping. To configure a Squish installation
located at C:Squish choose an arbitrary name /
key like squishOnWindowsForQt47 and append
the /squishPath tag to assign the absolute path.
For convenience you can use the node name too
of course.
Procedure cont.
5/12/2016(c) Ankit
 To Manage the nodes (slave machine) from
Jenkins server go to Manage Nodes under
Manage Jenkins.
Procedure cont.
5/12/2016(c) Ankit
 Go to New node and define the nodes to be
controlled by Jenkins Server.
Procedure cont.
5/12/2016(c) Ankit
 Defining windows nodes
Procedure cont.
5/12/2016(c) Ankit
 With the above displayed launch method, after
pressing save button go to slave machine open
Jenkins in browser navigate to node which is to
be connected, click on launch slave agent button.
 For Windows slaves please make sure to not start
the slave as Windows Service at Launch method.
Windows Services are intended to run command
line applications but not to run applications which
consist of a GUI. Starting the Jenkins slave as
JNLP via Launch slave agents via Java Web Start
works fine.
Procedure cont.
5/12/2016(c) Ankit
 Defining Linux nodes
Procedure cont.
5/12/2016(c) Ankit
 Once all the nodes gets connected to master
Jenkins Server.
 Its time to create a Build Job to execute the test
suite of squish from the Jenkins Server.
Procedure cont.
5/12/2016(c) Ankit
 Create a Freestyle project.
Procedure cont.
5/12/2016(c) Ankit
 Provide the details as shown below
Procedure cont.
5/12/2016(c) Ankit
 Add build step as squish.
Procedure cont.
5/12/2016(c) Ankit
 Provide the details as shown below
Procedure cont.
5/12/2016(c) Ankit
 The value for config section in the above slide is
taken from the keys defined in advanced
configuration section in slide number 6.
 Provide the IP address of slave machine in Host
where to execute the Test Suite.
 Default port is 4322 of squishserver to listen to
the incoming requests.
Procedure cont.
5/12/2016(c) Ankit
 Execute the build Job created to execute the test
suite from Jenkins server on slave machine
Note :- Make sure that Squishserver on slave
machine is allowed to accept incoming
requests and before execution of Jenkins job it
should be up and running.
Procedure cont.
5/12/2016(c) Ankit
 Squish report is available in Jenkins Master
machine.
Procedure cont.
5/12/2016(c) Ankit
 However we can also integrate Jenkins with the
mail server for every failure to auto send the mails
to concerned persons.
 Jenkins has got rich library of plugins to play.
Keep exploring keep playing keep enjoying.
5/12/2016(c) Ankit
Thanks
Ad

Recommended

LaTeX Introduction for Word Users
LaTeX Introduction for Word Users
Guy K. Kloss
ESP Information Technology
ESP Information Technology
Anthony Kripps
Understanding The Boot Process
Understanding The Boot Process
Dom Cimafranca
Test planning & estimation
Test planning & estimation
Leslie Smart
Static testing techniques
Static testing techniques
Mazenetsolution
Test Automation - Everything You Need To Know
Test Automation - Everything You Need To Know
BugRaptors
Lab manual of C++
Lab manual of C++
thesaqib
Test case execution
Test case execution
Khizra Sammad
454976614-Jenkins-Cheat-Sheet-pdf.pdf hoja de ayuda
454976614-Jenkins-Cheat-Sheet-pdf.pdf hoja de ayuda
CarlosDanielValenteA
Jenkins Tutorial.pdf
Jenkins Tutorial.pdf
devtestervicky
Jenkins 101: Continuos Integration with Jenkins
Jenkins 101: Continuos Integration with Jenkins
All Things Open
Jenkins tutorial
Jenkins tutorial
Mamun Rashid, CCDH
Meet Jenkins
Meet Jenkins
Ariciuc Razvan
Jenkins talk at Silicon valley DevOps meetup
Jenkins talk at Silicon valley DevOps meetup
CloudBees
Building the Test Automation Framework - Jenkins for Testers
Building the Test Automation Framework - Jenkins for Testers
William Echlin
Tap into the power of slaves with Jenkins by Kohsuke Kawaguchi
Tap into the power of slaves with Jenkins by Kohsuke Kawaguchi
ZeroTurnaround
Build using jenkins on rtc repository
Build using jenkins on rtc repository
Ankit Vashistha
At Your Service: Using Jenkins in Operations
At Your Service: Using Jenkins in Operations
Mandi Walls
Jenkins User Conference 2013: Literate, multi-branch, mobile and more
Jenkins User Conference 2013: Literate, multi-branch, mobile and more
Kohsuke Kawaguchi
Jenkins.pptx
Jenkins.pptx
rfojdar
Jenkins auto configureforbranch-php
Jenkins auto configureforbranch-php
automated-testing.info
Distributed Testing Environment
Distributed Testing Environment
ukasz Morawski
Hacking Jenkins
Hacking Jenkins
Miro Cupak
Using CloudBees Jenkins Enterprise to Effectively Manage the Jenkins Ecosyste...
Using CloudBees Jenkins Enterprise to Effectively Manage the Jenkins Ecosyste...
FINRATech
Take control of your Jenkins jobs via job DSL.
Take control of your Jenkins jobs via job DSL.
ukasz Proszek
際際滷s 29-07-2017
際際滷s 29-07-2017
Soumyak Bhattacharyya
Zoho Creator Solution for EI by Elsner Technologies.docx
Zoho Creator Solution for EI by Elsner Technologies.docx
Elsner Technologies Pvt. Ltd.
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
Simplify Insurance Regulations with Compliance Management Software
Simplify Insurance Regulations with Compliance Management Software
Insurance Tech Services
HYBRIDIZATION OF ALKANES AND ALKENES ...
HYBRIDIZATION OF ALKANES AND ALKENES ...
karishmaduhijod1

More Related Content

Similar to Jenkins Squish Integration (18)

454976614-Jenkins-Cheat-Sheet-pdf.pdf hoja de ayuda
454976614-Jenkins-Cheat-Sheet-pdf.pdf hoja de ayuda
CarlosDanielValenteA
Jenkins Tutorial.pdf
Jenkins Tutorial.pdf
devtestervicky
Jenkins 101: Continuos Integration with Jenkins
Jenkins 101: Continuos Integration with Jenkins
All Things Open
Jenkins tutorial
Jenkins tutorial
Mamun Rashid, CCDH
Meet Jenkins
Meet Jenkins
Ariciuc Razvan
Jenkins talk at Silicon valley DevOps meetup
Jenkins talk at Silicon valley DevOps meetup
CloudBees
Building the Test Automation Framework - Jenkins for Testers
Building the Test Automation Framework - Jenkins for Testers
William Echlin
Tap into the power of slaves with Jenkins by Kohsuke Kawaguchi
Tap into the power of slaves with Jenkins by Kohsuke Kawaguchi
ZeroTurnaround
Build using jenkins on rtc repository
Build using jenkins on rtc repository
Ankit Vashistha
At Your Service: Using Jenkins in Operations
At Your Service: Using Jenkins in Operations
Mandi Walls
Jenkins User Conference 2013: Literate, multi-branch, mobile and more
Jenkins User Conference 2013: Literate, multi-branch, mobile and more
Kohsuke Kawaguchi
Jenkins.pptx
Jenkins.pptx
rfojdar
Jenkins auto configureforbranch-php
Jenkins auto configureforbranch-php
automated-testing.info
Distributed Testing Environment
Distributed Testing Environment
ukasz Morawski
Hacking Jenkins
Hacking Jenkins
Miro Cupak
Using CloudBees Jenkins Enterprise to Effectively Manage the Jenkins Ecosyste...
Using CloudBees Jenkins Enterprise to Effectively Manage the Jenkins Ecosyste...
FINRATech
Take control of your Jenkins jobs via job DSL.
Take control of your Jenkins jobs via job DSL.
ukasz Proszek
際際滷s 29-07-2017
際際滷s 29-07-2017
Soumyak Bhattacharyya
454976614-Jenkins-Cheat-Sheet-pdf.pdf hoja de ayuda
454976614-Jenkins-Cheat-Sheet-pdf.pdf hoja de ayuda
CarlosDanielValenteA
Jenkins Tutorial.pdf
Jenkins Tutorial.pdf
devtestervicky
Jenkins 101: Continuos Integration with Jenkins
Jenkins 101: Continuos Integration with Jenkins
All Things Open
Jenkins talk at Silicon valley DevOps meetup
Jenkins talk at Silicon valley DevOps meetup
CloudBees
Building the Test Automation Framework - Jenkins for Testers
Building the Test Automation Framework - Jenkins for Testers
William Echlin
Tap into the power of slaves with Jenkins by Kohsuke Kawaguchi
Tap into the power of slaves with Jenkins by Kohsuke Kawaguchi
ZeroTurnaround
Build using jenkins on rtc repository
Build using jenkins on rtc repository
Ankit Vashistha
At Your Service: Using Jenkins in Operations
At Your Service: Using Jenkins in Operations
Mandi Walls
Jenkins User Conference 2013: Literate, multi-branch, mobile and more
Jenkins User Conference 2013: Literate, multi-branch, mobile and more
Kohsuke Kawaguchi
Jenkins.pptx
Jenkins.pptx
rfojdar
Jenkins auto configureforbranch-php
Jenkins auto configureforbranch-php
automated-testing.info
Distributed Testing Environment
Distributed Testing Environment
ukasz Morawski
Hacking Jenkins
Hacking Jenkins
Miro Cupak
Using CloudBees Jenkins Enterprise to Effectively Manage the Jenkins Ecosyste...
Using CloudBees Jenkins Enterprise to Effectively Manage the Jenkins Ecosyste...
FINRATech
Take control of your Jenkins jobs via job DSL.
Take control of your Jenkins jobs via job DSL.
ukasz Proszek

Recently uploaded (20)

Zoho Creator Solution for EI by Elsner Technologies.docx
Zoho Creator Solution for EI by Elsner Technologies.docx
Elsner Technologies Pvt. Ltd.
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
Simplify Insurance Regulations with Compliance Management Software
Simplify Insurance Regulations with Compliance Management Software
Insurance Tech Services
HYBRIDIZATION OF ALKANES AND ALKENES ...
HYBRIDIZATION OF ALKANES AND ALKENES ...
karishmaduhijod1
Which Hiring Management Tools Offer the Best ROI?
Which Hiring Management Tools Offer the Best ROI?
HireME
Digital Transformation: Automating the Placement of Medical Interns
Digital Transformation: Automating the Placement of Medical Interns
Safe Software
How Automation in Claims Handling Streamlined Operations
How Automation in Claims Handling Streamlined Operations
Insurance Tech Services
ElectraSuite_Prsentation(online voting system).pptx
ElectraSuite_Prsentation(online voting system).pptx
mrsinankhan01
Azure AI Foundry: The AI app and agent factory
Azure AI Foundry: The AI app and agent factory
Maxim Salnikov
MOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptx
MOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptx
Maharshi Mallela
Folding Cheat Sheet # 9 - List Unfolding as the Computational Dual of ...
Folding Cheat Sheet # 9 - List Unfolding as the Computational Dual of ...
Philip Schwarz
Building Geospatial Data Warehouse for GIS by GIS with FME
Building Geospatial Data Warehouse for GIS by GIS with FME
Safe Software
Foundations of Marketo Engage - Programs, Campaigns & Beyond - June 2025
Foundations of Marketo Engage - Programs, Campaigns & Beyond - June 2025
BradBedford3
Best Practice for LLM Serving in the Cloud
Best Practice for LLM Serving in the Cloud
Alluxio, Inc.
Microsoft-365-Administrator-s-Guide1.pdf
Microsoft-365-Administrator-s-Guide1.pdf
mazharatknl
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
2nd Sight Lab
AI for PV: Development and Governance for a Regulated Industry
AI for PV: Development and Governance for a Regulated Industry
Biologit
declaration of Variables and constants.pptx
declaration of Variables and constants.pptx
meemee7378
IObit Driver Booster Pro 12 Crack Latest Version Download
IObit Driver Booster Pro 12 Crack Latest Version Download
pcprocore
University Campus Navigation for All - Peak of Data & AI
University Campus Navigation for All - Peak of Data & AI
Safe Software
Zoho Creator Solution for EI by Elsner Technologies.docx
Zoho Creator Solution for EI by Elsner Technologies.docx
Elsner Technologies Pvt. Ltd.
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
Simplify Insurance Regulations with Compliance Management Software
Simplify Insurance Regulations with Compliance Management Software
Insurance Tech Services
HYBRIDIZATION OF ALKANES AND ALKENES ...
HYBRIDIZATION OF ALKANES AND ALKENES ...
karishmaduhijod1
Which Hiring Management Tools Offer the Best ROI?
Which Hiring Management Tools Offer the Best ROI?
HireME
Digital Transformation: Automating the Placement of Medical Interns
Digital Transformation: Automating the Placement of Medical Interns
Safe Software
How Automation in Claims Handling Streamlined Operations
How Automation in Claims Handling Streamlined Operations
Insurance Tech Services
ElectraSuite_Prsentation(online voting system).pptx
ElectraSuite_Prsentation(online voting system).pptx
mrsinankhan01
Azure AI Foundry: The AI app and agent factory
Azure AI Foundry: The AI app and agent factory
Maxim Salnikov
MOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptx
MOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptx
Maharshi Mallela
Folding Cheat Sheet # 9 - List Unfolding as the Computational Dual of ...
Folding Cheat Sheet # 9 - List Unfolding as the Computational Dual of ...
Philip Schwarz
Building Geospatial Data Warehouse for GIS by GIS with FME
Building Geospatial Data Warehouse for GIS by GIS with FME
Safe Software
Foundations of Marketo Engage - Programs, Campaigns & Beyond - June 2025
Foundations of Marketo Engage - Programs, Campaigns & Beyond - June 2025
BradBedford3
Best Practice for LLM Serving in the Cloud
Best Practice for LLM Serving in the Cloud
Alluxio, Inc.
Microsoft-365-Administrator-s-Guide1.pdf
Microsoft-365-Administrator-s-Guide1.pdf
mazharatknl
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
2nd Sight Lab
AI for PV: Development and Governance for a Regulated Industry
AI for PV: Development and Governance for a Regulated Industry
Biologit
declaration of Variables and constants.pptx
declaration of Variables and constants.pptx
meemee7378
IObit Driver Booster Pro 12 Crack Latest Version Download
IObit Driver Booster Pro 12 Crack Latest Version Download
pcprocore
University Campus Navigation for All - Peak of Data & AI
University Campus Navigation for All - Peak of Data & AI
Safe Software
Ad

Jenkins Squish Integration

  • 1. Automate Test Execution using Jenkins -Ankit (ankitsharma0087@gmail.com) Jenkins & Squish 5/12/2016(c) Ankit
  • 2. About Me Software Test Engineer Configuration Manager Build Manager Tools Expert. 5/12/2016(c) Ankit
  • 3. Agenda Executing Test suite or cases of squish using Jenkins from remote machine. 5/12/2016(c) Ankit
  • 4. Procedure Download the Jenkins Squish Plug-in from https://wiki.jenkins- ci.org/display/JENKINS/Plugins Extract the download and copy the .HPI file to plugins directory of Jenkins. Restart the Jenkins service. 5/12/2016(c) Ankit
  • 5. Procedure cont. Under Manage Jenkins go to configure System to define the settings for squish. 5/12/2016(c) Ankit
  • 6. Procedure cont. 5/12/2016(c) Ankit Provide the details as shown below.
  • 7. Procedure cont. 5/12/2016(c) Ankit Default Installation path is the squish installation path on Jenkins Server. Under advanced configuration provide the path of squish installations for slave machines with some key value. Each line of the text area consists of a simple key value mapping. To configure a Squish installation located at C:Squish choose an arbitrary name / key like squishOnWindowsForQt47 and append the /squishPath tag to assign the absolute path. For convenience you can use the node name too of course.
  • 8. Procedure cont. 5/12/2016(c) Ankit To Manage the nodes (slave machine) from Jenkins server go to Manage Nodes under Manage Jenkins.
  • 9. Procedure cont. 5/12/2016(c) Ankit Go to New node and define the nodes to be controlled by Jenkins Server.
  • 10. Procedure cont. 5/12/2016(c) Ankit Defining windows nodes
  • 11. Procedure cont. 5/12/2016(c) Ankit With the above displayed launch method, after pressing save button go to slave machine open Jenkins in browser navigate to node which is to be connected, click on launch slave agent button. For Windows slaves please make sure to not start the slave as Windows Service at Launch method. Windows Services are intended to run command line applications but not to run applications which consist of a GUI. Starting the Jenkins slave as JNLP via Launch slave agents via Java Web Start works fine.
  • 12. Procedure cont. 5/12/2016(c) Ankit Defining Linux nodes
  • 13. Procedure cont. 5/12/2016(c) Ankit Once all the nodes gets connected to master Jenkins Server. Its time to create a Build Job to execute the test suite of squish from the Jenkins Server.
  • 14. Procedure cont. 5/12/2016(c) Ankit Create a Freestyle project.
  • 15. Procedure cont. 5/12/2016(c) Ankit Provide the details as shown below
  • 16. Procedure cont. 5/12/2016(c) Ankit Add build step as squish.
  • 17. Procedure cont. 5/12/2016(c) Ankit Provide the details as shown below
  • 18. Procedure cont. 5/12/2016(c) Ankit The value for config section in the above slide is taken from the keys defined in advanced configuration section in slide number 6. Provide the IP address of slave machine in Host where to execute the Test Suite. Default port is 4322 of squishserver to listen to the incoming requests.
  • 19. Procedure cont. 5/12/2016(c) Ankit Execute the build Job created to execute the test suite from Jenkins server on slave machine Note :- Make sure that Squishserver on slave machine is allowed to accept incoming requests and before execution of Jenkins job it should be up and running.
  • 20. Procedure cont. 5/12/2016(c) Ankit Squish report is available in Jenkins Master machine.
  • 21. Procedure cont. 5/12/2016(c) Ankit However we can also integrate Jenkins with the mail server for every failure to auto send the mails to concerned persons. Jenkins has got rich library of plugins to play. Keep exploring keep playing keep enjoying.