Goa XP day

565 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
565
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Goa XP day

  1. 1. Functional Web Application Testing using Sahi<br />- V Narayan Raman<br />
  2. 2. Verify functionality of application<br />Verify often<br />Verify consistently<br />Requirement<br />
  3. 3. Go do some …<br />TESTING!<br />How?<br />
  4. 4. Do lots of<br />TESTING!<br />No Wait!<br />
  5. 5. More than Unit Tests<br />Covers end to end functionality<br />May not necessarily be Test Driven<br />Includes user interface interaction<br />Functional Testing<br />
  6. 6. Manual Testing<br />Explore<br />Try to find bugs<br />Automated Testing<br />Repetitive tasks<br />Regression<br />Free up time for exploratory testing<br />Manual and automated testing<br />
  7. 7. Automate anything repetitive<br />Run tests with each build<br />Integrate with Continuous Integration<br />Choose a tool which is resilient to changes in application<br />Approach<br />
  8. 8. New functionality?<br />Add a test<br />Found a bug?<br />Add a test for future builds<br />Adding Tests<br />
  9. 9. Multiple browsers<br />IE, Firefox, Chrome, Safari, Opera …<br />Multiple operating systems<br />Windows, Linux, Mac …<br />More combinations, more testing required<br />Web application testing<br />
  10. 10. Automation tool for web app testing<br />Open source<br />Easy to use, ideal for testers<br />Works well with AJAX, Web 2.0<br />No Xpaths, no waits<br />Works well with Agile methodologies<br />Sahi<br />
  11. 11. DEMO<br />
  12. 12. _near and _in better than Xpaths<br />Implicit waits<br />Simple, smart APIs<br />In built parallel playback<br />In built HTML reporting<br />Ruby/Java drivers available<br />Sahi - Power to the tester<br />
  13. 13. Rely on recorder only initially<br />Find the smartest accessor<br />No index based accessors if possible<br />Use _near and _in<br />Refactor and reuse code<br />Minimize code duplication <br />functions, variables, _include<br />Use the Sahi Controller to your advantage<br />How to implement<br />
  14. 14. Questions?<br />narayan@sahi.co.in<br />support@sahi.co.in<br />http://sahi.co.in<br />Tyto Software Pvt. Ltd.<br />http://www.tytosoftware.com<br />

×