SlideShare a Scribd company logo
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

PPTX
Selenium – testing tool jack
PDF
First steps with selenium rc
DOC
PPTX
Smarter ways to do selenium automation @ work, Selenium, automation
PPT
Selenium Introduction
PPT
Selenium
PPT
Selenium
PPS
Selenium Demo
Selenium – testing tool jack
First steps with selenium rc
Smarter ways to do selenium automation @ work, Selenium, automation
Selenium Introduction
Selenium
Selenium
Selenium Demo

What's hot (20)

PPTX
PPT
Selenium (1)
PDF
Testing world selenium_start_chapter1 (1)
PPT
Selenium2 and Jenkins: Almost pain-free UI Testing
PDF
Jenkins & Selenium
PPTX
Test Automation Using Selenium
PPT
Selenium 2: The Future of Selenium is now!
PPT
QSpiders - Automation using Selenium
PDF
Selenium Ide Tutorial
DOCX
Best Selenium Online Training
PPTX
Selenium introduction
PDF
Web application testing with Selenium
PPT
Automated Web Testing Using Selenium
PPT
Selenium Primer
PPT
Selenium ppt
DOCX
Selenium webdriver course content rakesh hansalia
PPT
Tanvir Afzal: Selenium
PPT
Selenium
PPTX
Selenium introduction
PPTX
An Overview of Selenium
Selenium (1)
Testing world selenium_start_chapter1 (1)
Selenium2 and Jenkins: Almost pain-free UI Testing
Jenkins & Selenium
Test Automation Using Selenium
Selenium 2: The Future of Selenium is now!
QSpiders - Automation using Selenium
Selenium Ide Tutorial
Best Selenium Online Training
Selenium introduction
Web application testing with Selenium
Automated Web Testing Using Selenium
Selenium Primer
Selenium ppt
Selenium webdriver course content rakesh hansalia
Tanvir Afzal: Selenium
Selenium
Selenium introduction
An Overview of Selenium
Ad

Similar to Selenium (20)

PPT
Selenium
PPTX
Selenium Testing
PPTX
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
DOC
Selenium Automation Using Ruby
PPTX
Test Automation and Selenium
PPT
Selenium By Pravin Mishra
PPTX
test-automation-selenium-160216124839.pptx
PDF
Selenium by using JAVA
PPTX
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
PPT
Selenium Concepts
PPT
Selenium Basics by Quontra Solutions
PPTX
Selenium- A Software Testing Tool
PPT
Intro Of Selenium
PPTX
Python selenium
PDF
Selenium Tutorial
PPTX
Selenium Introduction and IDE
PDF
Basics of Selenium IDE,Core, Remote Control
PPTX
Selenium
Selenium Testing
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Automation Using Ruby
Test Automation and Selenium
Selenium By Pravin Mishra
test-automation-selenium-160216124839.pptx
Selenium by using JAVA
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
Selenium Concepts
Selenium Basics by Quontra Solutions
Selenium- A Software Testing Tool
Intro Of Selenium
Python selenium
Selenium Tutorial
Selenium Introduction and IDE
Basics of Selenium IDE,Core, Remote Control
Ad

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.