Selenium Primer

  • 4,522 views
Uploaded on

An introduction to Selenium, which is a suite of tools such as Selenium IDE and Selenium RC used for automated testing of web applications.

An introduction to Selenium, which is a suite of tools such as Selenium IDE and Selenium RC used for automated testing of web applications.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
4,522
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
0
Comments
0
Likes
7

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Testing Web Applications using Selenium
  • 2. About the speaker
    • Debashish Chakrabarty
      • Senior Consultant, Project Lead
      • More than 8 years of industry experience
        • SCWCD & SCJP
        • Varied exposure in Java/J2ME/J2EE
        • Exposure to several open-source frameworks
        • Recent experience on Vignette Portal, Template engine (Freemarker) & RIA toolkits such as Ext-JS, Scriptaculous
      • Avid Blogger & Podcaster. http://www.debashish.com
  • 3. Overview
    • An introduction to Selenium , which is a suite of tools such as Selenium IDE and Selenium RC used for automated testing of web applications.
  • 4. Agenda
    • Introduction to Selenium
      • What is Selenium?
      • Selenium IDE, RC & Grid overview
    • Detailed look at Selenium IDE
      • Selenium Tests
      • Selenium IDE Screen-cast demo
      • Selenium Core
    • Selenium Limitations
    • Summary
  • 5. What is Selenium?
    • Test automation tool for web applications
      • Functional / Acceptance tests
      • Can be used for reproducing bugs
    • Developed in Java Script.
    • Can be used for most of the browser / platform combinations.
    • Supports many languages including Java, Ruby, Python, and so on.
    • Free and Open Source
      • Developed and maintained by Thoughtworks
  • 6. Selenium IDE
    • Firefox extension
    • IDE for Selenium Tests
          • Auto complete common selenium commands
    • Record & Playback
    • Save/Export/Load tests
          • Export tests in different formats like HTML, Java etc.
  • 7. Selenium RC
    • Automate Selenium tests from Java/.NET/Ruby etc
    • Execute in multiple browsers, on remote machines
    • Integrate into wider business tests and CI tools
  • 8. Selenium Grid
    • Run tests on multiple machines in parallel
    • Solves the biggest problem with Selenium, speed
    • Supports EC2
  • 9. Detailed Look at Selenium IDE
    • Tests are a list of commands written in “Selenese”
    • Commands = actions, such as “type into this field”, & “assert an element exists”.
    • May be saved in several formats
  • 10. Selenium IDE Demo Movie
  • 11. Selenium Core
  • 12. Selenium Limitations
    • Selenium IDE only available for Firefox
    • Test Language is Selenese, unless using Driver mode
    • Selenium Core has to be deployed with application to overcome cross-site scripting issue
  • 13. Summary
    • Selenium is a testing framework for Web Applications
    • Drivers with Selenium RC allow web testing in language of choice