Testing Web Applications  using Selenium
About the speaker <ul><li>Debashish Chakrabarty </li></ul><ul><ul><li>Senior Consultant, Project Lead </li></ul></ul><ul><...
Overview <ul><li>An introduction to  Selenium , which is a suite of tools such as Selenium IDE and Selenium RC used for au...
Agenda <ul><li>Introduction to Selenium </li></ul><ul><ul><li>What is Selenium? </li></ul></ul><ul><ul><li>Selenium IDE, R...
What is Selenium? <ul><li>Test automation tool for web applications </li></ul><ul><ul><li>Functional / Acceptance tests </...
Selenium IDE <ul><li>Firefox extension </li></ul><ul><li>IDE for Selenium Tests </li></ul><ul><ul><ul><ul><li>Auto complet...
Selenium RC <ul><li>Automate Selenium tests from Java/.NET/Ruby etc </li></ul><ul><li>Execute in multiple browsers, on rem...
Selenium Grid <ul><li>Run tests on multiple machines in parallel </li></ul><ul><li>Solves the biggest problem with Seleniu...
Detailed Look at Selenium IDE <ul><li>Tests are a list of commands written in “Selenese” </li></ul><ul><li>Commands = acti...
Selenium IDE Demo Movie
Selenium Core
Selenium Limitations <ul><li>Selenium IDE only available for Firefox </li></ul><ul><li>Test Language is Selenese, unless u...
Summary <ul><li>Selenium is a testing framework for Web Applications </li></ul><ul><li>Drivers with Selenium RC allow web ...
Upcoming SlideShare
Loading in...5
×

Selenium Primer

4,603

Published 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.

Published in: Technology
0 Comments
7 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,603
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
0
Comments
0
Likes
7
Embeds 0
No embeds

No notes for slide

Transcript of "Selenium Primer"

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

×