Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

So I was doing some website test automation research, I stumbled upon Sahi. Open source, setup was easy, API easy to understand, javascript, java, ruby support, notepad ++ plugin, etc. After trying it out for an hour or two, I feel more research is warranted.

The major red flag I found was was that there wasn't much written about it on blogs, and the community seems small. So why isn't this tool more common? For those who have evaluated it why did you choose something else?

share|improve this question
    
Thanks for the info. The fact that I didn't get any Sahi users to answer is negative enough for me. If there isn't an active open community discussing its use, I wouldn't adopt it. –  Steve Miskiewicz Sep 28 '12 at 14:33
    
We are using sahi from very long and are satisfied with it. An we too got a license. –  user4391 Nov 15 '12 at 18:37
add comment

4 Answers

up vote 5 down vote accepted

I think it is because Sahi Open Source offers only a very limitied functionality compared to other free tools/api's like Selenium.

Sahi Pro costs USD 495! for functionality that you get from other tools for free like taking screenshots or grid.

share|improve this answer
add comment

I have been using Sahi for over 2 years and in that I have used it as an open source for more than a year. I have found that sahi "works for me" instead of "me working for the tool" in case of QTP and Selenium. Speed!. Everything comes so easy with Sahi. Write up tests, make suites, schedule them.... Even as an Open source I was completely satisfied, and I am not sure how much exposure Tarken has but seems like very immature to talk about something you have no experience with.

share|improve this answer
add comment

This is a very good question... why ISN'T Sahi more common?

When I was evaluating tools a few years back I first tried Selenium RC and liked the overall nature of the tool but found, in my experience, in all honesty, it just didn't work. It didn't work well with IE (a deal-breaker for many) and was way too flakey (tests often failed for no reason, hung on waits, crashed, etc...). I ended up working around the tool's issues more than testing... which was too bad because I really like it.

Like the OP, I then stumbled upon Sahi and found it similarly nice to how Selenium operates... except everything I tried worked. Sahi runs great on IE, FireFox, Chrome and Safari; it handles waits implicitly (you do not need to put any waits in your scripts); can run tests in parallel right out of the box (so to speak); and many many other great features... long story short: Sahi was just like Selenuim... except it worked!

It was a complete no-brainer for me. I've been using Sahi for a few years (the first year completely on the free, open source version, which disproves Tarken's misguided response above) and have found it a fantastic tool for test automation.

I do wish there were more folks blogging about Sahi (besides me)... this unfortunately gives flippant, biased statements (as seen here) more credence. But this will change if folks just give it a try.

So to answer to the OPs question, Sahi isn't as common as other tools because they are better at building tools than they are at marketing.

@Narayan, I would love to see Sahi at a few of the US conferences!

share|improve this answer
add comment

Disclaimer: We are the authors of Sahi, and this answers the original post and the next answer by Tarken. This is of course biased, but I hope in a sense of fairness this will not be removed :)

Hi Steve Miskiewicz, you should definitely check out Sahi. Don't be worried about the blogs and online presence. The problem space of web automation is small. You find elements and perform actions on them. And make sure that it works on all browsers. Sahi guarantees that.

What other open source or commercials tools do, Sahi can do the same things at a fraction of the effort and maintenance cost. For example, Sahi does not need waits and so Sahi tests are much more stable. It does not require ids and can work on ANY web application. Sahi does not use XPaths, but has wrappers around the DOM to find one element relative to another. It has recorder and accessor spy which works on all browsers. It is guaranteed to work on any new browser that is released, because it uses javascript to locate elements and trigger events. (Native events are over rated. They introduce brittleness in tests because they need focus. Even WebDriver does not use native events on all browsers, and actions like mouseover on IE causes problems because of cursor location) Sahi can work across domains, subdomains popup windows etc. with ease.

If your application uses extjs, zkoss, gwt or other such rich UIs, you will find Sahi to be very useful.

Hi Tarken,

Screen shots have always been possible with a simple Sahi function. Screen shots are not what Sahi Pro charges for. Even open source Sahi can execute multiple scripts on say 5 instances of IE in parallel. If a screen shot is taken, the wrong window may be in focus. It is a choice to either focus on screenshots or run 5 parallel instances on a single machine without getting into multiple VMs, grid etc. Even here, Sahi Pro does have native focus and screen shots in the latest release. (And Sahi Pro has distributed playback too)

Sai Pro charges for innovation, accountability and sustainability. Most organizations value these, and that is why Sahi Pro has a fast growing customer list.

If you want testimonials of the open source version, you may see some here: http://books.zkoss.org/wiki/Small_Talks/2010/January/Making_ZK_Functional_Tests_With_Sahi and here: http://sahi.co.in/forums/viewtopic.php?id=2582

On a different note, on posts like http://stackoverflow.com/questions/606550/watir-vs-selenium-vs-sahi, posts in favour of Sahi have been (incorrectly) questioned for integrity. I believe it does not encourage Sahi's supporters to speak in public. I hope this post does not go the same way.

share|improve this answer
    
Thanks for your input you can see my comment above. If you encourage a more open community that would increase its use. –  Steve Miskiewicz Sep 28 '12 at 14:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.