SlideShare a Scribd company logo
Selenium framework for testing
Content
2
 What is Selenium
 Selenium Components
 Steps to start with Selenium
 Selenium Commands
 Features of Selenium
What is Selenium?
3
• Selenium is a robust set of tools that supports rapid development of test
automation for web-based applications.
• Works anywhere JavaScript is supported
• Hooks for many other languages - Java, Ruby, Python
• Can simulate a user navigating through pages and then assert for specific
marks on the pages
• All you need to really know is HTML to start
using it right away
Selenium Components
4
Selenium-IDE
5
• IDE stands for Integrated Development Environment.
• Which is used for Record and Play back the scripts.
• It is an Add on for Mozilla Firefox, which means we can download the
Selenium IDE from Mozilla Firefox and we can Record and Run the scripts
in Mozilla Firefox only.
• Selenium IDE is accountable for user actions.
• We can Run the Recorded scripts against other browsers by using
Selenium RC.
Selenium-RC
6
• RC stands for Remote Control.
• It is a Server and launches the Browser.
• It acts as a API and Library of Selenium.
• We need to configure the Selenium RC with the supported language, then
we can automate the application.
Selenium-Grid
7
• Selenium Grid is used for launching the multiple browsers with supported
operating system in parallel.
• We can run the scripts on different browsers in parallel.
• It allows you to easily run multiple tests in parallel, on multiple machines, in
a heterogeneous environment.
Steps to start with Selenium!
8
1) Begin: write and run tests in Firefox.
Selenium IDE is a Firefox add-on that records clicks, typing, and other
actions to make a test, which you can play back in the browser.
2) Customize: your language, your browser.
Selenium Remote Control (RC) runs your tests in multiple browsers and
platforms. Tweak your tests in your preferred language.
3) Deploy: scale out, speed up
Selenium Grid extends Selenium RC to distribute your tests across
multiple servers, saving you time by running tests in parallel.
Selenium Commands
9
• Actions are commands that generally manipulate the state of the
application. They do things like “click this link” and “select that option”.
Can be called with “AndWait” suffix, e.g. “clickAndWait”.
• Accessors examine the state of the application and store the results in
variables, e.g. “storeTitle”.
They are also used to automatically generate Assertions.
• Assertions are like Accessors, but verify that the state of the application
conforms to what is expected. Eg. “make sure the page title is X”, “verify
that this checkbox is checked”.
All Selenium Assertions can be used in 3 modes: “assert”, “verify”, and ”
waitFor”. For example, you can “assertText”, “verifyText” and “waitForText”.
Features of Selenium
10
• Functional Automation tool for Web applications.
• Open source, free to use and free of charge.
• Supports more languages.
• Supports different browsers.
• Supports various operating systems.
• Supports mobile devices
• Can execute the tests while browser is minimized.
• Can execute the tests in parralel.
• Flexible.
Selenium IDE
The list of
actions in the
actual test
case
to execute
The root of web
application you
want to test
The log of the
events that were
executed, including
any errors or
warning that may
have occurred
Selenium IDE
Execution
Commands
Record test
actions
Try the test in
the Web based
TestRunner
Specify commands,
including asserts
Reference of the
currently selected
command
Questions ?
13
Email Us @ support@zeteoconsulting.com
Worldwide Offices:
USA (Dallas)
India (Pune)
Partner Offices:
Monterrey (Mexico)
Frankfurt (Germany)
Stockholm (Sweden)
Email:
support@zeteoconsulting.com
Corporate URL:
www.zeteoconsulting.com

More Related Content

PPT
Selenium 2: The Future of Selenium is now!
PPTX
Selenium Web Driver Tutorial for Cross Browser Testing
PPT
Selenium (1)
PPTX
Learn Test Automation using Selenium - Lesson 1
PPT
Selenium
PPTX
Run Selenium Tests With Jenkins and BrowseEmAll
DOCX
Selenium webdriver course content rakesh hansalia
PDF
Introduction to Selenium Automation
Selenium 2: The Future of Selenium is now!
Selenium Web Driver Tutorial for Cross Browser Testing
Selenium (1)
Learn Test Automation using Selenium - Lesson 1
Selenium
Run Selenium Tests With Jenkins and BrowseEmAll
Selenium webdriver course content rakesh hansalia
Introduction to Selenium Automation

What's hot (20)

PPT
Selenium By Pravin Mishra
PPTX
Selenium
PPTX
Selenium introduction
PPTX
Get Started With Selenium 3 and Selenium 3 Grid
PDF
Selenium Test Automation - Challenges
PPTX
Selenium Basics Crashcourse
PPTX
An Overview of Selenium
PDF
What type of testing is selenium commonly used for?
PPT
QSpiders - Automation using Selenium
PPTX
Selenium
PDF
Automated Web Testing With Selenium
ODP
Introduction to Selenium
PPTX
QSpiders - Selenium Webdriver
PPT
Selenium ppt
PPTX
Selenium Webdriver
PDF
Testing world selenium_start_chapter1 (1)
PPT
Selenium Primer
PDF
Selenium Framework using Java | Selenium Tutorial | Selenium Training Online ...
PPT
Selenium
PPT
Selenium
Selenium By Pravin Mishra
Selenium
Selenium introduction
Get Started With Selenium 3 and Selenium 3 Grid
Selenium Test Automation - Challenges
Selenium Basics Crashcourse
An Overview of Selenium
What type of testing is selenium commonly used for?
QSpiders - Automation using Selenium
Selenium
Automated Web Testing With Selenium
Introduction to Selenium
QSpiders - Selenium Webdriver
Selenium ppt
Selenium Webdriver
Testing world selenium_start_chapter1 (1)
Selenium Primer
Selenium Framework using Java | Selenium Tutorial | Selenium Training Online ...
Selenium
Selenium
Ad

Viewers also liked (20)

DOCX
Nda cuba
PDF
First steps with selenium rc
PDF
SCQAA-SF Selenium Presentation
PPTX
Selenium Testing
PPSX
MPPS 01_Lathe Machine
PPTX
Jira overview
PPT
Selenium Workshop 2015
PPT
Selenium Presentation at Engineering Colleges
PPTX
2 selenium-aakar gupte
PDF
Selenium presentation
PPTX
Selenium ide made easy
PPTX
Hybrid automation framework
DOC
Hybrid framework for test automation
PDF
Automation framework using selenium webdriver with java
PDF
Upgrading to Selenium WebDriver version 3
PPTX
Building frameworks over Selenium
PDF
Web application testing with Selenium
PPTX
Data driven Automation Framework with Selenium
PDF
Web Application Testing with Selenium
PPT
Hybrid framework
Nda cuba
First steps with selenium rc
SCQAA-SF Selenium Presentation
Selenium Testing
MPPS 01_Lathe Machine
Jira overview
Selenium Workshop 2015
Selenium Presentation at Engineering Colleges
2 selenium-aakar gupte
Selenium presentation
Selenium ide made easy
Hybrid automation framework
Hybrid framework for test automation
Automation framework using selenium webdriver with java
Upgrading to Selenium WebDriver version 3
Building frameworks over Selenium
Web application testing with Selenium
Data driven Automation Framework with Selenium
Web Application Testing with Selenium
Hybrid framework
Ad

Similar to Selenium (20)

PPT
Selenium
DOC
PPT
Selenium Introduction
PPT
Selenium
PPT
Selenium Basics by Quontra Solutions
PPT
Selenium Concepts
PPTX
PDF
Selenium Automation Testing - A Complete Guide
DOC
Selenium Automation Using Ruby
PPTX
A Simple Guide to Selenium Software Testing
PDF
Introduction to Selenium Webdriver - SpringPeople
PPTX
Selenium online training nareshit
PDF
Interview Question & Answers for Selenium Freshers | LearningSlot
PPTX
Selenium institute in bangalore
PPTX
Selenium Basics and Overview topics.pptx
PPTX
Selenium Basics and Overview1233444.pptx
PDF
Selenium Automation Testing - A Complete Guide.pdf
PPTX
Test automation using selenium
PDF
Selenium Automation Testing - A Complete Guide.pdf
PPTX
Python selenium
Selenium
Selenium Introduction
Selenium
Selenium Basics by Quontra Solutions
Selenium Concepts
Selenium Automation Testing - A Complete Guide
Selenium Automation Using Ruby
A Simple Guide to Selenium Software Testing
Introduction to Selenium Webdriver - SpringPeople
Selenium online training nareshit
Interview Question & Answers for Selenium Freshers | LearningSlot
Selenium institute in bangalore
Selenium Basics and Overview topics.pptx
Selenium Basics and Overview1233444.pptx
Selenium Automation Testing - A Complete Guide.pdf
Test automation using selenium
Selenium Automation Testing - A Complete Guide.pdf
Python selenium

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Machine Learning_overview_presentation.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Electronic commerce courselecture one. Pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Getting Started with Data Integration: FME Form 101
PPT
Teaching material agriculture food technology
MIND Revenue Release Quarter 2 2025 Press Release
Programs and apps: productivity, graphics, security and other tools
Mobile App Security Testing_ A Comprehensive Guide.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
1. Introduction to Computer Programming.pptx
Machine Learning_overview_presentation.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
A comparative analysis of optical character recognition models for extracting...
Electronic commerce courselecture one. Pdf
20250228 LYD VKU AI Blended-Learning.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Per capita expenditure prediction using model stacking based on satellite ima...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Assigned Numbers - 2025 - Bluetooth® Document
Getting Started with Data Integration: FME Form 101
Teaching material agriculture food technology

Selenium

  • 2. Content 2  What is Selenium  Selenium Components  Steps to start with Selenium  Selenium Commands  Features of Selenium
  • 3. What is Selenium? 3 • Selenium is a robust set of tools that supports rapid development of test automation for web-based applications. • Works anywhere JavaScript is supported • Hooks for many other languages - Java, Ruby, Python • Can simulate a user navigating through pages and then assert for specific marks on the pages • All you need to really know is HTML to start using it right away
  • 5. Selenium-IDE 5 • IDE stands for Integrated Development Environment. • Which is used for Record and Play back the scripts. • It is an Add on for Mozilla Firefox, which means we can download the Selenium IDE from Mozilla Firefox and we can Record and Run the scripts in Mozilla Firefox only. • Selenium IDE is accountable for user actions. • We can Run the Recorded scripts against other browsers by using Selenium RC.
  • 6. Selenium-RC 6 • RC stands for Remote Control. • It is a Server and launches the Browser. • It acts as a API and Library of Selenium. • We need to configure the Selenium RC with the supported language, then we can automate the application.
  • 7. Selenium-Grid 7 • Selenium Grid is used for launching the multiple browsers with supported operating system in parallel. • We can run the scripts on different browsers in parallel. • It allows you to easily run multiple tests in parallel, on multiple machines, in a heterogeneous environment.
  • 8. Steps to start with Selenium! 8 1) Begin: write and run tests in Firefox. Selenium IDE is a Firefox add-on that records clicks, typing, and other actions to make a test, which you can play back in the browser. 2) Customize: your language, your browser. Selenium Remote Control (RC) runs your tests in multiple browsers and platforms. Tweak your tests in your preferred language. 3) Deploy: scale out, speed up Selenium Grid extends Selenium RC to distribute your tests across multiple servers, saving you time by running tests in parallel.
  • 9. Selenium Commands 9 • Actions are commands that generally manipulate the state of the application. They do things like “click this link” and “select that option”. Can be called with “AndWait” suffix, e.g. “clickAndWait”. • Accessors examine the state of the application and store the results in variables, e.g. “storeTitle”. They are also used to automatically generate Assertions. • Assertions are like Accessors, but verify that the state of the application conforms to what is expected. Eg. “make sure the page title is X”, “verify that this checkbox is checked”. All Selenium Assertions can be used in 3 modes: “assert”, “verify”, and ” waitFor”. For example, you can “assertText”, “verifyText” and “waitForText”.
  • 10. Features of Selenium 10 • Functional Automation tool for Web applications. • Open source, free to use and free of charge. • Supports more languages. • Supports different browsers. • Supports various operating systems. • Supports mobile devices • Can execute the tests while browser is minimized. • Can execute the tests in parralel. • Flexible.
  • 11. Selenium IDE The list of actions in the actual test case to execute The root of web application you want to test The log of the events that were executed, including any errors or warning that may have occurred
  • 12. Selenium IDE Execution Commands Record test actions Try the test in the Web based TestRunner Specify commands, including asserts Reference of the currently selected command
  • 13. Questions ? 13 Email Us @ support@zeteoconsulting.com
  • 14. Worldwide Offices: USA (Dallas) India (Pune) Partner Offices: Monterrey (Mexico) Frankfurt (Germany) Stockholm (Sweden) Email: support@zeteoconsulting.com Corporate URL: www.zeteoconsulting.com