Sahi - Effective Web Testing (MT)
Upcoming SlideShare
Loading in...5

Sahi - Effective Web Testing (MT)



Presentation given at MindTree Bangalore, explaining how Sahi can save time and money.

Presentation given at MindTree Bangalore, explaining how Sahi can save time and money.



Total Views
Views on SlideShare
Embed Views



35 Embeds 113,562 108084 4128 573 329 276
http://gramam 47 23 18 13 12 8 6 6 5 5 4 3 3 2 2 1 1 1 1
http://sahi 1
res://ieframe.dll 1 1 1 1 1 1 1 1
http://localhost 1 1



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Sahi - Effective Web Testing (MT) Sahi - Effective Web Testing (MT) Presentation Transcript

  • Sahi - Effective Web Testing
    - V Narayan Raman
  • Automation tool for web app testing
    Mature open source tool started in 2005
    Easy to use, ideal for testers
    Works well with AJAX, Web 2.0
    No Xpaths, no waits
    Works well with Agile methodologies
    Version control, refactor, continuous integration
    Sahi script, Java and Ruby drivers
  • Object Identification
    Need developer involvement for adding ids
    Xpaths – brittle, difficult to grasp, not cross browser
    css-selectors – better, but still complicated and not cross browser
    Waiting for AJAX, Page loads
    Hardcoded - slow
    Conditional – needs knowledge of the DOM and DOM events
    Real life problems
  • Knowledge and learning curve
    Java, Junit, Eclipse, Ruby, Xpaths, Firebug, browser DOM, Frames/Iframes- Really unrelated to web testing!
    Difficult to staff or ramp up teams
    Real life problems
  • Recorder on all browsers
    Implicit waits, even for complex AJAX and page loads
    Excellent Object Spy and accessors which work across frames and iframes
    No special privileges required on browser
    HTTPS, 401/Windows/NTLM authentication, popup windows, modal dialogs, File uploads
    Sahi Differentiators
  • DEMO
  • 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
    Tips for stable tests
  • Interact with Java directly from Sahi Script
    Read/Write to files, databases, Excel sheets, XML files
    Ruby/Java drivers and recorders
    Other features
  • Grid
    Flash and Flex support
    Applet Support
    C# driver
    Feature Road Map
  • Recorder, Object Spy and APIs
    Reduce development time
    Smart accessors
    Stable tests save maintenance time
    Lesser dependence on developers to add ids everywhere
    In built parallel playback, HTML reports
    Saves time in maintenance and quick start
    Authoritative commercial support and training available
    Saves time in removing road blocks
    Sahi saves you Time and Money
  • Information
    Twitter: _sahi
    LinkedIn group: SahiWeb Automation
    TytoSoftware Pvt. Ltd.
    Questions and Answers