SlideShare ist ein Scribd-Unternehmen logo
1 von 15
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

Weitere ähnliche Inhalte

Was ist angesagt?

Selenium interview Q&A
Selenium interview Q&ASelenium interview Q&A
Selenium interview Q&A
Pavan Kumar
 
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
 
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Simplilearn
 
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 (1)
Selenium (1)Selenium (1)
Selenium (1)
onlinemindq
 
Selenium 2: The Future of Selenium is now!
Selenium 2: The Future of Selenium is now!Selenium 2: The Future of Selenium is now!
Selenium 2: The Future of Selenium is now!
AutomatedTester
 

Was ist angesagt? (20)

Selenium interview Q&A
Selenium interview Q&ASelenium interview Q&A
Selenium interview Q&A
 
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...
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
 
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- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
 
Selenium (1)
Selenium (1)Selenium (1)
Selenium (1)
 
An Overview of Selenium
An Overview of SeleniumAn Overview of Selenium
An Overview of Selenium
 
From IDE to Selenium 2
From IDE to Selenium 2From IDE to Selenium 2
From IDE to Selenium 2
 
Selenium WebDriver training
Selenium WebDriver trainingSelenium WebDriver training
Selenium WebDriver training
 
Introduction to Selenium Automation
Introduction to Selenium AutomationIntroduction to Selenium Automation
Introduction to Selenium Automation
 
Selenium Webdriver Interview Questions
Selenium Webdriver Interview QuestionsSelenium Webdriver Interview Questions
Selenium Webdriver Interview Questions
 
Python selenium
Python seleniumPython selenium
Python selenium
 
Efficient Automated Test Creation With Selenium IDE Plugins
Efficient Automated Test Creation With Selenium IDE PluginsEfficient Automated Test Creation With Selenium IDE Plugins
Efficient Automated Test Creation With Selenium IDE Plugins
 
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
 
Cucumber questions
Cucumber questionsCucumber questions
Cucumber questions
 
Selenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and WorkingSelenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and Working
 
Selenium 2: The Future of Selenium is now!
Selenium 2: The Future of Selenium is now!Selenium 2: The Future of Selenium is now!
Selenium 2: The Future of Selenium is now!
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 

Andere mochten auch

Smarter ways to do selenium automation @ work, Selenium, automation
Smarter ways to do selenium automation @ work, Selenium, automationSmarter ways to do selenium automation @ work, Selenium, automation
Smarter ways to do selenium automation @ work, Selenium, automation
RIA RUI Society
 
Behavior Driven Development (BDD) and Agile Testing
Behavior Driven Development (BDD) and Agile TestingBehavior Driven Development (BDD) and Agile Testing
Behavior Driven Development (BDD) and Agile Testing
dversaci
 
Behavior Driven Development and Automation Testing Using Cucumber
Behavior Driven Development and Automation Testing Using CucumberBehavior Driven Development and Automation Testing Using Cucumber
Behavior Driven Development and Automation Testing Using Cucumber
KMS Technology
 

Andere mochten auch (20)

Bdd and-testing
Bdd and-testingBdd and-testing
Bdd and-testing
 
BDD in Automation Testing
BDD in Automation TestingBDD in Automation Testing
BDD in Automation Testing
 
Automated Tests in Agile based on Serenity BDD - Michał Szybalski
Automated Tests in Agile based on Serenity BDD - Michał SzybalskiAutomated Tests in Agile based on Serenity BDD - Michał Szybalski
Automated Tests in Agile based on Serenity BDD - Michał Szybalski
 
Serenity BDD Workshop - 9th March 2016
Serenity BDD Workshop - 9th March 2016Serenity BDD Workshop - 9th March 2016
Serenity BDD Workshop - 9th March 2016
 
Selenium
SeleniumSelenium
Selenium
 
Ui BDD Testing
Ui BDD TestingUi BDD Testing
Ui BDD Testing
 
Test Automation Frameworks: Assumptions, Concepts & Tools
Test Automation Frameworks: Assumptions, Concepts & ToolsTest Automation Frameworks: Assumptions, Concepts & Tools
Test Automation Frameworks: Assumptions, Concepts & Tools
 
Serenity BDD - from executable specifications to living documentation
Serenity BDD - from executable specifications to living documentationSerenity BDD - from executable specifications to living documentation
Serenity BDD - from executable specifications to living documentation
 
Selenium web driver
Selenium web driverSelenium web driver
Selenium web driver
 
Behavior Driven Development - Live Webinar
Behavior Driven Development - Live WebinarBehavior Driven Development - Live Webinar
Behavior Driven Development - Live Webinar
 
Serenity-BDD training
Serenity-BDD trainingSerenity-BDD training
Serenity-BDD training
 
Basic Selenium Training
Basic Selenium TrainingBasic Selenium Training
Basic Selenium Training
 
Smarter ways to do selenium automation @ work, Selenium, automation
Smarter ways to do selenium automation @ work, Selenium, automationSmarter ways to do selenium automation @ work, Selenium, automation
Smarter ways to do selenium automation @ work, Selenium, automation
 
Model-based Testing: Taking BDD/ATDD to the Next Level
Model-based Testing: Taking BDD/ATDD to the Next LevelModel-based Testing: Taking BDD/ATDD to the Next Level
Model-based Testing: Taking BDD/ATDD to the Next Level
 
BDD testing with cucumber
BDD testing with cucumberBDD testing with cucumber
BDD testing with cucumber
 
Behavior Driven Development (BDD) and Agile Testing
Behavior Driven Development (BDD) and Agile TestingBehavior Driven Development (BDD) and Agile Testing
Behavior Driven Development (BDD) and Agile Testing
 
BDD with JBehave and Selenium
BDD with JBehave and SeleniumBDD with JBehave and Selenium
BDD with JBehave and Selenium
 
Behavior Driven Development and Automation Testing Using Cucumber
Behavior Driven Development and Automation Testing Using CucumberBehavior Driven Development and Automation Testing Using Cucumber
Behavior Driven Development and Automation Testing Using Cucumber
 
[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...
[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...
[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...
 
Acceptance Testing in BDD
Acceptance Testing in BDDAcceptance Testing in BDD
Acceptance Testing in BDD
 

Ähnlich wie Selenium basic

Tanvir Afzal: Selenium
Tanvir Afzal: SeleniumTanvir Afzal: Selenium
Tanvir Afzal: Selenium
SQABD
 
Selenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra Solutions
QUONTRASOLUTIONS
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
Nikhil Kapoor
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
prad_123
 

Ähnlich wie Selenium basic (20)

Selenium
SeleniumSelenium
Selenium
 
BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
 
Selenium
SeleniumSelenium
Selenium
 
Selenium - BNT 07
Selenium - BNT 07Selenium - BNT 07
Selenium - BNT 07
 
Selenium
SeleniumSelenium
Selenium
 
Tanvir Afzal: Selenium
Tanvir Afzal: SeleniumTanvir Afzal: Selenium
Tanvir Afzal: Selenium
 
Selenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra Solutions
 
Selenium web driver
Selenium web driverSelenium web driver
Selenium web driver
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
Pdx Se Intro To Se
Pdx Se Intro To SePdx Se Intro To Se
Pdx Se Intro To Se
 
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Introduction and IDE
Selenium Introduction and IDESelenium Introduction and IDE
Selenium Introduction and IDE
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
 
Testing world selenium_start_chapter1 (1)
Testing world selenium_start_chapter1 (1)Testing world selenium_start_chapter1 (1)
Testing world selenium_start_chapter1 (1)
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Upcoming new features of selenium in automation testing
Upcoming new features of selenium in automation testingUpcoming new features of selenium in automation testing
Upcoming new features of selenium in automation testing
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].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