Sahi – Web Automation and Test tool Nivetha Padmanaban Divya Peddi September 20, 2007
Agenda <ul><li>Why OSS? </li></ul><ul><li>Myths of OSS </li></ul><ul><li>About Sahi </li></ul><ul><li>Facts about Sahi </l...
Why OSS? <ul><li>Full control – availability of source code and right to modify, right to redistribute, right to use the s...
Myths of OSS <ul><li>Open source is not really free </li></ul><ul><li>There is no service and support </li></ul><ul><li>De...
About Sahi <ul><li>Sahi is an open source automation tool </li></ul><ul><li>Sahi is used to automate tests on web applicat...
Facts about Sahi <ul><li>Average of 70+ posts / month in discussion forum in past 8 months </li></ul><ul><li>Average of 13...
Demo
API’s <ul><li>Normal APIs </li></ul><ul><ul><li>APIs which are used to access elements of a web page </li></ul></ul><ul><u...
Rules to follow <ul><li>Perform all actions using Scheduler functions </li></ul><ul><li>Do not create page dependant varia...
Features of Sahi <ul><li>Ant support for playback of suites of tests </li></ul><ul><li>Suites can be run in multiple threa...
Advantages of Sahi over other tools <ul><li>Ant support </li></ul><ul><li>No proprietary language </li></ul><ul><li>Multi ...
Q & A
Upcoming SlideShare
Loading in...5
×

Sahi Conference

2,499

Published on

presented in step-auto 2007

Published in: Business, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,499
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
103
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Sahi Conference

  1. 1. Sahi – Web Automation and Test tool Nivetha Padmanaban Divya Peddi September 20, 2007
  2. 2. Agenda <ul><li>Why OSS? </li></ul><ul><li>Myths of OSS </li></ul><ul><li>About Sahi </li></ul><ul><li>Facts about Sahi </li></ul><ul><li>Demo </li></ul><ul><li>Rules to follow </li></ul><ul><li>Features of Sahi </li></ul><ul><li>Advantages of Sahi </li></ul>
  3. 3. Why OSS? <ul><li>Full control – availability of source code and right to modify, right to redistribute, right to use the software in any way </li></ul><ul><li>No more technology lock-in </li></ul><ul><li>No more vendor lock-in </li></ul><ul><li>Worldwide community </li></ul><ul><li>Integrating with other tools is easy </li></ul><ul><li>No cost </li></ul><ul><li>Less learning curve </li></ul>
  4. 4. Myths of OSS <ul><li>Open source is not really free </li></ul><ul><li>There is no service and support </li></ul><ul><li>Development resources are scarce </li></ul><ul><li>Open source is not secure </li></ul><ul><li>All open source projects are work-in-progress </li></ul><ul><li>Training is not available </li></ul>
  5. 5. About Sahi <ul><li>Sahi is an open source automation tool </li></ul><ul><li>Sahi is used to automate tests on web applications </li></ul><ul><li>Has record and play back option </li></ul><ul><li>Runs as proxy server </li></ul><ul><li>Independent of the website / web application </li></ul><ul><li>Uses simple JavaScript to execute events on browser </li></ul>
  6. 6. Facts about Sahi <ul><li>Average of 70+ posts / month in discussion forum in past 8 months </li></ul><ul><li>Average of 1300+ downloads / month in past 8 months </li></ul>
  7. 7. Demo
  8. 8. API’s <ul><li>Normal APIs </li></ul><ul><ul><li>APIs which are used to access elements of a web page </li></ul></ul><ul><ul><ul><li>Examples like - _button, _textbox, _checkbox </li></ul></ul></ul><ul><li>Scheduler APIs </li></ul><ul><ul><li>APIs which are scheduled to execute later </li></ul></ul><ul><ul><ul><li>Examples like - _setValue, _click etc </li></ul></ul></ul>
  9. 9. Rules to follow <ul><li>Perform all actions using Scheduler functions </li></ul><ul><li>Do not create page dependant variables </li></ul><ul><li>Use ‘_condition’ for page dependant conditions </li></ul><ul><li>Always prefix ‘$’ for variables </li></ul><ul><li>Call custom methods directly </li></ul>
  10. 10. Features of Sahi <ul><li>Ant support for playback of suites of tests </li></ul><ul><li>Suites can be run in multiple threads </li></ul><ul><li>External Proxy, HTTP and HTTPS support </li></ul><ul><li>AJAX support </li></ul><ul><li>Good Database and file support </li></ul><ul><li>Easily editable scripts (text files) – version friendly artifacts </li></ul><ul><li>Logging/reports </li></ul><ul><li>Tests do not need the browser window to be in focus </li></ul><ul><li>Supports javascript </li></ul><ul><li>Editor support – Jedit has supporting sahi.xml </li></ul>
  11. 11. Advantages of Sahi over other tools <ul><li>Ant support </li></ul><ul><li>No proprietary language </li></ul><ul><li>Multi threading of scripts </li></ul><ul><li>AJAX support </li></ul><ul><li>Tests do not need the browser window to be in focus </li></ul><ul><li>Active community support </li></ul>
  12. 12. Q & A
  1. ¿Le ha llamado la atención una diapositiva en particular?

    Recortar diapositivas es una manera útil de recopilar información importante para consultarla más tarde.

×