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

Mais conteúdo relacionado

Destaque

What are the advantages of non functional testing
What are the advantages of non functional testingWhat are the advantages of non functional testing
What are the advantages of non functional testingMaveric Systems
 
Continuous Testing of eCommerce Apps
Continuous Testing of eCommerce AppsContinuous Testing of eCommerce Apps
Continuous Testing of eCommerce AppsSauce Labs
 
The importance of non functional testing
The importance of non functional testingThe importance of non functional testing
The importance of non functional testingMaveric Systems
 
Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview Assaf Halperin
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional TestingNishant Worah
 
Testing web services
Testing web servicesTesting web services
Testing web servicesTaras Lytvyn
 

Destaque (6)

What are the advantages of non functional testing
What are the advantages of non functional testingWhat are the advantages of non functional testing
What are the advantages of non functional testing
 
Continuous Testing of eCommerce Apps
Continuous Testing of eCommerce AppsContinuous Testing of eCommerce Apps
Continuous Testing of eCommerce Apps
 
The importance of non functional testing
The importance of non functional testingThe importance of non functional testing
The importance of non functional testing
 
Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional Testing
 
Testing web services
Testing web servicesTesting web services
Testing web services
 

Goa XP day

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