AWS Volume Snapshot Automation

I am working on a small backup automation script for AWS (Amazon Web Services). Previously, I wrote this script shared on Github Gist here to take a snapshot of a specific volume for one user which is already being used in production.

Now I am thinking to add the following to this script:

  • Add support in script to be used by multiple AWS accounts in different regions.
  • Remove older snapshots and keep only the latest 3 copies for so.

I will share this script as a separate project on Github once complete.

Presentation about web testing automation

When I was automating testing our first project, it was a web based administration app. For that, I did some research and we chose to go with Sahi. I was able to achieve about 60-70% automation with Sahi and very happy with its result. During that time, one day I also gave a presentation at my office about what and how is web testing automation with Sahi. The presentation I created for this is the following:

This presentation gives a very brief idea about web testing automation in general and with Sahi. In the coming posts, I will try to share the issues I faced both with automating testing for desktop and web apps.

Automating with TestComplete

Recently we purchased TestComplete license. After some initial phase of learning the tool, I have now started automating our actual test cases using TestComplete. Before going to start this I did the following:

  1. Studied Software Test Automation book by Mark Fewster & Dorothy Graham (highly recommended for those who are starting automating tests)
  2. Studied and watched different webinars on Automated QA’s website.

Overall, it is going smooth and good. But obviously, it is taking sometime to get used to this. In some of my next posts, I will share how I am doing with this.

So for now we are using TestComplete for desktop and Sahi for web app testing automation.

Testing Automation Tools

I recently started using Sahi. Sahi is an automation and testing tool for web applications, with the facility to record and playback scripts.

When I was trying to find any tool for testing automation, I evaluated many tools as the following:

  • AutomatedQA’s TestComplete – It is one of the other product which I would love to use. It is an excellent product and could be used very nicely for GUI applications. I had to drop this from the list due to its price 🙁 and availability of free / open source automation tools for web.
  • Watir – I couldn’t try this much but it was dropped from the list due to the learning curve involved in learning Ruby and then using this whole suite efficiently. Though, it seems to be a nice product and offers many add-ons.
  • Sahi – I chose this due to the ease of use. Another positive aspect of this application is that its scripting is done in Javascript. So I didn’t have to learn another language. I was able to start actually automating my test cases the next day, when I installed Sahi on my system. Till date, I am able to automate about 50% of my application. That application testing, I am going to automate has been written in Zend framework.

In the next posts, I will try to post some more details about my testing experience.