Automated cceptance testing using Fitnesse & Selenium

6,779 views
6,628 views

Published on

Published in: Education, Technology
1 Comment
7 Likes
Statistics
Notes
  • Hi Mayur, nice presentation.
    Wondering if we can save your presentation, would help for reference purpose.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
6,779
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
1
Likes
7
Embeds 0
No embeds

No notes for slide

Automated cceptance testing using Fitnesse & Selenium

  1. 1. Acceptance Testing using FitNesse & Selenium Mayur Gupta
  2. 2. Agenda <ul><li>FitNesse </li></ul><ul><li>Selenium </li></ul><ul><li>FitNesse + Selenium </li></ul>
  3. 3. Acceptance Tests Software System What a Should DO? Whether the DOES it? Whether the Still DOES it as it grows? Thinking Communication Verification Completeness Refactoring Regression Live Specification
  4. 4. Ways Slow Expensive Hard to Maintain Long Release Cycles Partially Tested Systems Business Suffers
  5. 5. Another Way Feature: Calculate Simple Interest Principal is Rs 100 Rate Of Interest is 5% Time Period is 2 years SI should be Rs 10 Feature: Calculate Simple Interest Principal is Rs 100 Rate Of Interest is 5% Time Period is 2 years SI should be Rs 10 Test Passed
  6. 6. FitNesse <ul><li>What is FitNesse? </li></ul><ul><ul><ul><li>Software collaboration tool </li></ul></ul></ul><ul><ul><ul><li>Communication tool </li></ul></ul></ul><ul><ul><ul><li>Software testing tool </li></ul></ul></ul><ul><ul><ul><li>Wiki </li></ul></ul></ul><ul><li>Use </li></ul><ul><ul><ul><li>Automated Functional testing </li></ul></ul></ul><ul><ul><ul><li>Integration testing </li></ul></ul></ul>
  7. 7. Architecture Source www.fitnesse,org
  8. 8. Demo
  9. 9. Selenium <ul><li>Automate Web Application Testing </li></ul><ul><li>Multiple browsers </li></ul><ul><li>Multiple Platform </li></ul><ul><li>Support wide variety of languages to write test in </li></ul><ul><li>Selenium IDE </li></ul><ul><li>Selenium Remote Control </li></ul><ul><li>Selenium Grid </li></ul>
  10. 10. Selenium IDE <ul><li>Tool to develop Selenium test case </li></ul><ul><li>Firefox Plugin </li></ul><ul><li>Create, run & debug test cases </li></ul><ul><li>Export test cases in the language of the choice </li></ul>
  11. 11. Selenium Remote Control <ul><li>Create complex texts </li></ul><ul><ul><ul><li>Conditional logic </li></ul></ul></ul><ul><ul><ul><li>Iterations </li></ul></ul></ul><ul><ul><ul><li>Database Integration </li></ul></ul></ul><ul><li>Selenium RC Components </li></ul><ul><ul><ul><li>Selenium Server </li></ul></ul></ul><ul><ul><ul><li>Client Libraries </li></ul></ul></ul>
  12. 12. Source http://seleniumhq.org
  13. 13. Demo
  14. 14. Nice to have <ul><li>Fresh Application State before each test </li></ul><ul><li>Non programmer to write tests </li></ul>
  15. 15. FitN esse Selen ium & <ul><li>Best of both worlds </li></ul><ul><li>Ability to write GUI tests in FitNesse like manner </li></ul>Fitnium Tests BaseFitniumFixture Selenium API Wiki Pages Selenium RC
  16. 16. Demo
  17. 17. References <ul><li>Fitnesse: http://fitnesse.org </li></ul><ul><li>Selenium: http://seleniumhq.org </li></ul><ul><li>FitNium: http://www.magneticreason.com/tools/fitnium/fitnium.html </li></ul>

×