SlideShare a Scribd company logo
Alireza Azimzadeh Milani
Author of “Practical Guide on Python Programming” and
“Practical Guide on Pentesting with Kali Linux”.
Penetration-Tester, RHCE, LPIC-2, CEH, PWK, WiFu, …
3rd Python Conference, Iran, 2016
Level Audience: Intermediate
Concepts:
 What is Selenium (Se.)
 Selenium Applications
 Tools for Automating Interactions
 Job Opportunities in The World
 A demo(Tut)
Page 1
So, What is Selenium (Se.) ?
 Se is a browser automation framework
 like as Django web framework.
 Se is a set of tools for automating browsers
 Se supports browsers including Firefox,
Internet-Explorer, Google-Chrome, Safari, and
Opera.
Page 2
Page 3
BIO:
Selenium Applications:
 Largely used for testing & validating applications
 Automating repetitive tasks in browser
 Reduce financial costs and time
 because teams don’t have time or money to invest in
large test teams to make sure that applications work as
they are expected.
Page 4
Selenium Applications (Cont’d):
 For WEB Penetration-Testing
 Testing logical vulnerabilities:
for Ex: authentication, access control, input validation.
 Testing technical vulnerabilities:
for Ex: XSS, …
 Using in Web-Scraping
Page 5
Selenium Applications (Cont’d):
 For WEB Penetration-Testing
 Hacking a logical vulnerability: BUG BOUNTY
for bypassing CAPTCHA puzzle pattern:
Page 6
Thanks to:
BugCrowd.com
HackerONE.com
Selenium Applications (Cont’d):
 For WEB Penetration-Testing
 Hacking a technical vulnerability: BUG BOUNTY
for discovering a XSS vulnerability:
Page 7
Tools for Automating Interactions:
1. Selenium IDE:
 this is a Firefox add-on
 Disadvantages:
- it can only be used with FF
- also, all selenium tools don’t
support RIA technologies
such as: Silverlight, JavaFx,
and Flex/Flash.
Page 8
Tools Automating Interactions (Cont’d):
1. Selenium IDE:
Page 9
Tools Automating Interactions (Cont’d):
2. Selenium WebDriver:
 Is a programming interface for developing advanced
scripts using different programming languages.
 We can run tests on multiple browsers that is so-called:
Cross-Browser; And on multiple OS that is so-called:
Cross-Platform (IOS, Android, Linux, Win, Mac, …).
 Se.WebDriver offers many libraries for writing test scripts
in various languages, including Java, C#, Python, Ruby,
PHP, Perl, and JavaScript.
Page 10
Tools Automating Interactions (Cont’d):
2. Selenium WebDriver:
Page 11
Tools Automating Interactions (Cont’d):
3. Selenium Standalone Server:
 known as “Se.Grid” and that distributes test-scripts on
machines
 For Se.Grid, need a Java Runtime Environment (JRE);
then:
1) nohup java -jar selenium-server-standalone-2.53.jar >
/root/milani/selenium.log &
2) java -jar selenium-server-standalone-2.53.jar -host
10.1.10.14 -port 4444 -role hub
Page 12
Tools Automating Interactions (Cont’d):
3. Selenium Standalone Server:
 Hub: be understood as server which acts as the
central point
 Node: are Se.instances that are attached to the Hub
which execute the tests.
 Note« Se.Grid includes Hub, WebDriver, and Se.RC to
execute the scripts in the Grid.
Page 13
Tools Automating Interactions (Cont’d):
3. Selenium Standalone Server:
Page 14
Selenium Jobs:
www.indeed.com/q-Selenium-jobs.html
www.naukri.com/selenium-jobs #Special for India.
www.careerbuilder.com/jobs-selenium
www.upwork.com/o/jobs/browse/skill/selenium
An example of upwork.com:
Selenium script for downloading files.
Hourly - Entry Level ($) - Est. Time: Less than 1 month, 10-30 hrs/week - Posted 2 days ago.
Environment: Java-based platform, Selenium/TestNG framework.
Purpose: develop a script to automate the downloading of files from different web portals. ...
Each web portal (Java-based) has a completely different structure. We have ~20 user test cases
using Selenium; means: you should write a script for executing ~20 test cases.
Number of freelancers needed: 3
Page 15
Selenium Jobs (Cont’d):
Country:
United States
Currency:
USD
Updated:
3 April 2016
Page 16
A Practical Python Book:
Page 17
Author:
Alireza Azimzadeh Milani
Publication:
PendarePars
Year:
2016
Link:
www.pendarepars.com/
Home/Search/Python
 Selenium 2 Testing Tools
By: David Burns, © 2012
 Selenium Testing Tools Starter
By: Unmesh Gundecha, © 2013
 Learning Selenium Testing Tools with Python
By: Unmesh Gundecha, © 2014
 Selenium Testing Tools Cookbook, 2nd Edition
By: Unmesh Gundecha, © 2015
-----------------------------------------------------------------------------------------------------------------------------------
 www.amazon.com/s/ref=nb_sb_noss_2?url=search-
alias%3Dstripbooks&field-keywords=selenium
References:
Page 18
 www.slideshare.net/videotuition/selendroid-vs-appium-mobile-test-
automation-frameworks-selenium-web-driver-automation-32158263
 www.installationpage.com/selenium/how-to-run-selenium-headless-
firefox-in-ubuntu
 www.gridlastic.com/python-code-example.html
 http://testdroid.com/tech AND http://testdroid.com/testdroid
 http://simeonvisser.com/posts/running-tests-in-python-with-selenium-2-
and-webdriver.html
 www.ibm.com/developerworks/library/wa-seleniumgrid
 www.toolsqa.com/selenium-video-tutorial
Additional Training Links:
Page 19
Ali.Azimzadeh70@Gmail.com
AliAzimzadeh.Blogfa.com
IrSecTeam.org (Iran Security Team)
Any Question … ?
linkedin.com/in/alireza-azimzadeh-milani-34874079
The End of Everything is
To Start Learning New Things.

More Related Content

What's hot

Selenium WebDriver: Tips and Tricks
Selenium WebDriver: Tips and TricksSelenium WebDriver: Tips and Tricks
Selenium WebDriver: Tips and Tricks
Edureka!
 
Selenium Commands (Short Interview Preparation)
Selenium Commands (Short Interview Preparation)Selenium Commands (Short Interview Preparation)
Selenium Commands (Short Interview Preparation)
Yogesh Thalkari
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularity
Ray Business Technologies
 
QA Fest 2014. Ярослав Пернеровский. Appium - два в одном. рецепт приготовлени...
QA Fest 2014. Ярослав Пернеровский. Appium - два в одном. рецепт приготовлени...QA Fest 2014. Ярослав Пернеровский. Appium - два в одном. рецепт приготовлени...
QA Fest 2014. Ярослав Пернеровский. Appium - два в одном. рецепт приготовлени...
QAFest
 
Python selenium
Python seleniumPython selenium
Python selenium
Ducat
 
QA Fest 2019. Иван Крутов. Bulletproof Selenium Cluster
QA Fest 2019. Иван Крутов. Bulletproof Selenium ClusterQA Fest 2019. Иван Крутов. Bulletproof Selenium Cluster
QA Fest 2019. Иван Крутов. Bulletproof Selenium Cluster
QAFest
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
Nikhil Kapoor
 
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Edureka!
 
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Yuriy Gerasimov
 
Selenium 1july
Selenium 1julySelenium 1july
Selenium 1julyEdureka!
 
Step by step instructions to execute selenium automation testing
Step by step instructions to execute selenium automation testingStep by step instructions to execute selenium automation testing
Step by step instructions to execute selenium automation testing
Alisha Henderson
 
Selenium
SeleniumSelenium
Selenium
Kalyan ch
 
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Simplilearn
 
Selenium
SeleniumSelenium
Selenium
Batch2016
 
Automation Using Selenium Webdriver
Automation Using Selenium WebdriverAutomation Using Selenium Webdriver
Automation Using Selenium Webdriver
Edureka!
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Simplilearn
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
Karapet Sarkisyan
 
Test automationslides
Test automationslidesTest automationslides
Test automationslides
UMA MAHESWARI
 
Introduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewIntroduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiew
Disha Srivastava
 
Vulnerable_and_outdated_components_suman.pptx
Vulnerable_and_outdated_components_suman.pptxVulnerable_and_outdated_components_suman.pptx
Vulnerable_and_outdated_components_suman.pptx
Suman Astani
 

What's hot (20)

Selenium WebDriver: Tips and Tricks
Selenium WebDriver: Tips and TricksSelenium WebDriver: Tips and Tricks
Selenium WebDriver: Tips and Tricks
 
Selenium Commands (Short Interview Preparation)
Selenium Commands (Short Interview Preparation)Selenium Commands (Short Interview Preparation)
Selenium Commands (Short Interview Preparation)
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularity
 
QA Fest 2014. Ярослав Пернеровский. Appium - два в одном. рецепт приготовлени...
QA Fest 2014. Ярослав Пернеровский. Appium - два в одном. рецепт приготовлени...QA Fest 2014. Ярослав Пернеровский. Appium - два в одном. рецепт приготовлени...
QA Fest 2014. Ярослав Пернеровский. Appium - два в одном. рецепт приготовлени...
 
Python selenium
Python seleniumPython selenium
Python selenium
 
QA Fest 2019. Иван Крутов. Bulletproof Selenium Cluster
QA Fest 2019. Иван Крутов. Bulletproof Selenium ClusterQA Fest 2019. Иван Крутов. Bulletproof Selenium Cluster
QA Fest 2019. Иван Крутов. Bulletproof Selenium Cluster
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
 
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
 
Selenium 1july
Selenium 1julySelenium 1july
Selenium 1july
 
Step by step instructions to execute selenium automation testing
Step by step instructions to execute selenium automation testingStep by step instructions to execute selenium automation testing
Step by step instructions to execute selenium automation testing
 
Selenium
SeleniumSelenium
Selenium
 
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
 
Selenium
SeleniumSelenium
Selenium
 
Automation Using Selenium Webdriver
Automation Using Selenium WebdriverAutomation Using Selenium Webdriver
Automation Using Selenium Webdriver
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
Test automationslides
Test automationslidesTest automationslides
Test automationslides
 
Introduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewIntroduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiew
 
Vulnerable_and_outdated_components_suman.pptx
Vulnerable_and_outdated_components_suman.pptxVulnerable_and_outdated_components_suman.pptx
Vulnerable_and_outdated_components_suman.pptx
 

Similar to تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی

Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
Selenium&scrapy
Selenium&scrapySelenium&scrapy
Selenium&scrapy
Arcangelo Saracino
 
Selenium Webdriver Interview Questions
Selenium Webdriver Interview QuestionsSelenium Webdriver Interview Questions
Selenium Webdriver Interview Questions
Jai Singh
 
Selenium Automation
Selenium AutomationSelenium Automation
Selenium Automation
MuhammadusmanRana10
 
Demystifying Selenium framework
Demystifying Selenium frameworkDemystifying Selenium framework
Demystifying Selenium framework
kunalgate125
 
BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
Colin McDonald
 
selenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfselenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdf
AnuragMourya8
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
Pankaj Biswas
 
A Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingA Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software Testing
Calidad Infotech
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
Qspiders - Software Testing Training Institute
 
Best Selenium course Online Training in Hyderabad Naresh-IT
Best Selenium course Online Training in Hyderabad Naresh-ITBest Selenium course Online Training in Hyderabad Naresh-IT
Best Selenium course Online Training in Hyderabad Naresh-IT
manoharnaidunareshit
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Control
usha kannappan
 
Selenium
SeleniumSelenium
Selenium
Sun Technlogies
 
25 Top Selenium Interview Questions and Answers for 2023.pdf
25 Top Selenium Interview Questions and Answers for 2023.pdf25 Top Selenium Interview Questions and Answers for 2023.pdf
25 Top Selenium Interview Questions and Answers for 2023.pdf
AnanthReddy38
 
Selenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra Solutions
QUONTRASOLUTIONS
 
Top 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfTop 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdf
AnanthReddy38
 
Stepin evening presented
Stepin evening presentedStepin evening presented
Stepin evening presentedVijayan Reddy
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium Rohit Thakur
 
Selenium interview-questions-freshers
Selenium interview-questions-freshersSelenium interview-questions-freshers
Selenium interview-questions-freshers
Naga Mani
 

Similar to تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی (20)

Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Selenium&scrapy
Selenium&scrapySelenium&scrapy
Selenium&scrapy
 
Selenium Webdriver Interview Questions
Selenium Webdriver Interview QuestionsSelenium Webdriver Interview Questions
Selenium Webdriver Interview Questions
 
Selenium Automation
Selenium AutomationSelenium Automation
Selenium Automation
 
Demystifying Selenium framework
Demystifying Selenium frameworkDemystifying Selenium framework
Demystifying Selenium framework
 
BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
 
selenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfselenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdf
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
 
A Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingA Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software Testing
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 
Best Selenium course Online Training in Hyderabad Naresh-IT
Best Selenium course Online Training in Hyderabad Naresh-ITBest Selenium course Online Training in Hyderabad Naresh-IT
Best Selenium course Online Training in Hyderabad Naresh-IT
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Control
 
Selenium
SeleniumSelenium
Selenium
 
25 Top Selenium Interview Questions and Answers for 2023.pdf
25 Top Selenium Interview Questions and Answers for 2023.pdf25 Top Selenium Interview Questions and Answers for 2023.pdf
25 Top Selenium Interview Questions and Answers for 2023.pdf
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra Solutions
 
Top 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfTop 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdf
 
Stepin evening presented
Stepin evening presentedStepin evening presented
Stepin evening presented
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
 
Selenium interview-questions-freshers
Selenium interview-questions-freshersSelenium interview-questions-freshers
Selenium interview-questions-freshers
 

More from irpycon

Caffe - A deep learning framework (Ramin Fahimi)
Caffe - A deep learning framework (Ramin Fahimi)Caffe - A deep learning framework (Ramin Fahimi)
Caffe - A deep learning framework (Ramin Fahimi)
irpycon
 
Medical image Processing - Vahid Nayini
Medical image Processing - Vahid NayiniMedical image Processing - Vahid Nayini
Medical image Processing - Vahid Nayini
irpycon
 
ایجاد کاره‌های اوبونتو با پایتون - دانیال بهزادی
ایجاد کاره‌های اوبونتو با پایتون - دانیال بهزادیایجاد کاره‌های اوبونتو با پایتون - دانیال بهزادی
ایجاد کاره‌های اوبونتو با پایتون - دانیال بهزادی
irpycon
 
Word2Vec: Vector presentation of words - Mohammad Mahdavi
Word2Vec: Vector presentation of words - Mohammad MahdaviWord2Vec: Vector presentation of words - Mohammad Mahdavi
Word2Vec: Vector presentation of words - Mohammad Mahdavi
irpycon
 
Python internals and how they affect your code - kasra ahmadvand
Python internals and how they affect your code - kasra ahmadvandPython internals and how they affect your code - kasra ahmadvand
Python internals and how they affect your code - kasra ahmadvand
irpycon
 
معرفی و آموزش سامانه مدیریت محتوای مزانین - سید مسعود صدر نژاد
معرفی و آموزش سامانه مدیریت محتوای مزانین - سید مسعود صدر نژادمعرفی و آموزش سامانه مدیریت محتوای مزانین - سید مسعود صدر نژاد
معرفی و آموزش سامانه مدیریت محتوای مزانین - سید مسعود صدر نژاد
irpycon
 

More from irpycon (6)

Caffe - A deep learning framework (Ramin Fahimi)
Caffe - A deep learning framework (Ramin Fahimi)Caffe - A deep learning framework (Ramin Fahimi)
Caffe - A deep learning framework (Ramin Fahimi)
 
Medical image Processing - Vahid Nayini
Medical image Processing - Vahid NayiniMedical image Processing - Vahid Nayini
Medical image Processing - Vahid Nayini
 
ایجاد کاره‌های اوبونتو با پایتون - دانیال بهزادی
ایجاد کاره‌های اوبونتو با پایتون - دانیال بهزادیایجاد کاره‌های اوبونتو با پایتون - دانیال بهزادی
ایجاد کاره‌های اوبونتو با پایتون - دانیال بهزادی
 
Word2Vec: Vector presentation of words - Mohammad Mahdavi
Word2Vec: Vector presentation of words - Mohammad MahdaviWord2Vec: Vector presentation of words - Mohammad Mahdavi
Word2Vec: Vector presentation of words - Mohammad Mahdavi
 
Python internals and how they affect your code - kasra ahmadvand
Python internals and how they affect your code - kasra ahmadvandPython internals and how they affect your code - kasra ahmadvand
Python internals and how they affect your code - kasra ahmadvand
 
معرفی و آموزش سامانه مدیریت محتوای مزانین - سید مسعود صدر نژاد
معرفی و آموزش سامانه مدیریت محتوای مزانین - سید مسعود صدر نژادمعرفی و آموزش سامانه مدیریت محتوای مزانین - سید مسعود صدر نژاد
معرفی و آموزش سامانه مدیریت محتوای مزانین - سید مسعود صدر نژاد
 

Recently uploaded

Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 

Recently uploaded (20)

Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 

تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی

  • 1. Alireza Azimzadeh Milani Author of “Practical Guide on Python Programming” and “Practical Guide on Pentesting with Kali Linux”. Penetration-Tester, RHCE, LPIC-2, CEH, PWK, WiFu, … 3rd Python Conference, Iran, 2016
  • 3. Concepts:  What is Selenium (Se.)  Selenium Applications  Tools for Automating Interactions  Job Opportunities in The World  A demo(Tut) Page 1
  • 4. So, What is Selenium (Se.) ?  Se is a browser automation framework  like as Django web framework.  Se is a set of tools for automating browsers  Se supports browsers including Firefox, Internet-Explorer, Google-Chrome, Safari, and Opera. Page 2
  • 6. Selenium Applications:  Largely used for testing & validating applications  Automating repetitive tasks in browser  Reduce financial costs and time  because teams don’t have time or money to invest in large test teams to make sure that applications work as they are expected. Page 4
  • 7. Selenium Applications (Cont’d):  For WEB Penetration-Testing  Testing logical vulnerabilities: for Ex: authentication, access control, input validation.  Testing technical vulnerabilities: for Ex: XSS, …  Using in Web-Scraping Page 5
  • 8. Selenium Applications (Cont’d):  For WEB Penetration-Testing  Hacking a logical vulnerability: BUG BOUNTY for bypassing CAPTCHA puzzle pattern: Page 6 Thanks to: BugCrowd.com HackerONE.com
  • 9. Selenium Applications (Cont’d):  For WEB Penetration-Testing  Hacking a technical vulnerability: BUG BOUNTY for discovering a XSS vulnerability: Page 7
  • 10. Tools for Automating Interactions: 1. Selenium IDE:  this is a Firefox add-on  Disadvantages: - it can only be used with FF - also, all selenium tools don’t support RIA technologies such as: Silverlight, JavaFx, and Flex/Flash. Page 8
  • 11. Tools Automating Interactions (Cont’d): 1. Selenium IDE: Page 9
  • 12. Tools Automating Interactions (Cont’d): 2. Selenium WebDriver:  Is a programming interface for developing advanced scripts using different programming languages.  We can run tests on multiple browsers that is so-called: Cross-Browser; And on multiple OS that is so-called: Cross-Platform (IOS, Android, Linux, Win, Mac, …).  Se.WebDriver offers many libraries for writing test scripts in various languages, including Java, C#, Python, Ruby, PHP, Perl, and JavaScript. Page 10
  • 13. Tools Automating Interactions (Cont’d): 2. Selenium WebDriver: Page 11
  • 14. Tools Automating Interactions (Cont’d): 3. Selenium Standalone Server:  known as “Se.Grid” and that distributes test-scripts on machines  For Se.Grid, need a Java Runtime Environment (JRE); then: 1) nohup java -jar selenium-server-standalone-2.53.jar > /root/milani/selenium.log & 2) java -jar selenium-server-standalone-2.53.jar -host 10.1.10.14 -port 4444 -role hub Page 12
  • 15. Tools Automating Interactions (Cont’d): 3. Selenium Standalone Server:  Hub: be understood as server which acts as the central point  Node: are Se.instances that are attached to the Hub which execute the tests.  Note« Se.Grid includes Hub, WebDriver, and Se.RC to execute the scripts in the Grid. Page 13
  • 16. Tools Automating Interactions (Cont’d): 3. Selenium Standalone Server: Page 14
  • 17. Selenium Jobs: www.indeed.com/q-Selenium-jobs.html www.naukri.com/selenium-jobs #Special for India. www.careerbuilder.com/jobs-selenium www.upwork.com/o/jobs/browse/skill/selenium An example of upwork.com: Selenium script for downloading files. Hourly - Entry Level ($) - Est. Time: Less than 1 month, 10-30 hrs/week - Posted 2 days ago. Environment: Java-based platform, Selenium/TestNG framework. Purpose: develop a script to automate the downloading of files from different web portals. ... Each web portal (Java-based) has a completely different structure. We have ~20 user test cases using Selenium; means: you should write a script for executing ~20 test cases. Number of freelancers needed: 3 Page 15
  • 18. Selenium Jobs (Cont’d): Country: United States Currency: USD Updated: 3 April 2016 Page 16
  • 19. A Practical Python Book: Page 17 Author: Alireza Azimzadeh Milani Publication: PendarePars Year: 2016 Link: www.pendarepars.com/ Home/Search/Python
  • 20.  Selenium 2 Testing Tools By: David Burns, © 2012  Selenium Testing Tools Starter By: Unmesh Gundecha, © 2013  Learning Selenium Testing Tools with Python By: Unmesh Gundecha, © 2014  Selenium Testing Tools Cookbook, 2nd Edition By: Unmesh Gundecha, © 2015 -----------------------------------------------------------------------------------------------------------------------------------  www.amazon.com/s/ref=nb_sb_noss_2?url=search- alias%3Dstripbooks&field-keywords=selenium References: Page 18
  • 21.  www.slideshare.net/videotuition/selendroid-vs-appium-mobile-test- automation-frameworks-selenium-web-driver-automation-32158263  www.installationpage.com/selenium/how-to-run-selenium-headless- firefox-in-ubuntu  www.gridlastic.com/python-code-example.html  http://testdroid.com/tech AND http://testdroid.com/testdroid  http://simeonvisser.com/posts/running-tests-in-python-with-selenium-2- and-webdriver.html  www.ibm.com/developerworks/library/wa-seleniumgrid  www.toolsqa.com/selenium-video-tutorial Additional Training Links: Page 19
  • 22. Ali.Azimzadeh70@Gmail.com AliAzimzadeh.Blogfa.com IrSecTeam.org (Iran Security Team) Any Question … ? linkedin.com/in/alireza-azimzadeh-milani-34874079
  • 23. The End of Everything is To Start Learning New Things.