Thursday, October 20, 2011

Thoughts on Automation - I

Automation is always an interesting topic. It adds a lot of value to testing especially when it comes to data driven tests, end-to-end flows and business logic validations. The strength of automation lies in the strength of good manual tests and very good test data.

Many times automaton engineers tend to create complex tests for small features which in future becomes very brittle and tough to maintain. The effort and time spent on maintaining these scripts increase with application development cycle and eventually return on investment of these scripts decreases drastically. The power of automation is controlled by easy to maintain scripts and robust frameworks that drive these tests. The more complex is a script, the more it is likely to fail in future.

In the race of getting most of the scripts in test repository automated and trying to improve the coverage of automation, we tend to automate every manual test case. Automating tests like verification of color schemes, graphics, section widths, icons, backgrounds, minor images, layouts, and styles etc will not give good results. Rather, these tests can be effectively tested manually, with the Human Eye. By avoiding automating these tests and keeping the scripts light and maintainble is good for good automation strategy.
The success of automation stays in judging what to automate and what not to automate. Tests for visual aspects, usability need to left for manual testing, which takes less time to test when compared to automation.

I'll cover some more concepts automation in next post. Till then, happy testing !!!

0 comments:

Post a Comment