SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Downloaden Sie, um offline zu lesen
Sahi
   Open Source Tool for Web Application Testing




Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park,
                     Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071
                           http://sahi.co.in +91 988 096 5555 +91 80 40951787
Web Application Test automation and Sahi

With each release of a software product, functionality needs to be verified.
Generally, more than 80% of the verification process is repetitive, with testers
performing the same verification steps manually from release to release.
Automation can ease the pressure of the organization’s testers, provide quicker
feedback and eliminate human error. Quicker feedback cycles lead to faster
evolution of software and greater confidence in the end product.



Web applications have evolved dramatically in the past few years, with newer
faster browsers, Web 2.0, AJAX and numerous web frameworks making traditional
web automation obsolete. Testing now needs to happen in the browser and across
browsers, across web frameworks, server technologies and operating systems.



Traditionally such complexity in testing has come with a cost. The choice was
either commercial tools which were easy to use or open source tools which were
usable only by the technically savvy. For an organization which looks to adopt a
tool across their teams and projects, both these solutions do not scale as one is
expensive in terms of cost and the other in terms of productivity and salaries.




     Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park,
                          Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071
                                http://sahi.co.in +91 988 096 5555 +91 80 40951787
Sahi gives you the best of both worlds

Sahi is a tester friendly tool. Sahi has smart record and playback capabilities and
combines it with simple but powerful scripting. Testers can get productive from
day one and whole suites of automation scripts can be maintained with minimal
knowledge of programming. Sahi is a mature, 5 year old open source project.



A quote from a public wiki of ZKOSS, a popular web framework:


‘   The Problem

    Testing ZK Web Applications can be a challenge with Selenium and Grinder
    because ZK dynamically generates element IDs, and these testing frameworks
    identify elements within the rendered Web Page using these IDs

    The Solution

    Sahi can record and playback sessions directly on your production ZK Web
    Application without having to use a custom ID generator. It requires no browser
    plugins to create recorded sessions to be used for playback. Sahi is pure Java, so it
    integrates nicely with ANT. The Sahi scripting language is simple and elegant, so
    there's no need to break out the XPATH documentation to get your tests running.
    You can even run your Sahi tests headless using Firefox in an X-Window virtual
    frame buffer on Linux. In headless mode you can run real browser-based tests on
    your continuous integration machines without having to be logged in. If you're
    testing on windows, you can run your tests on IE, Firefox, Chrome, Safari, and
    Opera. Despite some idiosyncrasies Sahi seems magical at times, but more
    importantly it makes testing productive - so productive it's almost fun!
                                                                                                                      ’
      Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park,
                           Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071
                                 http://sahi.co.in +91 988 096 5555 +91 80 40951787
Save time with Sahi

  Save tester time in test creation
       Powerful recorder helps in easy script creation
  Save time in playback
       Fast parallel playback reduces play back time
  Save time in team expansion/inception
       Sahi’s APIs are simple. Testers do not need to understand XPaths or the DOM
          structure. Allows easy adoption by new team members
  Save time in maintenance when new releases are made
       Sahi uses smart accessor APIs which are largely independent of DOM changes
          making tests stable
  Save time on reruns, tracking and debugging
       Sahi does not need wait statements even for AJAX applications. This removes
          timing related failures, the most common cause of frustration in AJAX testing
  Save on developer and management time
       Sahi does not require modifications to existing web applications to make them
          testable
  Save time in building peripherals/frameworks
       Sahi comes with inbuilt logging, HTML reports, parallel playback and APIs for data-
          driven testing
  Save time by finding solutions quickly and reliably
         Tyto Software, a Bangalore based company founded by the author of Sahi, offers
            training and commercial support around Sahi.




    Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park,
                         Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071
                               http://sahi.co.in +91 988 096 5555 +91 80 40951787
Technical Capabilities of Sahi

Features

     Browser and Operating System independent
     Powerful recorder which works across browsers
     Powerful Object Spy
     Intuitive and simple APIs
     Javascript based scripts for good programming control
     Version Controllable text-based scripts
     In-built reports
     In-built multithreaded or parallel playback of tests
     Tests do not need the browser window to be in focus
     Command line and ant support for integration into build processes
     Supports external proxy, HTTPS, 401 & NTLM authentications
     Supports browser popups and modal dialogs
     Supports AJAX and highly dynamic web applications
     No wait statements required even for AJAX and page loads
     Intuitive APIs like _near and _in eliminates need for XPaths
     Works on applications with random auto-generated ids
     Very lightweight and scalable
     Supports data-driven testing. Can connect to database, Excel or CSV file.
     Ability to invoke any Java library from scripts




      Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park,
                           Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071
                                 http://sahi.co.in +91 988 096 5555 +91 80 40951787
Limitations

    Sahi currently cannot handle pages which have other pages from different domains
     embedded in them using iframes or frames. So you cannot have a page from
     google.com having an iframe with a page from yahoo.com. Note that this is not the
     same as switching between domains, where you navigate from a google.com page to a
     yahoo.com page, which will work in Sahi.
    File upload field will not be populated on browsers for javascript verification. File upload
     itself works fine




      Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park,
                           Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071
                                 http://sahi.co.in +91 988 096 5555 +91 80 40951787
Why choose Sahi over QTP?

For a web based application, Sahi performs better than QTP. A few advantages:

   1) Speed of execution. On an actual customer site, a suite of 1000 test cases runs in 8 hrs
      using Sahi and takes upto 3 days using QTP.
   2) Cost of ownership. A single license of QTP costs twice the support cost for an entire
      team using Sahi
   3) Better AJAX and Web 2.0 support
   4) Sahi tests does not need the browser to be in focus
   5) Sahi works on all major browsers and Operating Systems. QTP automates
      Firefox/Internet Explorer on Windows only.



Why choose Sahi over other open source testing tools

   1) Sahi is a tool for testers, while most tools are aimed at developers
   2) Sahi abstracts out technicalities like object identification, waits for AJAX etc. reducing
      test complexity
   3) Sahi currently has the best recorder
   4) Sahi handles HTTPS/AJAX/Authentication/Modal dialogs better than other tools
   5) Sahi has built in reporting, parallel execution which need to be added or are unavailable
      in other tools
   6) Sahi is easily extensible without even recompiling code
   7) Sahi is the most developed right now, with monthly stable releases




      Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park,
                           Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071
                                 http://sahi.co.in +91 988 096 5555 +91 80 40951787
Commercial Support

Tyto Software Pvt. Ltd. is a Bangalore based company founded by the author of Sahi.
Tyto Software provides commercial support and training for Sahi.

The annual support contract for Sahi covers the following:

   1) Access to private support portal to report and track issues faced while automating with
      Sahi. The portal allows private knowledge sharing within an organization via forums, bug
      tracking system and a wiki.

   2) Access to bug tracking system based support with guaranteed response within one
      Indian business working day, pertaining to the following use cases:
         a. Show stoppers, bugs and minor issues in Sahi. Intermediate bugfix releases will
            be made available if needed
         b. Help with scripting and using best practices
         c. Minor enhancements to Sahi to adapt to your company's applications
         d. Workarounds for known un-resolved issues

The contents of training can be found online at http://sahi.co.in/w/sahi-training




      Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park,
                           Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071
                                 http://sahi.co.in +91 988 096 5555 +91 80 40951787
Contact Information

For enquiries on Sahi training and commercial support contact
support@sahi.co.in

Tyto Software Pvt. Ltd.
Stylus Serviced Offices,
First Floor, Pine Valley,
Embassy Golf-Links Business Park,
Off-Intermediate Ring Road, Domlur,
Bengaluru, India 560 071

http://sahi.co.in
http://www.tytosoftware.com


+91 80 40951787
+91 988 096 5555




      Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park,
                           Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071
                                 http://sahi.co.in +91 988 096 5555 +91 80 40951787

Weitere ähnliche Inhalte

Andere mochten auch (7)

Industrial Powerhouse Presentation re industrial powerhouse march 2010
Industrial Powerhouse Presentation re industrial powerhouse march 2010Industrial Powerhouse Presentation re industrial powerhouse march 2010
Industrial Powerhouse Presentation re industrial powerhouse march 2010
 
Strategic Development of the Industrial Powerhouse Product - Rebanks Consulting
Strategic Development of the Industrial Powerhouse Product - Rebanks ConsultingStrategic Development of the Industrial Powerhouse Product - Rebanks Consulting
Strategic Development of the Industrial Powerhouse Product - Rebanks Consulting
 
Attractions forum presentation 10
Attractions forum presentation 10Attractions forum presentation 10
Attractions forum presentation 10
 
European Route of Industrial Heritage in North West England
European Route of Industrial Heritage in North West EnglandEuropean Route of Industrial Heritage in North West England
European Route of Industrial Heritage in North West England
 
Draw
DrawDraw
Draw
 
Lisa Houghton - Modern History Attractions Update Presentation
Lisa Houghton - Modern History Attractions Update PresentationLisa Houghton - Modern History Attractions Update Presentation
Lisa Houghton - Modern History Attractions Update Presentation
 
Vtlib 1.1
Vtlib 1.1Vtlib 1.1
Vtlib 1.1
 

Ähnlich wie Sahi White Paper

Paper published on web application testing with sahi tool
Paper published on web application testing with sahi toolPaper published on web application testing with sahi tool
Paper published on web application testing with sahi tool
Lalit Choudhary
 
Sahi Web Automation and Testing Tool
Sahi Web Automation and Testing ToolSahi Web Automation and Testing Tool
Sahi Web Automation and Testing Tool
Tyto Software
 
Economical, Robust Web Automation using Sahi
Economical, Robust Web Automation using SahiEconomical, Robust Web Automation using Sahi
Economical, Robust Web Automation using Sahi
RIA RUI Society
 
GaneshaShetty_Automation_Testing_Resume-Final
GaneshaShetty_Automation_Testing_Resume-FinalGaneshaShetty_Automation_Testing_Resume-Final
GaneshaShetty_Automation_Testing_Resume-Final
Ganesha Shetty
 
Case study - Using OSGi within the salesforce.com Data Center Automation Init...
Case study - Using OSGi within the salesforce.com Data Center Automation Init...Case study - Using OSGi within the salesforce.com Data Center Automation Init...
Case study - Using OSGi within the salesforce.com Data Center Automation Init...
mfrancis
 

Ähnlich wie Sahi White Paper (20)

Paper published on web application testing with sahi tool
Paper published on web application testing with sahi toolPaper published on web application testing with sahi tool
Paper published on web application testing with sahi tool
 
Sahi Web Automation and Testing Tool
Sahi Web Automation and Testing ToolSahi Web Automation and Testing Tool
Sahi Web Automation and Testing Tool
 
Sahi - Effective Web Testing
Sahi - Effective Web TestingSahi - Effective Web Testing
Sahi - Effective Web Testing
 
Sahi presentation on BOJUG
Sahi presentation on BOJUGSahi presentation on BOJUG
Sahi presentation on BOJUG
 
Challenges and Opportunities Faced While Migrating to Selenium
Challenges and Opportunities Faced While Migrating to SeleniumChallenges and Opportunities Faced While Migrating to Selenium
Challenges and Opportunities Faced While Migrating to Selenium
 
Economical, Robust Web Automation using Sahi
Economical, Robust Web Automation using SahiEconomical, Robust Web Automation using Sahi
Economical, Robust Web Automation using Sahi
 
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdfBasics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
 
Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020
 
Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020
 
Dev Dives MAY Deck .pdf
Dev Dives MAY Deck .pdfDev Dives MAY Deck .pdf
Dev Dives MAY Deck .pdf
 
The Best Automation Testing Tools To Use In 2022 | BMN Infotech
The Best Automation Testing Tools To Use In 2022 | BMN InfotechThe Best Automation Testing Tools To Use In 2022 | BMN Infotech
The Best Automation Testing Tools To Use In 2022 | BMN Infotech
 
Discover the power of QA automation testing
Discover the power of QA automation testingDiscover the power of QA automation testing
Discover the power of QA automation testing
 
GaneshaShetty_Automation_Testing_Resume-Final
GaneshaShetty_Automation_Testing_Resume-FinalGaneshaShetty_Automation_Testing_Resume-Final
GaneshaShetty_Automation_Testing_Resume-Final
 
Rapise Overview Presentation (2019)
Rapise Overview Presentation (2019)Rapise Overview Presentation (2019)
Rapise Overview Presentation (2019)
 
Automate SAP S/4 HANA business processes across all user interfaces
Automate SAP S/4 HANA business processes across all user interfacesAutomate SAP S/4 HANA business processes across all user interfaces
Automate SAP S/4 HANA business processes across all user interfaces
 
Case study - Using OSGi within the salesforce.com Data Center Automation Init...
Case study - Using OSGi within the salesforce.com Data Center Automation Init...Case study - Using OSGi within the salesforce.com Data Center Automation Init...
Case study - Using OSGi within the salesforce.com Data Center Automation Init...
 
BBS Sahi Open Source
BBS Sahi Open SourceBBS Sahi Open Source
BBS Sahi Open Source
 
Leveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver ExampleLeveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver Example
 
Web Test Automation Framework - IndicThreads Conference
Web Test Automation Framework  - IndicThreads ConferenceWeb Test Automation Framework  - IndicThreads Conference
Web Test Automation Framework - IndicThreads Conference
 
Top Chrome Extensions for Software Testing
Top Chrome Extensions for Software TestingTop Chrome Extensions for Software Testing
Top Chrome Extensions for Software Testing
 

Sahi White Paper

  • 1. Sahi Open Source Tool for Web Application Testing Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park, Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071 http://sahi.co.in +91 988 096 5555 +91 80 40951787
  • 2. Web Application Test automation and Sahi With each release of a software product, functionality needs to be verified. Generally, more than 80% of the verification process is repetitive, with testers performing the same verification steps manually from release to release. Automation can ease the pressure of the organization’s testers, provide quicker feedback and eliminate human error. Quicker feedback cycles lead to faster evolution of software and greater confidence in the end product. Web applications have evolved dramatically in the past few years, with newer faster browsers, Web 2.0, AJAX and numerous web frameworks making traditional web automation obsolete. Testing now needs to happen in the browser and across browsers, across web frameworks, server technologies and operating systems. Traditionally such complexity in testing has come with a cost. The choice was either commercial tools which were easy to use or open source tools which were usable only by the technically savvy. For an organization which looks to adopt a tool across their teams and projects, both these solutions do not scale as one is expensive in terms of cost and the other in terms of productivity and salaries. Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park, Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071 http://sahi.co.in +91 988 096 5555 +91 80 40951787
  • 3. Sahi gives you the best of both worlds Sahi is a tester friendly tool. Sahi has smart record and playback capabilities and combines it with simple but powerful scripting. Testers can get productive from day one and whole suites of automation scripts can be maintained with minimal knowledge of programming. Sahi is a mature, 5 year old open source project. A quote from a public wiki of ZKOSS, a popular web framework: ‘ The Problem Testing ZK Web Applications can be a challenge with Selenium and Grinder because ZK dynamically generates element IDs, and these testing frameworks identify elements within the rendered Web Page using these IDs The Solution Sahi can record and playback sessions directly on your production ZK Web Application without having to use a custom ID generator. It requires no browser plugins to create recorded sessions to be used for playback. Sahi is pure Java, so it integrates nicely with ANT. The Sahi scripting language is simple and elegant, so there's no need to break out the XPATH documentation to get your tests running. You can even run your Sahi tests headless using Firefox in an X-Window virtual frame buffer on Linux. In headless mode you can run real browser-based tests on your continuous integration machines without having to be logged in. If you're testing on windows, you can run your tests on IE, Firefox, Chrome, Safari, and Opera. Despite some idiosyncrasies Sahi seems magical at times, but more importantly it makes testing productive - so productive it's almost fun! ’ Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park, Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071 http://sahi.co.in +91 988 096 5555 +91 80 40951787
  • 4. Save time with Sahi  Save tester time in test creation  Powerful recorder helps in easy script creation  Save time in playback  Fast parallel playback reduces play back time  Save time in team expansion/inception  Sahi’s APIs are simple. Testers do not need to understand XPaths or the DOM structure. Allows easy adoption by new team members  Save time in maintenance when new releases are made  Sahi uses smart accessor APIs which are largely independent of DOM changes making tests stable  Save time on reruns, tracking and debugging  Sahi does not need wait statements even for AJAX applications. This removes timing related failures, the most common cause of frustration in AJAX testing  Save on developer and management time  Sahi does not require modifications to existing web applications to make them testable  Save time in building peripherals/frameworks  Sahi comes with inbuilt logging, HTML reports, parallel playback and APIs for data- driven testing  Save time by finding solutions quickly and reliably  Tyto Software, a Bangalore based company founded by the author of Sahi, offers training and commercial support around Sahi. Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park, Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071 http://sahi.co.in +91 988 096 5555 +91 80 40951787
  • 5. Technical Capabilities of Sahi Features  Browser and Operating System independent  Powerful recorder which works across browsers  Powerful Object Spy  Intuitive and simple APIs  Javascript based scripts for good programming control  Version Controllable text-based scripts  In-built reports  In-built multithreaded or parallel playback of tests  Tests do not need the browser window to be in focus  Command line and ant support for integration into build processes  Supports external proxy, HTTPS, 401 & NTLM authentications  Supports browser popups and modal dialogs  Supports AJAX and highly dynamic web applications  No wait statements required even for AJAX and page loads  Intuitive APIs like _near and _in eliminates need for XPaths  Works on applications with random auto-generated ids  Very lightweight and scalable  Supports data-driven testing. Can connect to database, Excel or CSV file.  Ability to invoke any Java library from scripts Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park, Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071 http://sahi.co.in +91 988 096 5555 +91 80 40951787
  • 6. Limitations  Sahi currently cannot handle pages which have other pages from different domains embedded in them using iframes or frames. So you cannot have a page from google.com having an iframe with a page from yahoo.com. Note that this is not the same as switching between domains, where you navigate from a google.com page to a yahoo.com page, which will work in Sahi.  File upload field will not be populated on browsers for javascript verification. File upload itself works fine Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park, Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071 http://sahi.co.in +91 988 096 5555 +91 80 40951787
  • 7. Why choose Sahi over QTP? For a web based application, Sahi performs better than QTP. A few advantages: 1) Speed of execution. On an actual customer site, a suite of 1000 test cases runs in 8 hrs using Sahi and takes upto 3 days using QTP. 2) Cost of ownership. A single license of QTP costs twice the support cost for an entire team using Sahi 3) Better AJAX and Web 2.0 support 4) Sahi tests does not need the browser to be in focus 5) Sahi works on all major browsers and Operating Systems. QTP automates Firefox/Internet Explorer on Windows only. Why choose Sahi over other open source testing tools 1) Sahi is a tool for testers, while most tools are aimed at developers 2) Sahi abstracts out technicalities like object identification, waits for AJAX etc. reducing test complexity 3) Sahi currently has the best recorder 4) Sahi handles HTTPS/AJAX/Authentication/Modal dialogs better than other tools 5) Sahi has built in reporting, parallel execution which need to be added or are unavailable in other tools 6) Sahi is easily extensible without even recompiling code 7) Sahi is the most developed right now, with monthly stable releases Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park, Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071 http://sahi.co.in +91 988 096 5555 +91 80 40951787
  • 8. Commercial Support Tyto Software Pvt. Ltd. is a Bangalore based company founded by the author of Sahi. Tyto Software provides commercial support and training for Sahi. The annual support contract for Sahi covers the following: 1) Access to private support portal to report and track issues faced while automating with Sahi. The portal allows private knowledge sharing within an organization via forums, bug tracking system and a wiki. 2) Access to bug tracking system based support with guaranteed response within one Indian business working day, pertaining to the following use cases: a. Show stoppers, bugs and minor issues in Sahi. Intermediate bugfix releases will be made available if needed b. Help with scripting and using best practices c. Minor enhancements to Sahi to adapt to your company's applications d. Workarounds for known un-resolved issues The contents of training can be found online at http://sahi.co.in/w/sahi-training Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park, Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071 http://sahi.co.in +91 988 096 5555 +91 80 40951787
  • 9. Contact Information For enquiries on Sahi training and commercial support contact support@sahi.co.in Tyto Software Pvt. Ltd. Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park, Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071 http://sahi.co.in http://www.tytosoftware.com +91 80 40951787 +91 988 096 5555 Tyto Software Pvt. Ltd., Stylus Serviced Offices, First Floor, Pine Valley, Embassy Golf-Links Business Park, Off-Intermediate Ring Road, Domlur, Bengaluru, India 560 071 http://sahi.co.in +91 988 096 5555 +91 80 40951787