SlideShare a Scribd company logo
SELENIUM BASIC
Dasun Eranthika
Content
2


       What is Selenium?
         Languages  supported by Selenium
         Browsers supported by Selenium

         OS supported by Selenium

         Components of Selenium

       How to install Selenium IDE
       How to configure Selenium WebDriver
       XPath

                      Selenium Basic | Dasun Eranthika   11/18/2012
What is Selenium?
3


       Selenium is an open source automation testing
        tool for web based applications.
       Languages supported by Selenium
         Java (Famous)
         C#
         Ruby
         Python
         PHP
         Pearl
       Should know at least on programming language to
        digging deeper Selenium.

                      Selenium Basic | Dasun Eranthika   11/18/2012
What is Selenium? (cont.)
4


       Browsers supported by Selenium
         Mozilla Firefox(till latest version)
         IE 6,7,8
         Google chrome
         Opera 8,9,10
       Operating Systems supported by Selenium
         Windows
         Mac
         Linux
         Unix
         Many more…


                          Selenium Basic | Dasun Eranthika   11/18/2012
What is Selenium? (cont.)
5


       Components of Selenium


                            Selenium



    Selenium      Selenium
                                        WebDriver     Grid
      IDE            RC



                   Selenium Basic | Dasun Eranthika   11/18/2012
What is Selenium? (cont.)
6


       Qualities of Selenium components




                    Selenium Basic | Dasun Eranthika   11/18/2012
How to Install Selenium IDE
7


       Selenium IDE is only compatible with Mozilla
        Firefox.
       It can directly download as an add-on to
        Firefox browser from Selenium official website
        (http://seleniumhq.org/download/).
       So, it’s better to browse with Firefox.




                     Selenium Basic | Dasun Eranthika   11/18/2012
How to Install Selenium IDE
8
    (cont.)




     Click Firefox> Web Developer> Selenium IDE or press Ctrl+Alt+S to get
      Click “Install Now” button ofitthe installIDEand and restart the browser
                            Allow Selenium IDE
                                      to pop-up
    Go to http://seleniumhq.org/download/ linkmenuclick to download Selenium
                                    Selenium as Add-on
    IDE
                          Selenium Basic | Dasun Eranthika           11/18/2012
How to configure WebDriver
9


       Selenium WebDriver can be downloaded
        from http://seleniumhq.org/download/
       Also get Selenium Javadocs on the site. Javadocs
        will contain all the information about the
        architecture of WebDriver
       While developing the WebDriver code, you can
        actually rely on that architecture and refer to them
        in case you are stuck in selenium.
       Selenium RC has a jar file called selenium-
        server.jar which will be needed to start the server
       In selenium WebDriver, there is no server which
        you need to start.
                       Selenium Basic | Dasun Eranthika   11/18/2012
How to configure WebDriver
10
     (cont.)
        In selenium WebDriver, there is no server
         which you need to start.
        Selenium IDE is having the core engine which
         is based on JavaScript
        can also write your own code in java script and
         extend the functionality of IDE (e.g.: we can
         read the test data from XML in IDE)



                      Selenium Basic | Dasun Eranthika   11/18/2012
How to configure WebDriver
11
     (cont.)
        Open Eclipse and configure the .jar file in
         particular project properties.
         1.   Go to the Properties of the Application>Java
              Build Path> Libraries
         2.   Click on “Add External JARs” button and add
              those jar files to the project.




                         Selenium Basic | Dasun Eranthika   11/18/2012
How to configure WebDriver
12
     (cont.)




              Selenium Basic | Dasun Eranthika   11/18/2012
XPath
13


        XML Path Language, is a query language for
         selecting nodes from an XML document
        addition, Xpath may be used to compute
         values (e.g., strings, numbers, or Boolean
         values) from the content of an XML document
        Xpath was defined by the World Wide Web
         Consortium (W3C).
        I’ll come with detailed slideshow about Xpath
         later.
                      Selenium Basic | Dasun Eranthika   11/18/2012
14


        For more readings, browse http://seleniumhq.org/, the
         official Selenium website

        To download the PDF,
         http://www.mediafire.com/view/?f6lcv69wnbhd6c6




                         Selenium Basic | Dasun Eranthika   11/18/2012
“The Journey Just
                                             Began”




I’m in…




          Selenium Basic | Dasun Eranthika

More Related Content

PDF
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
PPTX
Selenium topic 1- Selenium Basic
PPTX
Selenium topic 3 -Web Driver Basics
PPTX
Selenium test automation
PDF
Basics of Selenium IDE,Core, Remote Control
PPTX
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
PPTX
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
DOCX
Selenium webdriver course content rakesh hansalia
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
Selenium topic 1- Selenium Basic
Selenium topic 3 -Web Driver Basics
Selenium test automation
Basics of Selenium IDE,Core, Remote Control
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
Selenium webdriver course content rakesh hansalia

What's hot (20)

DOCX
Selenium interview Q&A
PPTX
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
PPTX
Introduction to selenium
PPTX
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
PPTX
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
PPTX
Selenium- A Software Testing Tool
PPT
Selenium (1)
PPTX
An Overview of Selenium
ZIP
From IDE to Selenium 2
PPTX
Selenium WebDriver training
PDF
Introduction to Selenium Automation
PDF
Selenium Webdriver Interview Questions
PPTX
Python selenium
PDF
Efficient Automated Test Creation With Selenium IDE Plugins
PPTX
Selenium Testing
PDF
Cucumber questions
PDF
Selenium IDE Introduction, Installation and Working
PPT
Selenium 2: The Future of Selenium is now!
PDF
Automated Web Testing With Selenium
PPT
Selenium ppt
Selenium interview Q&A
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Introduction to selenium
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium- A Software Testing Tool
Selenium (1)
An Overview of Selenium
From IDE to Selenium 2
Selenium WebDriver training
Introduction to Selenium Automation
Selenium Webdriver Interview Questions
Python selenium
Efficient Automated Test Creation With Selenium IDE Plugins
Selenium Testing
Cucumber questions
Selenium IDE Introduction, Installation and Working
Selenium 2: The Future of Selenium is now!
Automated Web Testing With Selenium
Selenium ppt
Ad

Viewers also liked (20)

PDF
Bdd and-testing
PPTX
BDD in Automation Testing
PPTX
Automated Tests in Agile based on Serenity BDD - Michał Szybalski
PPTX
Serenity BDD Workshop - 9th March 2016
PDF
Selenium
KEY
Ui BDD Testing
PPTX
Test Automation Frameworks: Assumptions, Concepts & Tools
PDF
Serenity BDD - from executable specifications to living documentation
PDF
Selenium web driver
PPTX
Behavior Driven Development - Live Webinar
PDF
Serenity-BDD training
PPTX
Basic Selenium Training
PPTX
Smarter ways to do selenium automation @ work, Selenium, automation
PDF
Model-based Testing: Taking BDD/ATDD to the Next Level
PPTX
BDD testing with cucumber
PPT
Behavior Driven Development (BDD) and Agile Testing
PPT
BDD with JBehave and Selenium
PDF
Behavior Driven Development and Automation Testing Using Cucumber
PDF
[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...
PPT
Acceptance Testing in BDD
Bdd and-testing
BDD in Automation Testing
Automated Tests in Agile based on Serenity BDD - Michał Szybalski
Serenity BDD Workshop - 9th March 2016
Selenium
Ui BDD Testing
Test Automation Frameworks: Assumptions, Concepts & Tools
Serenity BDD - from executable specifications to living documentation
Selenium web driver
Behavior Driven Development - Live Webinar
Serenity-BDD training
Basic Selenium Training
Smarter ways to do selenium automation @ work, Selenium, automation
Model-based Testing: Taking BDD/ATDD to the Next Level
BDD testing with cucumber
Behavior Driven Development (BDD) and Agile Testing
BDD with JBehave and Selenium
Behavior Driven Development and Automation Testing Using Cucumber
[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...
Acceptance Testing in BDD
Ad

Similar to Selenium basic (20)

PPT
Selenium Basics by Quontra Solutions
PPT
Selenium
PDF
Selenium Tutorial
PPTX
Selenium IDE
PPTX
Automation With Selenium
PPTX
Selenium web driver
PPTX
Selenium Automation
PDF
Selenium with testng and eclipse ide
PDF
Selenium Beyond The Nitty Gritty of Programming Languages
PPT
Selenium By Pravin Mishra
PPT
Selenium
DOCX
Selenium introduction and some feautures
PPTX
Selenium Basics and Overview topics.pptx
PPTX
Selenium Basics and Overview1233444.pptx
PPTX
Selenium presentation
PPTX
Selenium Tutorial for Beginners - TIB Academy
PDF
Selenium by using JAVA
PDF
Selenium Ide Tutorial
DOC
Selenium Basics by Quontra Solutions
Selenium
Selenium Tutorial
Selenium IDE
Automation With Selenium
Selenium web driver
Selenium Automation
Selenium with testng and eclipse ide
Selenium Beyond The Nitty Gritty of Programming Languages
Selenium By Pravin Mishra
Selenium
Selenium introduction and some feautures
Selenium Basics and Overview topics.pptx
Selenium Basics and Overview1233444.pptx
Selenium presentation
Selenium Tutorial for Beginners - TIB Academy
Selenium by using JAVA
Selenium Ide Tutorial

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
Teaching material agriculture food technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
A Presentation on Artificial Intelligence
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
KodekX | Application Modernization Development
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Encapsulation theory and applications.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Teaching material agriculture food technology
Digital-Transformation-Roadmap-for-Companies.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
A Presentation on Artificial Intelligence
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
The AUB Centre for AI in Media Proposal.docx
20250228 LYD VKU AI Blended-Learning.pptx
KodekX | Application Modernization Development
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
“AI and Expert System Decision Support & Business Intelligence Systems”
Chapter 3 Spatial Domain Image Processing.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Encapsulation theory and applications.pdf

Selenium basic

  • 2. Content 2  What is Selenium?  Languages supported by Selenium  Browsers supported by Selenium  OS supported by Selenium  Components of Selenium  How to install Selenium IDE  How to configure Selenium WebDriver  XPath Selenium Basic | Dasun Eranthika 11/18/2012
  • 3. What is Selenium? 3  Selenium is an open source automation testing tool for web based applications.  Languages supported by Selenium  Java (Famous)  C#  Ruby  Python  PHP  Pearl  Should know at least on programming language to digging deeper Selenium. Selenium Basic | Dasun Eranthika 11/18/2012
  • 4. What is Selenium? (cont.) 4  Browsers supported by Selenium  Mozilla Firefox(till latest version)  IE 6,7,8  Google chrome  Opera 8,9,10  Operating Systems supported by Selenium  Windows  Mac  Linux  Unix  Many more… Selenium Basic | Dasun Eranthika 11/18/2012
  • 5. What is Selenium? (cont.) 5  Components of Selenium Selenium Selenium Selenium WebDriver Grid IDE RC Selenium Basic | Dasun Eranthika 11/18/2012
  • 6. What is Selenium? (cont.) 6  Qualities of Selenium components Selenium Basic | Dasun Eranthika 11/18/2012
  • 7. How to Install Selenium IDE 7  Selenium IDE is only compatible with Mozilla Firefox.  It can directly download as an add-on to Firefox browser from Selenium official website (http://seleniumhq.org/download/).  So, it’s better to browse with Firefox. Selenium Basic | Dasun Eranthika 11/18/2012
  • 8. How to Install Selenium IDE 8 (cont.) Click Firefox> Web Developer> Selenium IDE or press Ctrl+Alt+S to get Click “Install Now” button ofitthe installIDEand and restart the browser Allow Selenium IDE to pop-up Go to http://seleniumhq.org/download/ linkmenuclick to download Selenium Selenium as Add-on IDE Selenium Basic | Dasun Eranthika 11/18/2012
  • 9. How to configure WebDriver 9  Selenium WebDriver can be downloaded from http://seleniumhq.org/download/  Also get Selenium Javadocs on the site. Javadocs will contain all the information about the architecture of WebDriver  While developing the WebDriver code, you can actually rely on that architecture and refer to them in case you are stuck in selenium.  Selenium RC has a jar file called selenium- server.jar which will be needed to start the server  In selenium WebDriver, there is no server which you need to start. Selenium Basic | Dasun Eranthika 11/18/2012
  • 10. How to configure WebDriver 10 (cont.)  In selenium WebDriver, there is no server which you need to start.  Selenium IDE is having the core engine which is based on JavaScript  can also write your own code in java script and extend the functionality of IDE (e.g.: we can read the test data from XML in IDE) Selenium Basic | Dasun Eranthika 11/18/2012
  • 11. How to configure WebDriver 11 (cont.)  Open Eclipse and configure the .jar file in particular project properties. 1. Go to the Properties of the Application>Java Build Path> Libraries 2. Click on “Add External JARs” button and add those jar files to the project. Selenium Basic | Dasun Eranthika 11/18/2012
  • 12. How to configure WebDriver 12 (cont.) Selenium Basic | Dasun Eranthika 11/18/2012
  • 13. XPath 13  XML Path Language, is a query language for selecting nodes from an XML document  addition, Xpath may be used to compute values (e.g., strings, numbers, or Boolean values) from the content of an XML document  Xpath was defined by the World Wide Web Consortium (W3C).  I’ll come with detailed slideshow about Xpath later. Selenium Basic | Dasun Eranthika 11/18/2012
  • 14. 14  For more readings, browse http://seleniumhq.org/, the official Selenium website  To download the PDF, http://www.mediafire.com/view/?f6lcv69wnbhd6c6 Selenium Basic | Dasun Eranthika 11/18/2012
  • 15. “The Journey Just Began” I’m in… Selenium Basic | Dasun Eranthika