SlideShare a Scribd company logo
1 of 12
Selenium
      -Web Testing Tool




    Presented By :
     o   Nitin Nirmal       25
     o   Hitesh Shetty      44
     o   Mahesh Tawde       52
     o   Manish Patil       57
     o   Mayuresh Wadekar   64
What is Selenium?

 Selenium is a robust set of tools that supports rapid development
   of test automation for web-based applications.

 Works on every system, where JavaScript is supported

 Can simulate a user navigating through pages and then assert for
  specific marks on the pages

 Selenium IDE is a plug-in to Firefox to record and playback tests.
  (like Win Runner, QTP).

 You can then export the recorded test in most language
   e.g. HTML, Java , C# , Perl , Ruby etc.

 Ability to deploy on different platforms : Windows, Linux, Mac.
Supported Browsers

         Browser       Selenium-IDE                Selenium-RC              Operating Systems
                   1.0 Beta-1 & 1.0 Beta-2:
Firefox 3          Record and playback        Start browser, run tests   Windows, Linux, Mac
                   tests
                   1.0 Beta-1: Record and
Firefox 2                                     Start browser, run tests   Windows, Linux, Mac
                   playback tests
                   Test execution only via
IE 7                                          Start browser, run tests   Windows
                   Selenium-RC
                   Test execution only via
Safari 3                                      Start browser, run tests   Mac
                   Selenium-RC
                   Test execution only via
Safari 2                                      Start browser, run tests   Mac
                   Selenium-RC
                   Test execution only via
Opera 9                                       Start browser, run tests   Windows, Linux, Mac
                   Selenium-RC
                   Test execution only via
Opera 8                                       Start browser, run tests   Windows, Linux, Mac
                   Selenium-RC
                   Test execution only via
Google Chrome                              Start browser, run tests      Windows
                   Selenium-RC(Windows)
                   Test execution only via
Others                                        Partial support possible   As applicable
                   Selenium-RC
Components of Selenium
   Selenium Core
   Selenium IDE
   Selenium Remote Control (RC)
   Selenium Grid
Selenium Core

  Legacy product that consisted of libraries of .js(JavaScript) files.

  Selenium Core is a test tool for web applications.

  Selenium Core tests run directly in a browser, just as real users
   do. And they run in Internet Explorer, Mozilla and Firefox on
   Windows, Linux and Macintosh.

Installation
  1.   Extracting the Selenium Core zip file into the DocumentRoot,
       or webroot of your webserver.
  2.   Then, try to open the TestRunner.html page on your website,
       which should be in the core/ directory.
Selenium IDE

  Integrated Development Environment for building Selenium
    test cases.
  Operates as a Firefox add-on and provides an interface for
    developing and running individual test cases or entire test suites.
  Selenium-IDE has a recording feature, which will keep account of
    user actions as they are performed and store them as a reusable
    script to play back.

Installation
 1. Open Firefox and Download the latest version of Selenium IDE
    (currently version 1.9).
Selenium IDE cont…




Start Screen
                      Recording a script
Selenium Remote Control (RC)

 Selenium Remote Control (RC) is a server, written in Java that
  accepts commands for the browser via HTTP.

 Components of Selenium RC are:

     o Selenium Server
     o Client Libraries

Installation
1. The Selenium RC server is simply a Java jar file (selenium-
     server-standalone-<version-number>.jar)
2.   Just downloading the zip file and extracting the server in
     the desired directory is sufficient.
Selenium Grid

 Selenium-Grid allows you run your tests on different machines
  against different browsers in parallel.
 Selenium-Grid support distributed test execution.
 With Selenium Grid, one server acts as the hub.
 A grid consists of a single hub, and one or more nodes. Both
  are started using the selenium-server.jar executable.


Installation

1. Download the Selenium-Server jar file
2. Install it in a folder of your choice.
Advantages And Limitations

Advantages:
      Customized defect reporting
      Finding defects missed by manual testing
      Support for Agile and extreme development methodologies
      Frequent regression testing
      Rapid feedback to developers

Limitations:
    If the application’s user interface will change considerably in
     the near future, then any automation might need to be
     rewritten anyway.
Conclusion

   Most of the applications these days are Web-Based.
   Test automation is used more frequently.
   Test automation uses software tools to run repeatable test.
   Selenium act as a tool to do test automation.
   Components include IDE, RC, and Grid.
   Core Consists of core .js(JavaScript) libraries.
Thank you

More Related Content

What's hot

Testing world selenium_start_chapter1 (1)
Testing world selenium_start_chapter1 (1)Testing world selenium_start_chapter1 (1)
Testing world selenium_start_chapter1 (1)Testing World
 
Selenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI TestingSelenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI Testingmikereedell
 
Jenkins & Selenium
Jenkins & SeleniumJenkins & Selenium
Jenkins & Seleniumadamcarmi
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using SeleniumNikhil Kapoor
 
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
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorialmetapix
 
Best Selenium Online Training
Best Selenium Online TrainingBest Selenium Online Training
Best Selenium Online TrainingSamatha Kamuni
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introductionPankaj Dubey
 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with SeleniumKerry Buckley
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using SeleniumWeifeng Zhang
 
Selenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaSelenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaRakesh Hansalia
 
Tanvir Afzal: Selenium
Tanvir Afzal: SeleniumTanvir Afzal: Selenium
Tanvir Afzal: SeleniumSQABD
 
An Overview of Selenium
An Overview of SeleniumAn Overview of Selenium
An Overview of Seleniumadamcarmi
 

What's hot (20)

Selenium
SeleniumSelenium
Selenium
 
Selenium (1)
Selenium (1)Selenium (1)
Selenium (1)
 
Testing world selenium_start_chapter1 (1)
Testing world selenium_start_chapter1 (1)Testing world selenium_start_chapter1 (1)
Testing world selenium_start_chapter1 (1)
 
Selenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI TestingSelenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI Testing
 
Jenkins & Selenium
Jenkins & SeleniumJenkins & Selenium
Jenkins & Selenium
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
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!
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorial
 
Best Selenium Online Training
Best Selenium Online TrainingBest Selenium Online Training
Best Selenium Online Training
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with Selenium
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Selenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaSelenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansalia
 
Tanvir Afzal: Selenium
Tanvir Afzal: SeleniumTanvir Afzal: Selenium
Tanvir Afzal: Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
 
An Overview of Selenium
An Overview of SeleniumAn Overview of Selenium
An Overview of Selenium
 

Similar to Selenium

Selenium Automation Using Ruby
Selenium Automation Using RubySelenium Automation Using Ruby
Selenium Automation Using RubyKumari Warsha Goel
 
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 Controlusha kannappan
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityRay Business Technologies
 
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
 
Testing with Jenkins, Selenium and Continuous Deployment
Testing with Jenkins, Selenium and Continuous DeploymentTesting with Jenkins, Selenium and Continuous Deployment
Testing with Jenkins, Selenium and Continuous DeploymentMax Klymyshyn
 
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 2011camp_drupal_ua
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVAmahirayavarapu
 
Selenium online training nareshit
Selenium online training nareshitSelenium online training nareshit
Selenium online training nareshitAvinashNareshIT
 
Selenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsQUONTRASOLUTIONS
 
Automated UI testing with Selenium
Automated UI testing with SeleniumAutomated UI testing with Selenium
Automated UI testing with SeleniumYuriy Gerasimov
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorialprad_123
 

Similar to Selenium (20)

Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Automation Using Ruby
Selenium Automation Using RubySelenium Automation Using Ruby
Selenium Automation Using Ruby
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
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
 
BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularity
 
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...
 
Testing with Jenkins, Selenium and Continuous Deployment
Testing with Jenkins, Selenium and Continuous DeploymentTesting with Jenkins, Selenium and Continuous Deployment
Testing with Jenkins, Selenium and Continuous Deployment
 
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
 
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 by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
Selenium online training nareshit
Selenium online training nareshitSelenium online training nareshit
Selenium online training nareshit
 
Selenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra Solutions
 
Automated UI testing with Selenium
Automated UI testing with SeleniumAutomated UI testing with Selenium
Automated UI testing with Selenium
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
 
Selenium
SeleniumSelenium
Selenium
 

Selenium

  • 1. Selenium -Web Testing Tool Presented By : o Nitin Nirmal 25 o Hitesh Shetty 44 o Mahesh Tawde 52 o Manish Patil 57 o Mayuresh Wadekar 64
  • 2. What is Selenium?  Selenium is a robust set of tools that supports rapid development of test automation for web-based applications.  Works on every system, where JavaScript is supported  Can simulate a user navigating through pages and then assert for specific marks on the pages  Selenium IDE is a plug-in to Firefox to record and playback tests. (like Win Runner, QTP).  You can then export the recorded test in most language e.g. HTML, Java , C# , Perl , Ruby etc.  Ability to deploy on different platforms : Windows, Linux, Mac.
  • 3. Supported Browsers Browser Selenium-IDE Selenium-RC Operating Systems 1.0 Beta-1 & 1.0 Beta-2: Firefox 3 Record and playback Start browser, run tests Windows, Linux, Mac tests 1.0 Beta-1: Record and Firefox 2 Start browser, run tests Windows, Linux, Mac playback tests Test execution only via IE 7 Start browser, run tests Windows Selenium-RC Test execution only via Safari 3 Start browser, run tests Mac Selenium-RC Test execution only via Safari 2 Start browser, run tests Mac Selenium-RC Test execution only via Opera 9 Start browser, run tests Windows, Linux, Mac Selenium-RC Test execution only via Opera 8 Start browser, run tests Windows, Linux, Mac Selenium-RC Test execution only via Google Chrome Start browser, run tests Windows Selenium-RC(Windows) Test execution only via Others Partial support possible As applicable Selenium-RC
  • 4. Components of Selenium  Selenium Core  Selenium IDE  Selenium Remote Control (RC)  Selenium Grid
  • 5. Selenium Core  Legacy product that consisted of libraries of .js(JavaScript) files.  Selenium Core is a test tool for web applications.  Selenium Core tests run directly in a browser, just as real users do. And they run in Internet Explorer, Mozilla and Firefox on Windows, Linux and Macintosh. Installation 1. Extracting the Selenium Core zip file into the DocumentRoot, or webroot of your webserver. 2. Then, try to open the TestRunner.html page on your website, which should be in the core/ directory.
  • 6. Selenium IDE  Integrated Development Environment for building Selenium test cases.  Operates as a Firefox add-on and provides an interface for developing and running individual test cases or entire test suites.  Selenium-IDE has a recording feature, which will keep account of user actions as they are performed and store them as a reusable script to play back. Installation 1. Open Firefox and Download the latest version of Selenium IDE (currently version 1.9).
  • 7. Selenium IDE cont… Start Screen Recording a script
  • 8. Selenium Remote Control (RC)  Selenium Remote Control (RC) is a server, written in Java that accepts commands for the browser via HTTP.  Components of Selenium RC are: o Selenium Server o Client Libraries Installation 1. The Selenium RC server is simply a Java jar file (selenium- server-standalone-<version-number>.jar) 2. Just downloading the zip file and extracting the server in the desired directory is sufficient.
  • 9. Selenium Grid  Selenium-Grid allows you run your tests on different machines against different browsers in parallel.  Selenium-Grid support distributed test execution.  With Selenium Grid, one server acts as the hub.  A grid consists of a single hub, and one or more nodes. Both are started using the selenium-server.jar executable. Installation 1. Download the Selenium-Server jar file 2. Install it in a folder of your choice.
  • 10. Advantages And Limitations Advantages:  Customized defect reporting  Finding defects missed by manual testing  Support for Agile and extreme development methodologies  Frequent regression testing  Rapid feedback to developers Limitations:  If the application’s user interface will change considerably in the near future, then any automation might need to be rewritten anyway.
  • 11. Conclusion  Most of the applications these days are Web-Based.  Test automation is used more frequently.  Test automation uses software tools to run repeatable test.  Selenium act as a tool to do test automation.  Components include IDE, RC, and Grid.  Core Consists of core .js(JavaScript) libraries.