Automated Testing for Websites With Selenium IDE

2,136 views

Published on

This presentation is an overview of Automated Testing for websites using Selenium IDE. We start with an introduction and benefits around automated testing and move on to some Selenium IDE specifics.

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

  • Be the first to like this

No Downloads
Views
Total views
2,136
On SlideShare
0
From Embeds
0
Number of Embeds
904
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Automated Testing for Websites With Selenium IDE

  1. 1. Automated Testing for Websites using Selenium IDE robert@robertgreiner.com
  2. 2. Table of Contents • What is Automated Testing? • Why Should I Use Automated Testing? • Getting Started With Selenium IDE
  3. 3. What is Automated Testing? • Automated tests perform repeatable actions on your application and compare expected values with actual results. • • • • “Drive” the application the same way a user would Create scripts/applications to repeat tests in the future Improves documentation around existing functionality Run while you are sleeping
  4. 4. Why Should I Use Automated Testing? • • • • • • • Reduces human errors Exposes defects to development team faster Faster than human testers Cheaper to run and maintain Continues to work when your application changes Protects against regression defects Improves communication between groups
  5. 5. Getting Started With Selenium IDE • Selenium IDE is a Firefox extension that allows you to record, edit, and debug functional tests against your web application. • • • Record and playback tests Save and export test cases Compare expected values with actual values
  6. 6. Installing Selenium IDE • Download an install Firefox • http://www.mozilla.org/en-US/firefox/new/ • Install Selenium IDE Firefox extension • • • • Open Firefox http://www.seleniumhq.org/download/ Click “Download latest released version 2.x.x” Install Selenium and dependencies
  7. 7. Running Selenium IDE • Open Firefox -> ctrl+alt+S Just start browsing, recordin g starts by default!
  8. 8. Demo: Testing a Website Arrange Act Assert • Setup initial state • Perform desired behavior • Verify results
  9. 9. Questions? Robert Greiner robert@robertgreiner.com @robert_greiner

×