SlideShare a Scribd company logo
1 of 68
01 Framework
02 Xampp Server
03 WordPress
04 My SQL
05 Gauge
06 Python + Selenium + API
07 Git Lab
08 Jenkins
09 YouTrack + Jenkins
10 Microsoft Teams + Jenkins
11 Postman + Newman + Jenkins
1
2
XAMPP SERVER
XAMPP stands for Cross-Platform (X), Apache (A),
MariaDB (M), PHP (P) and Perl (P)
01
XAMPP is simple, lightweight Apache distribution
02
XAMPP works equally well on Linux, Mac, and Windows
03
XAMPP is extremely easy for developers to create a
local web server for testing and deployment
purposes
04
How To?
3
WordPress
WordPress is a free, open-source website creation
platform
01
WordPress is a content management system (CMS)
02
Written in PHP that uses a MySQL database
03
WordPress is a great solution for both large and
small websites
04
How To?
• Download WordPress-5.5.1 and extract ZIP
• Select all files and folders under WordPress and copy those to C:xampphtdocs<ProjectName
Folder>
• Restart Apache, Tomcat, MySQL Services
• Go To XAMPP Control Panel -> MySQL -> Admin ->
• Create new <ProjectName> Database
• Navigate to Link-> http://localhost/<ProjectName>/wp-admin/setup-config.php
• Enter database name <ProjectName>, username, password, database-local host, table prefix-> wp_
• On next Page add Site Title, Username <wp_admin>, password and click on install WordPress
Login into:-
• Navigate to http://localhost/pyrates/wp-login.php and enter username and password of admin
• Dashboard page loaded.
WordPress Plugins
WordPress Users
4
My SQL
WordPress data are stored in My SQL
01
MySQL is free
02
MySQL consists of a solid data security layer that
protects sensitive data
03
Client/ Server Architecture
04
My SQL
5
GAUGE
Free and open source test automation framework
01
BDD Framework supports Specification files
02
Supports JavaScript/C#/Java/Ruby/Python
03
Provide HTML/XML reports
04
GAUGE SPCES FILE/EXECUTION COMMAND/PLUGINS
GAUGE HTML REPORT
GAUGE XML REPORT
6
Python + Selenium + API
Selenium supports Python and are open source
01
Python and selenium supports multiple browsers
02
Python along with selenium is easy to code and
easy to read
03
Python language has very less verbose
04
The API used in python helps you in connecting to
the browser through the Selenium
05
Python Libraries
Package Version Package Version Package Version
appdirs 1.4.4 ipython-genutils 0.2.0 python-dateutil 2.8.1
astroid 2.4.2 isort 5.6.4 pywin32 228
Authlib 0.15.2 jedi 0.17.1 pyzmq 19.0.1
autopep8 1.5.3 jupyter-client 6.1.5 redbaron 0.9.2
backcall 0.2.0 jupyter-core 4.6.3 requests 2.24.0
baron 0.9 lazy-object-proxy 1.4.3 rply 0.7.7
certifi 2020.6.20 mccabe 0.6.1 selenium 3.141.0
cffi 1.14.3 mysql-connector 2.2.9 setuptools 47.1.0
chardet 3.0.4 parso 0.7.0 simple-salesforce 1.10.1
chromedriver-autoinstaller 0.2.2 passlib 1.7.4 six 1.15.0
colorama 0.4.4 pathlib 1.0.1 toml 0.10.1
cryptography 3.1.1 pickleshare 0.7.5 tornado 6.0.4
decorator 4.4.2 pip 20.1.1 traitlets 4.3.3
distlib 0.3.1 pipenv 2020.8.13 typed-ast 1.4.1
filelock 3.0.12 prompt-toolkit 3.0.5 urllib3 1.25.11
getgauge 0.3.7 protobuf 3.13.0 uuid 1.3
grpcio 1.25.0 ptvsd 4.3.2 virtualenv 20.0.35
idna 2.1 pycodestyle 2.6.0 virtualenv-clone 0.5.4
importlib-metadata 2.0.0 pycparser 2.2 wheel 0.35.1
ipykernel 5.3.0 Pygments 2.6.1 wrapt 1.12.1
ipython 7.16.1 pylint 2.6.0 zipp 3.3.2
Python + Property File
Python + Selenium + MySQL
Python + API
Python (MySQL - User Password Verification)
Python (YATTAG) Library
7
Git Lab
Gitlab provides a vast repository on web-based
DevOps
01
Free and easy to manage and configure it
02
Code reviews and pulls up request made it more
compact and user-friendly
03
Public repository on GitLab can be used for wikis,
documentation, and tracking of issues
04
Continuous delivery
05
Git Lab – Command line instructions
Git global setup
git config --global user.name "fagoon_priyadarshi"
git config --global user.email
"fagoon_priyadarshi@xyz.com"
Create a new repository
git clone https://git.xyz.co.in/group-4/pyrates.git
cd pyrates
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Push Existing folder to GIT LAB
cd existing_folder
git init
git config --global user.name “pqr_xyz" (add your
username ??)
git config --global user.email "pqr_xyz@xyz.com"
git remote add origin https://git.xyz.co.in/group-
4/pyrates.git
git add .
git commit -m "Initial commit"
git push -u origin master
Existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin https://git.xyz.co.in/group-
4/pyrates.git
git push -u origin --all
git push -u origin --tags
Git Lab - Clone Repo
Open Command Prompt and navigate to the folder under which you want to create
Project from GIT LAB
git config --global user.name “PQR_XYZ" (add your username ??)
git config --global user.email "PQR_XYZ @xyz.com"
git clone
https://git.xyz.co.in/group-4/pyrates.git
When prompted enter username and password
8
JENKINS
Open Source and Free
01
Rich set of plugins.
02
Support for build pipelines.
03
Tons of integrations
04
Jenkin Supports OS X, Windows, Mac, and others
05
JENKINS PLUGINS
• JENKINS (2.353.5)
• Install following plugins
• Ant 1.8
• Apache Http Components Client 4.x API
• Blue Ocean Core JS 1.24.1
• Blue Ocean Pipeline Editor 1.24.1
• Bootstrap 4 API 4.5.2-1
• bouncycastle API Plugin 2.18
• Branch API 2.6.0
• Build Pipeline Plugin 1.5.8
• Checks API 1.0.2
• Command Agent Launcher 1.4
• Common API for Blue Ocean 1.24.1
• Conditional BuildStep 1.3.6
• Convert To Pipeline 1
• Credentials 2.3.13
• Credentials Binding Plugin 1.24
• CVS 2.11
• Dashboard for Blue Ocean 1.24.1
• Design Language 1.24.1
• Display URL API 2.3.3
• Docker Commons Plugin 1.17
• Docker Pipeline 1.24
• Durable Task Plugin 1.35
• ECharts API 4.9.0-1
• External Monitor Job Type 1.4
• Favorite 2.3.2
• Folders 6.14
• Font Awesome API 5.14.0-1
• Git 4.4.4
• Git client plugin 3.5.1
• Git Pipeline for Blue Ocean 1.24.1
• GIT server Plugin 1.9
• GitHub 1.31.0
• GitHub API 1.116
• GitHub Branch Source 2.9.1
• GitHub Pipeline for Blue Ocean 1.24.1
• GitLab Plugin 1.5.13
• HTML Publisher 1.23
• Jackson 2 API 2.11.3
• JavaScript GUI Lib
• jQuery plugin 1.12.4-1
• YouTrack
• Office 365 Connector
Note: Many plugins are dependent and will get install with Primary plugin
JENKINS MASTER/SLAVE
3. Create Pipeline Project or Freestyle Project on Master
Node (Jenkins)
In pipeline code enter the name of the Node in Node setting
e.g. node ('MasterSlave')
• In Freestyle project select checkbox "Restrict where this
project can be run“ and select Node name from Label
Expression
1. Create Slave Node from Jenkins-> Manage
Jenkins-> Manage Nodes and Clouds-> New Node -
> Add required details on the new node creation
page
2. Go to the New Node created and click on Launch
button to activate the Node
https://dzone.com/articles/jenkins-03-configure-
master-and-slave
Connect Slave To Master using below command (Execute it from Slave Machine)
java -jar agent.jar -jnlpUrl http://10.44.9.118:8080/computer/MSG4%20Master/slave-agent.jnlp -secret
cc176610ed523788ce2af8101325bc312cb1d57abb8f2c74ca453eab946be21a -workDir
"C:Agent_Root_Directory"
JENKINS
SLAVE NODE CONFIGURATION
SLAVE NODE CONFIGURATION
FOR JENKINS PROJECT
SYSTEM CONFIGURATION
YOUTRACK
JENKINS PROJECTS
BUILD TRIGGER COMMANDS
BUILD COMMANDS
9
YouTrack
YouTrack is a Project management tool
01
Web-based issue tracking tool
02
Task Management and Team Collaboration
03
Reporting
04
YOUTRACK
JENKINS PROJECT CONFIGURATION
POST-BUILD ACTIONS
CREATE YOUTRACK ISSUE
YOUTRACK ISSUE
YOUTRACK
EMAIL NOTIFICATION CONFIGURATION
10
Jenkins + Microsoft Teams Integration
Microsoft Teams is a business communication
platform
01
You can get notified of your builds status
02
Office 365 Connector plugins
03
Jenkins + Microsoft Teams Integration
1. Create a team
2. Click Add channel
3. Once the channel is created, click connector
3. Select Jenkins and click Configure.
4. Enter a name for the Jenkins connection.
5. Copy the webhook URL and save it to the clipboard.
6. Log in to the Jenkins dashboard
7. Click Manage Jenkins from the left-hand side menu.
8. Click on Manage Plugins from the right-hand side.
9. Click on the Available tab.
10. Search for Office 365 Connector and then check the checkbox and click the Install without restart button.
11. Go to your project and click on the Configure button.
12. Click on the Office 365 Connector tab.
13. Click on the Add Webhook button.
14. Paste the webhook URL in the URL box and check for all those boxes for which you want to receive events
and then click the Save button.
15. Click the Build Now button.
16. Once the build starts, you'll get notifications in the teams-notification channel.
17. After the build is completed, you will get notifications in the teams-notification channel.
Jenkins + Microsoft Teams Integration
Jenkins + Microsoft Teams Integration
11
POSTMAN
Requests/ Responses/ Variables
01
Scripts and the Postman Sandbox
02
Collaboration/ Collections / Monitoring
03
04 API Platform/ Mock Server
Postman Global Variables
Postman WordPress API Scripts
Postman – Share Collection Link
Postman – Export Collection
NEWMAN
Newman is a command line Collection Runner for Postman
01
Newman maintains feature parity with Postman
02
Easily integrate with Jenkins
03
04 Newman resides in the NPM registry and on GitHub
Newman Installation and Execution
Jenkin – Global Tool Configuration for Newman
Jenkin –Configure System Setting for Report Mailing
Jenkin – Newman Postman Freestyle Project Setting
Jenkin – Neman Postman Freestyle Project Setting – Post Build Action
Execution Mail + HTML Report
Python Automation With Gauge + Selenium + API + Jenkins

More Related Content

What's hot

Python selenium
Python seleniumPython selenium
Python seleniumDucat
 
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...Edureka!
 
Robot Framework Introduction
Robot Framework IntroductionRobot Framework Introduction
Robot Framework IntroductionPekka Klärck
 
An Introduction to Maven
An Introduction to MavenAn Introduction to Maven
An Introduction to MavenVadym Lotar
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...Simplilearn
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesVijay Rangaiah
 
Robot Framework Dos And Don'ts
Robot Framework Dos And Don'tsRobot Framework Dos And Don'ts
Robot Framework Dos And Don'tsPekka Klärck
 
Data Driven Framework in Selenium
Data Driven Framework in SeleniumData Driven Framework in Selenium
Data Driven Framework in SeleniumKnoldus Inc.
 
An Introduction To Jenkins
An Introduction To JenkinsAn Introduction To Jenkins
An Introduction To JenkinsKnoldus Inc.
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with seleniumTzirla Rozental
 
Continuous integration
Continuous integrationContinuous integration
Continuous integrationamscanne
 
CI/CD Overview
CI/CD OverviewCI/CD Overview
CI/CD OverviewAn Nguyen
 
DEVOPS 에 대한 전반적인 소개 및 자동화툴 소개
DEVOPS 에 대한 전반적인 소개 및 자동화툴 소개DEVOPS 에 대한 전반적인 소개 및 자동화툴 소개
DEVOPS 에 대한 전반적인 소개 및 자동화툴 소개태준 문
 

What's hot (20)

Python selenium
Python seleniumPython selenium
Python selenium
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
 
Robot Framework Introduction
Robot Framework IntroductionRobot Framework Introduction
Robot Framework Introduction
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
An Introduction to Maven
An Introduction to MavenAn Introduction to Maven
An Introduction to Maven
 
SELENIUM PPT.pdf
SELENIUM PPT.pdfSELENIUM PPT.pdf
SELENIUM PPT.pdf
 
Jenkins tutorial
Jenkins tutorialJenkins tutorial
Jenkins tutorial
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
 
Accelerating with Ansible
Accelerating with AnsibleAccelerating with Ansible
Accelerating with Ansible
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
Robot Framework Dos And Don'ts
Robot Framework Dos And Don'tsRobot Framework Dos And Don'ts
Robot Framework Dos And Don'ts
 
Selenium
SeleniumSelenium
Selenium
 
Data Driven Framework in Selenium
Data Driven Framework in SeleniumData Driven Framework in Selenium
Data Driven Framework in Selenium
 
An Introduction To Jenkins
An Introduction To JenkinsAn Introduction To Jenkins
An Introduction To Jenkins
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Continuous integration
Continuous integrationContinuous integration
Continuous integration
 
CI/CD Overview
CI/CD OverviewCI/CD Overview
CI/CD Overview
 
DEVOPS 에 대한 전반적인 소개 및 자동화툴 소개
DEVOPS 에 대한 전반적인 소개 및 자동화툴 소개DEVOPS 에 대한 전반적인 소개 및 자동화툴 소개
DEVOPS 에 대한 전반적인 소개 및 자동화툴 소개
 

Similar to Python Automation With Gauge + Selenium + API + Jenkins

Servlets made easy. 
Write once and run everywhere.
Servlets made easy. 
Write once and run everywhere.Servlets made easy. 
Write once and run everywhere.
Servlets made easy. 
Write once and run everywhere.ICON UK EVENTS Limited
 
From XPages Hero to OSGi Guru: Taking the Scary out of Building Extension Lib...
From XPages Hero to OSGi Guru: Taking the Scary out of Building Extension Lib...From XPages Hero to OSGi Guru: Taking the Scary out of Building Extension Lib...
From XPages Hero to OSGi Guru: Taking the Scary out of Building Extension Lib...Paul Withers
 
DevOPS training - Day 2/2
DevOPS training - Day 2/2DevOPS training - Day 2/2
DevOPS training - Day 2/2Vincent Mercier
 
TestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé Mochtar
TestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé MochtarTestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé Mochtar
TestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé MochtarXebia Nederland BV
 
Create a PHP Library the right way
Create a PHP Library the right wayCreate a PHP Library the right way
Create a PHP Library the right wayChristian Varela
 
Symfony under control. Continuous Integration and Automated Deployments in Sy...
Symfony under control. Continuous Integration and Automated Deployments in Sy...Symfony under control. Continuous Integration and Automated Deployments in Sy...
Symfony under control. Continuous Integration and Automated Deployments in Sy...Max Romanovsky
 
Symfony Under Control by Maxim Romanovsky
Symfony Under Control by Maxim RomanovskySymfony Under Control by Maxim Romanovsky
Symfony Under Control by Maxim Romanovskyphp-user-group-minsk
 
Continuous Integration using Jenkins with Python
Continuous Integration using Jenkins with PythonContinuous Integration using Jenkins with Python
Continuous Integration using Jenkins with PythonInexture Solutions
 
C++ Windows Forms L01 - Intro
C++ Windows Forms L01 - IntroC++ Windows Forms L01 - Intro
C++ Windows Forms L01 - IntroMohammad Shaker
 
(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern Desktop(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern DesktopOren Novotny
 
M365 global developer bootcamp 2019 Intro to SPFx Version
M365 global developer bootcamp 2019 Intro to SPFx VersionM365 global developer bootcamp 2019 Intro to SPFx Version
M365 global developer bootcamp 2019 Intro to SPFx VersionThomas Daly
 
From CoreOS to Kubernetes and Concourse CI
From CoreOS to Kubernetes and Concourse CIFrom CoreOS to Kubernetes and Concourse CI
From CoreOS to Kubernetes and Concourse CIDenis Izmaylov
 
Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2
Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2
Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2Amrita Prasad
 
CI/CD on AWS Deploy Everything All the Time
CI/CD on AWS Deploy Everything All the TimeCI/CD on AWS Deploy Everything All the Time
CI/CD on AWS Deploy Everything All the TimeAmazon Web Services
 
Lean Drupal Repositories with Composer and Drush
Lean Drupal Repositories with Composer and DrushLean Drupal Repositories with Composer and Drush
Lean Drupal Repositories with Composer and DrushPantheon
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017Patrick Chanezon
 
Server(less) Swift at SwiftCloudWorkshop 3
Server(less) Swift at SwiftCloudWorkshop 3Server(less) Swift at SwiftCloudWorkshop 3
Server(less) Swift at SwiftCloudWorkshop 3kognate
 
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)Brian Culver
 

Similar to Python Automation With Gauge + Selenium + API + Jenkins (20)

Let's serve your data
Let's serve your dataLet's serve your data
Let's serve your data
 
Servlets made easy. 
Write once and run everywhere.
Servlets made easy. 
Write once and run everywhere.Servlets made easy. 
Write once and run everywhere.
Servlets made easy. 
Write once and run everywhere.
 
From XPages Hero to OSGi Guru: Taking the Scary out of Building Extension Lib...
From XPages Hero to OSGi Guru: Taking the Scary out of Building Extension Lib...From XPages Hero to OSGi Guru: Taking the Scary out of Building Extension Lib...
From XPages Hero to OSGi Guru: Taking the Scary out of Building Extension Lib...
 
Scalable QA With Docker
Scalable QA With DockerScalable QA With Docker
Scalable QA With Docker
 
DevOPS training - Day 2/2
DevOPS training - Day 2/2DevOPS training - Day 2/2
DevOPS training - Day 2/2
 
TestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé Mochtar
TestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé MochtarTestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé Mochtar
TestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé Mochtar
 
Create a PHP Library the right way
Create a PHP Library the right wayCreate a PHP Library the right way
Create a PHP Library the right way
 
Symfony under control. Continuous Integration and Automated Deployments in Sy...
Symfony under control. Continuous Integration and Automated Deployments in Sy...Symfony under control. Continuous Integration and Automated Deployments in Sy...
Symfony under control. Continuous Integration and Automated Deployments in Sy...
 
Symfony Under Control by Maxim Romanovsky
Symfony Under Control by Maxim RomanovskySymfony Under Control by Maxim Romanovsky
Symfony Under Control by Maxim Romanovsky
 
Continuous Integration using Jenkins with Python
Continuous Integration using Jenkins with PythonContinuous Integration using Jenkins with Python
Continuous Integration using Jenkins with Python
 
C++ Windows Forms L01 - Intro
C++ Windows Forms L01 - IntroC++ Windows Forms L01 - Intro
C++ Windows Forms L01 - Intro
 
(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern Desktop(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern Desktop
 
M365 global developer bootcamp 2019 Intro to SPFx Version
M365 global developer bootcamp 2019 Intro to SPFx VersionM365 global developer bootcamp 2019 Intro to SPFx Version
M365 global developer bootcamp 2019 Intro to SPFx Version
 
From CoreOS to Kubernetes and Concourse CI
From CoreOS to Kubernetes and Concourse CIFrom CoreOS to Kubernetes and Concourse CI
From CoreOS to Kubernetes and Concourse CI
 
Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2
Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2
Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2
 
CI/CD on AWS Deploy Everything All the Time
CI/CD on AWS Deploy Everything All the TimeCI/CD on AWS Deploy Everything All the Time
CI/CD on AWS Deploy Everything All the Time
 
Lean Drupal Repositories with Composer and Drush
Lean Drupal Repositories with Composer and DrushLean Drupal Repositories with Composer and Drush
Lean Drupal Repositories with Composer and Drush
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017
 
Server(less) Swift at SwiftCloudWorkshop 3
Server(less) Swift at SwiftCloudWorkshop 3Server(less) Swift at SwiftCloudWorkshop 3
Server(less) Swift at SwiftCloudWorkshop 3
 
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
 

Recently uploaded

The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 

Recently uploaded (20)

The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 

Python Automation With Gauge + Selenium + API + Jenkins

  • 1.
  • 2. 01 Framework 02 Xampp Server 03 WordPress 04 My SQL 05 Gauge 06 Python + Selenium + API 07 Git Lab 08 Jenkins 09 YouTrack + Jenkins 10 Microsoft Teams + Jenkins 11 Postman + Newman + Jenkins
  • 3. 1
  • 4.
  • 5. 2
  • 6. XAMPP SERVER XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P) 01 XAMPP is simple, lightweight Apache distribution 02 XAMPP works equally well on Linux, Mac, and Windows 03 XAMPP is extremely easy for developers to create a local web server for testing and deployment purposes 04
  • 8. 3
  • 9. WordPress WordPress is a free, open-source website creation platform 01 WordPress is a content management system (CMS) 02 Written in PHP that uses a MySQL database 03 WordPress is a great solution for both large and small websites 04
  • 10. How To? • Download WordPress-5.5.1 and extract ZIP • Select all files and folders under WordPress and copy those to C:xampphtdocs<ProjectName Folder> • Restart Apache, Tomcat, MySQL Services • Go To XAMPP Control Panel -> MySQL -> Admin -> • Create new <ProjectName> Database • Navigate to Link-> http://localhost/<ProjectName>/wp-admin/setup-config.php • Enter database name <ProjectName>, username, password, database-local host, table prefix-> wp_ • On next Page add Site Title, Username <wp_admin>, password and click on install WordPress Login into:- • Navigate to http://localhost/pyrates/wp-login.php and enter username and password of admin • Dashboard page loaded.
  • 13. 4
  • 14. My SQL WordPress data are stored in My SQL 01 MySQL is free 02 MySQL consists of a solid data security layer that protects sensitive data 03 Client/ Server Architecture 04
  • 16. 5
  • 17. GAUGE Free and open source test automation framework 01 BDD Framework supports Specification files 02 Supports JavaScript/C#/Java/Ruby/Python 03 Provide HTML/XML reports 04
  • 18. GAUGE SPCES FILE/EXECUTION COMMAND/PLUGINS
  • 21. 6
  • 22. Python + Selenium + API Selenium supports Python and are open source 01 Python and selenium supports multiple browsers 02 Python along with selenium is easy to code and easy to read 03 Python language has very less verbose 04 The API used in python helps you in connecting to the browser through the Selenium 05
  • 23. Python Libraries Package Version Package Version Package Version appdirs 1.4.4 ipython-genutils 0.2.0 python-dateutil 2.8.1 astroid 2.4.2 isort 5.6.4 pywin32 228 Authlib 0.15.2 jedi 0.17.1 pyzmq 19.0.1 autopep8 1.5.3 jupyter-client 6.1.5 redbaron 0.9.2 backcall 0.2.0 jupyter-core 4.6.3 requests 2.24.0 baron 0.9 lazy-object-proxy 1.4.3 rply 0.7.7 certifi 2020.6.20 mccabe 0.6.1 selenium 3.141.0 cffi 1.14.3 mysql-connector 2.2.9 setuptools 47.1.0 chardet 3.0.4 parso 0.7.0 simple-salesforce 1.10.1 chromedriver-autoinstaller 0.2.2 passlib 1.7.4 six 1.15.0 colorama 0.4.4 pathlib 1.0.1 toml 0.10.1 cryptography 3.1.1 pickleshare 0.7.5 tornado 6.0.4 decorator 4.4.2 pip 20.1.1 traitlets 4.3.3 distlib 0.3.1 pipenv 2020.8.13 typed-ast 1.4.1 filelock 3.0.12 prompt-toolkit 3.0.5 urllib3 1.25.11 getgauge 0.3.7 protobuf 3.13.0 uuid 1.3 grpcio 1.25.0 ptvsd 4.3.2 virtualenv 20.0.35 idna 2.1 pycodestyle 2.6.0 virtualenv-clone 0.5.4 importlib-metadata 2.0.0 pycparser 2.2 wheel 0.35.1 ipykernel 5.3.0 Pygments 2.6.1 wrapt 1.12.1 ipython 7.16.1 pylint 2.6.0 zipp 3.3.2
  • 25. Python + Selenium + MySQL
  • 27. Python (MySQL - User Password Verification)
  • 29. 7
  • 30. Git Lab Gitlab provides a vast repository on web-based DevOps 01 Free and easy to manage and configure it 02 Code reviews and pulls up request made it more compact and user-friendly 03 Public repository on GitLab can be used for wikis, documentation, and tracking of issues 04 Continuous delivery 05
  • 31. Git Lab – Command line instructions Git global setup git config --global user.name "fagoon_priyadarshi" git config --global user.email "fagoon_priyadarshi@xyz.com" Create a new repository git clone https://git.xyz.co.in/group-4/pyrates.git cd pyrates touch README.md git add README.md git commit -m "add README" git push -u origin master Push Existing folder to GIT LAB cd existing_folder git init git config --global user.name “pqr_xyz" (add your username ??) git config --global user.email "pqr_xyz@xyz.com" git remote add origin https://git.xyz.co.in/group- 4/pyrates.git git add . git commit -m "Initial commit" git push -u origin master Existing Git repository cd existing_repo git remote rename origin old-origin git remote add origin https://git.xyz.co.in/group- 4/pyrates.git git push -u origin --all git push -u origin --tags
  • 32. Git Lab - Clone Repo Open Command Prompt and navigate to the folder under which you want to create Project from GIT LAB git config --global user.name “PQR_XYZ" (add your username ??) git config --global user.email "PQR_XYZ @xyz.com" git clone https://git.xyz.co.in/group-4/pyrates.git When prompted enter username and password
  • 33. 8
  • 34. JENKINS Open Source and Free 01 Rich set of plugins. 02 Support for build pipelines. 03 Tons of integrations 04 Jenkin Supports OS X, Windows, Mac, and others 05
  • 35. JENKINS PLUGINS • JENKINS (2.353.5) • Install following plugins • Ant 1.8 • Apache Http Components Client 4.x API • Blue Ocean Core JS 1.24.1 • Blue Ocean Pipeline Editor 1.24.1 • Bootstrap 4 API 4.5.2-1 • bouncycastle API Plugin 2.18 • Branch API 2.6.0 • Build Pipeline Plugin 1.5.8 • Checks API 1.0.2 • Command Agent Launcher 1.4 • Common API for Blue Ocean 1.24.1 • Conditional BuildStep 1.3.6 • Convert To Pipeline 1 • Credentials 2.3.13 • Credentials Binding Plugin 1.24 • CVS 2.11 • Dashboard for Blue Ocean 1.24.1 • Design Language 1.24.1 • Display URL API 2.3.3 • Docker Commons Plugin 1.17 • Docker Pipeline 1.24 • Durable Task Plugin 1.35 • ECharts API 4.9.0-1 • External Monitor Job Type 1.4 • Favorite 2.3.2 • Folders 6.14 • Font Awesome API 5.14.0-1 • Git 4.4.4 • Git client plugin 3.5.1 • Git Pipeline for Blue Ocean 1.24.1 • GIT server Plugin 1.9 • GitHub 1.31.0 • GitHub API 1.116 • GitHub Branch Source 2.9.1 • GitHub Pipeline for Blue Ocean 1.24.1 • GitLab Plugin 1.5.13 • HTML Publisher 1.23 • Jackson 2 API 2.11.3 • JavaScript GUI Lib • jQuery plugin 1.12.4-1 • YouTrack • Office 365 Connector Note: Many plugins are dependent and will get install with Primary plugin
  • 36. JENKINS MASTER/SLAVE 3. Create Pipeline Project or Freestyle Project on Master Node (Jenkins) In pipeline code enter the name of the Node in Node setting e.g. node ('MasterSlave') • In Freestyle project select checkbox "Restrict where this project can be run“ and select Node name from Label Expression 1. Create Slave Node from Jenkins-> Manage Jenkins-> Manage Nodes and Clouds-> New Node - > Add required details on the new node creation page 2. Go to the New Node created and click on Launch button to activate the Node https://dzone.com/articles/jenkins-03-configure- master-and-slave Connect Slave To Master using below command (Execute it from Slave Machine) java -jar agent.jar -jnlpUrl http://10.44.9.118:8080/computer/MSG4%20Master/slave-agent.jnlp -secret cc176610ed523788ce2af8101325bc312cb1d57abb8f2c74ca453eab946be21a -workDir "C:Agent_Root_Directory"
  • 38. SLAVE NODE CONFIGURATION FOR JENKINS PROJECT
  • 43. 9
  • 44. YouTrack YouTrack is a Project management tool 01 Web-based issue tracking tool 02 Task Management and Team Collaboration 03 Reporting 04
  • 49. 10
  • 50. Jenkins + Microsoft Teams Integration Microsoft Teams is a business communication platform 01 You can get notified of your builds status 02 Office 365 Connector plugins 03
  • 51. Jenkins + Microsoft Teams Integration 1. Create a team 2. Click Add channel 3. Once the channel is created, click connector 3. Select Jenkins and click Configure. 4. Enter a name for the Jenkins connection. 5. Copy the webhook URL and save it to the clipboard. 6. Log in to the Jenkins dashboard 7. Click Manage Jenkins from the left-hand side menu. 8. Click on Manage Plugins from the right-hand side. 9. Click on the Available tab. 10. Search for Office 365 Connector and then check the checkbox and click the Install without restart button. 11. Go to your project and click on the Configure button. 12. Click on the Office 365 Connector tab. 13. Click on the Add Webhook button. 14. Paste the webhook URL in the URL box and check for all those boxes for which you want to receive events and then click the Save button. 15. Click the Build Now button. 16. Once the build starts, you'll get notifications in the teams-notification channel. 17. After the build is completed, you will get notifications in the teams-notification channel.
  • 52. Jenkins + Microsoft Teams Integration
  • 53. Jenkins + Microsoft Teams Integration
  • 54. 11
  • 55. POSTMAN Requests/ Responses/ Variables 01 Scripts and the Postman Sandbox 02 Collaboration/ Collections / Monitoring 03 04 API Platform/ Mock Server
  • 58.
  • 59. Postman – Share Collection Link
  • 60. Postman – Export Collection
  • 61. NEWMAN Newman is a command line Collection Runner for Postman 01 Newman maintains feature parity with Postman 02 Easily integrate with Jenkins 03 04 Newman resides in the NPM registry and on GitHub
  • 63. Jenkin – Global Tool Configuration for Newman
  • 64. Jenkin –Configure System Setting for Report Mailing
  • 65. Jenkin – Newman Postman Freestyle Project Setting
  • 66. Jenkin – Neman Postman Freestyle Project Setting – Post Build Action
  • 67. Execution Mail + HTML Report