Key Challenges in Test Automation
One of the questions I encounter frequently is, 'Do we need test automation?' The answer is not always a YES. In some cases, the challenges outweigh the benefits. The knack lies in identifying the right candidates for automation. Test automation is meant for reducing the test execution effort by automatically executing the test cases. Sounds simple, doesn't it? Hang on! In reality, this is a herculean task with many obstacles.
The second challenge is to decide on what to automate. Typically the tests that need to be run frequently are the ideal candidates for automation. Build acceptance tests, tests that need to be tested for different sets of data, tests that require a great deal of precision, which is difficult to achieve with manual testing, and tests which do not require any manual intervention such as plugging a new hardware or inserting a card, etc. can be considered for automation. It is better to start with low hanging fruits.
The third challenge is to determine a suitable framework for automation. The scope of the testing, need of testing, type of functionalities to be tested and kind of actions to be performed, type of validations, etc. will determine the suitable framework. The framework chosen should be such that it enables even the manual tester to execute automation scripts. Maintainability, Reliability and Performance are the key factors that will play a major role in designing a custom framework. The framework should aid in reducing the maintenance effort. Even if the control properties of the application changes, the effort required for updating the script should be minimal. The framework should aid in reporting reliable test results and should be robust enough to handle the un-predicted events that may occur during the test execution. The framework should have the capability to run the tests in parallel and also aid in executing more number of tests in short span of time.
I will discuss more about each of these in my upcoming blogs. Keep watching this space for my next blogs to overcome your automation challenges.