Connecting Groups
Back to SiteGroups!

SpringSters - Blogging Bunch

We think therefore we are

SAHI… Makes the Life of a Tester Easy!!

It was the other day when I was trying to automate a web 2.0 application with WATIR -an open source automation tool for web UI testing, that I was stuck in the landing page of the application trying to capture the sign up flow. It turned out that the sign up required an AJAX call used widely in every Web 2.0 app. Having forced to explore other alternatives for Web automation testing which would support AJAX calls, HTTP/HTTPS, I-Frames and Javascripts, I zeroed in on SAHI – a light weight web automation tool which I found supported all of these and offered more.

Thanks to a bangalorean named Narayan Raman from ThoughtWorks who developed this web automation tool in java and javascript, it made the life as a tester a lot more easier. This tool uses simple javascript to execute events on the browser. Like any other automation tool available in the market, it has the facility to record and playback scripts. Sahi runs as a proxy server and the browser needs to use the sahi server as its proxy. Sahi then injects javascript so that it can access elements in the webpage. This makes the tool independent of the website/ web application.


Sahi boasts of a heavy feature set including in-browser controls, intelligent recorder, text based scripts, ant support for playback of test suites, multi threaded playback, supports external proxy and HTTP/HTTPS, Dynamic applications and AJAX support, URL based script access, ANT support for running test suites, Script refactorable into functions and files and Accessor Viewer for identifying html elements for scripting. In addition to these data driven testing is possible by reading data from excel sheets and working with databases.

Running overnight batch runs are also possible using test suites integrated with ANT. For each test in the suite, the ant target opens a browser, runs the test and closes the browser. The ant target specifies a suite file, say demo.suite.

The syntax of writing the suite file is:

eg.
test1.sah /startPageForTest1.jsp
test2.sah http://www.d2.com/startPageForTest2.htm
test3.sah abc/startPageForTest3.htm

Ant target for Internet Explorer:

< sahi suite="../scripts/demo/demo.suite"
browser="C:\\Program Files\\Internet Explorer\\iexplore.exe"
baseurl="http://serverName/path/"
sahihost="localhost"
sahiport="9999"
failureproperty="sahi.failed"
haltonfailure="false"
threads="3"
>

Ant target for firefox:

< sahi suite="../scripts/demo/demo.suite"
browser="C:\Program Files\Mozilla Firefox\firefox.exe"
baseurl="http://serverName/path/"
sahihost="localhost"
sahiport="9999"
failureproperty="sahi.failed"
haltonfailure="false"
browseroption="-profile ${basedir}/browser/ff/profiles/sahi$threadNo"
threads="3"
>

Sahi has a vast follower base appreciating its simplicity and easy to bend features with its JS engine. Sourceforgenet has hosted an online community to support the members/users spread across the globe under help and Open discussions.

Sahi is a free, open source software released under the Apache License Version 2.0 and
hence can be downloaded from sahi.co.in

Springsters glowing with the holiday tan!

All through September and October the pace was frenzied as we geared up for the beta release of Pproductl. With the release out of the way on November 2nd Springsters headed to the beaches of Goa for some fun, sun and relaxation. It was a well deserved break and Springsters made the most of it spicing each day with a different experience. After a lot of online search we had zeroed in on Alcove Resorts on the Little Vagator beach. With a breathtaking view of the sea and coconut trees, open air sit outs facing the sea, it not only lived up to our expectations but also set the right mood for the holiday we will cherish forever. Surf boarding, para-sailing, hiking, campfire, river cruise with fishing and dancing, driving through the winding streets of goan villages all night, getting ourselves tattooed and chilling out in the pool with a drink in hand, visiting some good night spots, we packed all this and more in the four days we spent at Goa. As Goa wove it’s magic on Springsters the outgoing ones turned gregarious and the quiet one’s came into element of their own. Awesome food and free flowing spirits helped :).

Our web UI guys metamorphosed into “official” photographers for the trip, here are a select few capturing Springsters in action or preening especially for the camera!

MangoSpring looking for interns

At MangoSpring we have enjoyed having interns periodically over the past year.  As interns usually are, they were raring to go, forever questioning, and always learning.   As a company, we found that we benefit greatly from their fresh perspectives, which has helped us solve some of the problems we struggled with.   We are again actively looking for interns for both our product and engineering teams. So, if you are graduating from a business school or engineering college and are looking for projects, we would like to hear from you.

MangoSpring has a fun small office atmosphere with a unique open culture.  It will definitely give you a taste of what it is like in a living, breathing industry.   As a company we push to learn and make our products the best they can be. We love the work that we do, and strive for the best each day.   Our past interns all agree that their experience at MangoSpring is one they will remember for a long time.  So, if you are up for an exciting, challenging, and educational experience, contact us.

Riding the next wave

Much has changed in India since the mid-nineties. The opening up of the economy gave India access to foreign markets. One place India grabbed the opportunity was of course, IT exports. But even before all the hoopla of IT services, changes were already taking shape. Small schools in nondescript towns started introducing computers for sixth graders and business systems were being automated using computers. While, automation of systems such as payroll and inventory were not new to India even in the eighties, what was new (world over) was availability of cheap personal computers for everyone from a college graduate to big corporations. Things were chugging along in their own sheepish pace until the mid-nineties, when we realized that the rupee had depreciated to half it’s value while we were sleeping – from 18.1 on 2nd Jan, 1991 to 35.21 on 2nd Jan, 1996.

This is a story that has been told many times, and each time for a reason. The IT services exports boom is of course everyone’s favourite reason. The reason I am bringing it up today is that rupee went up in another curve to about 48 and is back to the level it was in January, 1998. The IT services boom lasted through this curve, and if markets are left alone, we will see a shift in economy towards a higher-value rupee. The rising rupee has the services giants nervous. Nobody likes to challenge status quo, much less a successful organization in an industry that has seen a 30-40% compounded annual growth rate over a decade and more. But we are at another inflection point in the history of India Inc. Rising rupee, increasing wages, foreign investment - all of them together are leaving more money in the hands of people, government and institutions, resulting in higher spending by all. The rising rupee needs to be looked at in its complete context of this new wave. To successfully ride this next wave, it is important to look at what was achieved in the last wave.

Some years ago, a friend of mine and I were talking about what US has gained from India and vice versa. We decided that US companies have been able to concentrate on creative, design, architectural and strategic stuff – the stuff that thought-leadership and dreams are made of. We were left thoughtful and humbled, and we didn’t really end up discussing what India gained. But what I realize today is that during the last decade, we built products that were world class. We didn’t do it for ourselves, so we never owned the intellectual property on what we did. What we did own however, is the intellectual capital in the form of people who built this IP (well most of them anyway). We have a large pool of knowledge-rich, smart folks who can build products. All we need is right direction and good leadership.

To build products, managers and engineers will need to adapt to some important differences from the services business. For example, the business cycle in a services company starts with sales and ends with product delivery. Most managers in the Indian IT business today started their careers with the IT services boom and are all too familiar with this model. As part of the next wave, when we see more and more product companies proliferating the market, these companies will need managers who are adept at building and delivering products not as an end in itself, but as the beginning of a longer and more complex business cycle. The difference is subtle, but has important ramifications for an organization.

This is not to say that the era of services is ending. Far from it, it will evolve into better things and higher-value-chain work. But before we know it, everyone will be talking about the new wave and Indian software products will start selling globally. A decade ago, we joined the IT services industry blissfully unaware of what was brewing and were fortunate to have been part of an incredible boom. In today’s India of choices, the question is, do you foresee another wave and can you catch it right at the beginning?

©2007 - 2008 MangoSpring. All Rights Reserved.