Selenium

for web automation

Madhu Kumari
B.E Computer Engg.
Selenium Webdriver
●

●

●

●

WebDriver is a tool for automating testing web applications
It aims to provide a friendly API that’s easy to explore,
understand and maintain
It’s not tied to any particular test framework, so it can be
used equally well in a unit testing or from a plain old “main”
method
Once your project is set up, you can see that WebDriver
acts just as any normal library: it is entirely self-contained
Selenium IDE
●

●

●

●

●

It is the only flavor of selenium that allows us to record user
actions on browser window
Scripts recorded in IDE can be converted into other
languages like Java, C#, Python and Ruby
It is not only a time saver but also an excellent way of
learning scripts syntax
Allows to insert comments in the middle of the script for
better understanding and debugging
Supports context menu
Selenium Webdriver: Portability
●

●

●

●

All Java projects work the same with a src & bin folders and
other related folders
Each IDE creates it's own IDE project/workspace files as
well
One can use same source files within it's hierarchy of folders
easily among different Java IDEs
Just ensure to use standardized IDE for better portability
experience
Need of Eclipse for Automation
using Selenium Webdriver
●

●

●

Depends upon the requirements
Eclipse has been one of the best IDEs for unit testing ever
since it's early days
But other alternatives to Eclipse for Automation using
Selenium Webdriver are also available
Is there any IDE available for web
automation using Selenium?
●

IntelliJ IDEA
–

Have the best IntelliSense

–

It's also an open source

–

For the Ultimate license you have to pay
Demerits of Selenium IDE
●

It runs only in firefox browser

●

Selenium IDE can execute scripts created in selenese only

●

Cannot upload files

●

It does not directly support loops and conditions

●

Reading from external files like .txt, .xls is not possible
Selenium IDE vs
Selenium Webdriver
SR. NO.

CRITERIA

SELENIUM IDE

SELENIUM WEBDRIVER

1

Browser
compatibility

Only Mozilla Firefox

Latest versions of all
browsers – Firefox, IE,
Opera, Chrome

2

Record and
play/run tool

Available

Not Available

3

Server

Not required

Core engine is Javascript
based, interacts natively
with browser application

4

Simple to use

Yes

Complex and a bit large API
as compared to RC

5

Object oriented

No

Purely

6

Mouse cursor

Cannot move mouse

Can move mouse cursor

7

Listener

No Listener

Implementation is available

8

Test
iPhone/Android
application

Cannot test

Can test
Selenium
vs
Low/Network level tools
●

●

●

"Low/network" level tool like Htmlunit has the advantage of
being fast - but its javascript will not work work in most
complex websites(besides not being a browser test)
Selenium(java, .net) code also has the disadvantage of being
dependent on RC server(not big deal)
You should continue low level tools like Httpunit for
monitoring - but it's not preferable to use these tools for
browser/regression testing.
Selenium vs Watir
●

●

●

●

For people favouring test cases in Ruby (or.net) then Watir
is a tool
Watir does have advantage that its recorder uses IE to
record.
With Selenium IDE – Only browser support is there for
Firefox – else you will have to manually write the code
The biggest advantage of Selenium is its support for FIT
HTML and the vast languages/browsers/platform that it
supports.(with good documentation)
Selenium vs IMacros
●

●

●

IMacros appears better in recording as compared to
Selenium IDE
As per automation Imacros is not powerful for automation
as Selenium IDE
For scheduling as well Selenium is better compared to
IMacros
Selenium vs Dejaclick
●

●

●

Dejaclick is probably the best (free) macro tool for websites
record and play.
Selenium beats DejaClick in overall features(multiple
language suport vs only XML support, free automation vs
paid automation).
Advantages of Dejaclick:
–

It nicely plays back the recorded stuff - by
highlighting appropriate items in green.

–

It can easily record flash/silverlight - by recording
position.(however it may mean that it may not
nicely work in all computers)

–

Allows to encrypt sensitive data

–

Allows to bookmark the script for playback.
Demerits of Dejaclick
●

Disadvantage:
–

●

Dejaclick recording tool is free - But for automation
you have to rely on paid site alertsite

AlertSite
–

Provides great facility for running your dejaclick
script and even soap xml from most of
cities/region in US/world

–

Also allows you to monitor the CDN
performance/reliability or what content your
website is serving across different regions
Selenium vs Sahi
●

Pros:
–
–

Has its own IDE

–

Record and playback tests

–

Data-driven test via jdbc:odbc bridge

–

Test success/failure reporting in html files

–

Capabilities to run test using batch file or ant script

–
●

Multi-browser support

Lightweight

Cons:
–

documentation needs to be enhanced

–

need to be improved reporting

More Related Content

PPTX
Selenium ppt
PPTX
Selenium test automation
PPTX
Introduction to selenium
PPTX
Automation Testing by Selenium Web Driver
PPTX
Introduction to Selenium Web Driver
PPTX
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
PPTX
Selenium- A Software Testing Tool
PPTX
Selenium introduction
Selenium ppt
Selenium test automation
Introduction to selenium
Automation Testing by Selenium Web Driver
Introduction to Selenium Web Driver
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium- A Software Testing Tool
Selenium introduction

What's hot (20)

PPTX
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
PPT
Selenium
ODP
Selenium ppt
PDF
Automation Testing using Selenium Webdriver
PPTX
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
PPT
Selenium ppt
PPT
Selenium Presentation at Engineering Colleges
PPTX
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
PPTX
Introduction to selenium
PPTX
Selenium
PPT
Selenium Concepts
PDF
Automation Testing using Selenium
PPTX
An overview of selenium webdriver
PDF
SELENIUM PPT.pdf
PPTX
Automated testing using Selenium & NUnit
PPS
Selenium Demo
PDF
Web application testing with Selenium
PPTX
Selenium WebDriver training
PPTX
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
PPTX
Software testing
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
Selenium
Selenium ppt
Automation Testing using Selenium Webdriver
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium ppt
Selenium Presentation at Engineering Colleges
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
Introduction to selenium
Selenium
Selenium Concepts
Automation Testing using Selenium
An overview of selenium webdriver
SELENIUM PPT.pdf
Automated testing using Selenium & NUnit
Selenium Demo
Web application testing with Selenium
Selenium WebDriver training
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Software testing
Ad

Viewers also liked (18)

PPT
Selenium ppt
PPTX
Test Automation with Twist and Sahi
PPT
Automation Testing on Selenium by Quontra Solutions
PPT
Test automation using selenium presented by Quontra Solutions
PPT
Test automation using selenium
PPT
Selenium
PPT
QSpiders - Automation using Selenium
PPTX
Best Practices in Mobile CI (webinar)
ODP
Integrating Selenium testing infrastructure into Scala Project
PPT
Selenium
PPTX
QSpiders - Selenium Webdriver
PPTX
Test Automation and Selenium
PPTX
Getting Started with Mobile Test Automation & Appium
PPTX
Selenium web driver
PPT
Selenium
PDF
Basics of Selenium IDE,Core, Remote Control
PDF
Selenium Basics Tutorial
PPTX
Appetizers for wedding
Selenium ppt
Test Automation with Twist and Sahi
Automation Testing on Selenium by Quontra Solutions
Test automation using selenium presented by Quontra Solutions
Test automation using selenium
Selenium
QSpiders - Automation using Selenium
Best Practices in Mobile CI (webinar)
Integrating Selenium testing infrastructure into Scala Project
Selenium
QSpiders - Selenium Webdriver
Test Automation and Selenium
Getting Started with Mobile Test Automation & Appium
Selenium web driver
Selenium
Basics of Selenium IDE,Core, Remote Control
Selenium Basics Tutorial
Appetizers for wedding
Ad

Similar to Selenium presentation (20)

PPT
BCS Selenium Workshop
PPTX
Selenium introduction
PPT
Selenium Basics by Quontra Solutions
PPTX
Python selenium
DOCX
What is selenium
PPTX
Demystifying Selenium framework
PDF
Learn Selenium - Online Guide
PPTX
Upcoming new features of selenium in automation testing
PPTX
A Simple Guide to Selenium Software Testing
PDF
Mastering Selenium WebDriver: A Comprehensive Tutorial with Real-World Examples
PDF
Introduction to Selenium Webdriver - SpringPeople
PPTX
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
PDF
selenium
PDF
white and grey modern website application education project group school pres...
PPT
Tanvir Afzal: Selenium
PPT
Selenium
PPTX
Test Automation Using Selenium
PDF
Top 3 selenium IDE alternatives for Chrome and Firefox
PPTX
Test automation using selenium
BCS Selenium Workshop
Selenium introduction
Selenium Basics by Quontra Solutions
Python selenium
What is selenium
Demystifying Selenium framework
Learn Selenium - Online Guide
Upcoming new features of selenium in automation testing
A Simple Guide to Selenium Software Testing
Mastering Selenium WebDriver: A Comprehensive Tutorial with Real-World Examples
Introduction to Selenium Webdriver - SpringPeople
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
selenium
white and grey modern website application education project group school pres...
Tanvir Afzal: Selenium
Selenium
Test Automation Using Selenium
Top 3 selenium IDE alternatives for Chrome and Firefox
Test automation using selenium

Recently uploaded (20)

PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PPTX
Configure Apache Mutual Authentication
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PDF
Advancing precision in air quality forecasting through machine learning integ...
PPTX
Microsoft User Copilot Training Slide Deck
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PPTX
MuleSoft-Compete-Deck for midddleware integrations
PPTX
Internet of Everything -Basic concepts details
PDF
Statistics on Ai - sourced from AIPRM.pdf
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
giants, standing on the shoulders of - by Daniel Stenberg
Auditboard EB SOX Playbook 2023 edition.
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Taming the Chaos: How to Turn Unstructured Data into Decisions
sbt 2.0: go big (Scala Days 2025 edition)
Configure Apache Mutual Authentication
Convolutional neural network based encoder-decoder for efficient real-time ob...
Consumable AI The What, Why & How for Small Teams.pdf
Advancing precision in air quality forecasting through machine learning integ...
Microsoft User Copilot Training Slide Deck
NewMind AI Weekly Chronicles – August ’25 Week IV
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
Co-training pseudo-labeling for text classification with support vector machi...
MuleSoft-Compete-Deck for midddleware integrations
Internet of Everything -Basic concepts details
Statistics on Ai - sourced from AIPRM.pdf

Selenium presentation

  • 1. Selenium for web automation Madhu Kumari B.E Computer Engg.
  • 2. Selenium Webdriver ● ● ● ● WebDriver is a tool for automating testing web applications It aims to provide a friendly API that’s easy to explore, understand and maintain It’s not tied to any particular test framework, so it can be used equally well in a unit testing or from a plain old “main” method Once your project is set up, you can see that WebDriver acts just as any normal library: it is entirely self-contained
  • 3. Selenium IDE ● ● ● ● ● It is the only flavor of selenium that allows us to record user actions on browser window Scripts recorded in IDE can be converted into other languages like Java, C#, Python and Ruby It is not only a time saver but also an excellent way of learning scripts syntax Allows to insert comments in the middle of the script for better understanding and debugging Supports context menu
  • 4. Selenium Webdriver: Portability ● ● ● ● All Java projects work the same with a src & bin folders and other related folders Each IDE creates it's own IDE project/workspace files as well One can use same source files within it's hierarchy of folders easily among different Java IDEs Just ensure to use standardized IDE for better portability experience
  • 5. Need of Eclipse for Automation using Selenium Webdriver ● ● ● Depends upon the requirements Eclipse has been one of the best IDEs for unit testing ever since it's early days But other alternatives to Eclipse for Automation using Selenium Webdriver are also available
  • 6. Is there any IDE available for web automation using Selenium? ● IntelliJ IDEA – Have the best IntelliSense – It's also an open source – For the Ultimate license you have to pay
  • 7. Demerits of Selenium IDE ● It runs only in firefox browser ● Selenium IDE can execute scripts created in selenese only ● Cannot upload files ● It does not directly support loops and conditions ● Reading from external files like .txt, .xls is not possible
  • 8. Selenium IDE vs Selenium Webdriver SR. NO. CRITERIA SELENIUM IDE SELENIUM WEBDRIVER 1 Browser compatibility Only Mozilla Firefox Latest versions of all browsers – Firefox, IE, Opera, Chrome 2 Record and play/run tool Available Not Available 3 Server Not required Core engine is Javascript based, interacts natively with browser application 4 Simple to use Yes Complex and a bit large API as compared to RC 5 Object oriented No Purely 6 Mouse cursor Cannot move mouse Can move mouse cursor 7 Listener No Listener Implementation is available 8 Test iPhone/Android application Cannot test Can test
  • 9. Selenium vs Low/Network level tools ● ● ● "Low/network" level tool like Htmlunit has the advantage of being fast - but its javascript will not work work in most complex websites(besides not being a browser test) Selenium(java, .net) code also has the disadvantage of being dependent on RC server(not big deal) You should continue low level tools like Httpunit for monitoring - but it's not preferable to use these tools for browser/regression testing.
  • 10. Selenium vs Watir ● ● ● ● For people favouring test cases in Ruby (or.net) then Watir is a tool Watir does have advantage that its recorder uses IE to record. With Selenium IDE – Only browser support is there for Firefox – else you will have to manually write the code The biggest advantage of Selenium is its support for FIT HTML and the vast languages/browsers/platform that it supports.(with good documentation)
  • 11. Selenium vs IMacros ● ● ● IMacros appears better in recording as compared to Selenium IDE As per automation Imacros is not powerful for automation as Selenium IDE For scheduling as well Selenium is better compared to IMacros
  • 12. Selenium vs Dejaclick ● ● ● Dejaclick is probably the best (free) macro tool for websites record and play. Selenium beats DejaClick in overall features(multiple language suport vs only XML support, free automation vs paid automation). Advantages of Dejaclick: – It nicely plays back the recorded stuff - by highlighting appropriate items in green. – It can easily record flash/silverlight - by recording position.(however it may mean that it may not nicely work in all computers) – Allows to encrypt sensitive data – Allows to bookmark the script for playback.
  • 13. Demerits of Dejaclick ● Disadvantage: – ● Dejaclick recording tool is free - But for automation you have to rely on paid site alertsite AlertSite – Provides great facility for running your dejaclick script and even soap xml from most of cities/region in US/world – Also allows you to monitor the CDN performance/reliability or what content your website is serving across different regions
  • 14. Selenium vs Sahi ● Pros: – – Has its own IDE – Record and playback tests – Data-driven test via jdbc:odbc bridge – Test success/failure reporting in html files – Capabilities to run test using batch file or ant script – ● Multi-browser support Lightweight Cons: – documentation needs to be enhanced – need to be improved reporting