Automation!!!!! framework!!! maintainence!!!!!!ROI!!!! …. These are the terms generally heard by many automation specialists in their day to day activity. In this post I would like to discuss on what exactly these terms mean and I appreciate additional information from the fellow bloggers on this topic
First, Automation as name suggests automation in testing jargon means zero manual intervention. Many testers are mislead by this techinal word and think that anything and everything can be automated and they can happily take rest thinking that automation is taking care of everything. This kind of thinking is wrong. Let me explain what automation is all about. Automation is duplicating the manual testing work through a tool. It has got some rules to be followed else it will be a headache for a tester
The basic thumb rules for automation are .. 100% Automation is not possible – practically. Rule number two.. Automation should only be done when the product attained stability in terms of functionality, perfomance and behaviour. Rule number three automation should be done only when there are many regression cycles.
These three rules are very important in determining whether one can proceed to automate an appliation.
Coming to Framework, a term thats used very frequently has a very important role to play in automation. Framework actually means the strategy, method, rules or policy that are proposed for automation. It doesnt mean any files, folder structure etc. Framework may vary depending on the type of tools the tester use. Designing a Framework means designing a strategy, rules, method before proceeding to developing scripts. Generally framework can be categorized into 3 types
1. Keyword Driven
2. DataDriven
3. Hybrid Framework
Keyword Driven Framework deals with keywords. Keywords are functions used to perform an action. For Example
Login
Navigate
Validate
Logout
The above mentioned functions are keywords that are used to perform series of actions. This is the essence of Keyword driven framework
DataDriven Framework deals with loads of data. In this framework a data driver file exists that inputs data to the script. This data can be test data or object data(Object properties). The whole framework depends on data driver script
Hybrid Framework is a combination of keyword and data driven framework. It uses keywords and data driver scripts.
Now the important aspect of Automation is maintainence time. What is the time required to maintain and fix the scripts for errors. Maintainence time of the scripts should be a minimum as possible so that the lapse in execution is prevented. For minimal maintainence the framework should be foolproof. Maintainence is dependent on Framework.
Let us take a scenario to explain the dependency. Let us say after first cycle of regression of some 70 scripts, the login page changed and now has 3 text inputs instead of two. Now if your framework cant handle this change with minimum changes then the maintainence and fix time for the 70 scripts will increase many folds thereby pushing forward the release cycle. Seeing the other side of this if the framework handles this change with minimum code change, maintainence time would be lesser than it would be in the earlier case.
Now coming the term most managers use knowingly or unknowingly is ROI. ROI is Return on Investment.
Companies spend lot of money on Automation tool and obviously look for returns from that tool. In my opinion, I may be wrong, ROI is linked with time. One cant expect ROI immediately after buying the tool.

No comments:
Post a Comment