Do You Even Need To Bother Automating GUI Tests?

TestFortExpert by TestFortExpert on 01/21/2015

Do You Even Need To Bother Automating GUI Tests?

That glorious Automation!

What can I say? Automation’s in trend nowadays. Sometimes I think that all of today’s IT community is desperate for automation. It’s like a drug to many developers and testers. They are willing to spend hours automating processes that may be done in minutes manually. How so? We are automating simply because we love the sound of the word, seemingly. And it works for most managers as well. Magnificent, yet wrong to the very roots.

Don’t get this wrong. Automation is a necessity in today’s world of software development. It does make life easier and has tremendous benefits. But not all is to be automated as there are time when required resources are the price you simply can’t pay and you should not as well when manual methods will deliver you results faster. Let’s take GUI testing for example.

When would you really want to automate GUI testing?

Some people will even answer ‘never’ to that question. But such a position is as radical as the thirst of constant automation hence is wrong by all means. Surely automated unit tests are great and you have to accept it even if you hate all related to letters like TDD, etc. But GUI unit test automation may be and most likely will be a waste. Code coverage should be enough with primary unit tests and you have probably found most defects affecting GUI way earlier. This will work even better if you use more time on automating unit tests before testing GUI rather than doing this in the fairly opposite direction. The GUI layer is great for manual tests and it should be enough if you have done all right earlier. But there are still:

Bottom line: Not all is gold that glitters.

We use cookies to ensure your best experience. By continuing to browse this site, you accept the use of cookies and "third-party" cookies. For more information or to refuse consent to some cookies, please see our Privacy Policy and Cookie Policy