In this article, I'll discuss some of the best practices I discovered through on my own journey toward automation. These are practices you should consider when automating your testing cycles to make sure you build a suite of tests that work well and can be maintained throughout the life of your application. (This article is based on a presentation that can be viewed in full here.)
Anyone who says their business "runs itself" probably owes a great debt of gratitude to a small army of software applications and Web services that tirelessly feeds the machine from behind the scenes. From creating and storing documents and staying on top of e-mail to keeping the books and getting teams working together, it takes a lot of code to run a business, or at least to run it well. But setting up your company isn't as easy as just fishing apps out of a barrel. You want the best you can get, and at a price that isn't through the roof.
At some point, someone may want to change the way the code works. Some operation you call a hundred times suddenly requires that the users fill out a captcha or click a button before they can proceed, and all of the automation breaks. Fixing it requires a great deal of searching and replacing, and that could take days, while the programmers continue to move further and further ahead of you. Once this happens a few times, the test process becomes messy and expensive, and fails to deliver much value.
One of the best automation testing tools for application and GUI testing is eggPlant. TestPlant developed eggPlant for testers to perform different types of testing. While most of the automation tool follows an object-based approach, eggPlant works on an image-based approach. The tool allows testers to interact with the application the same way the end users will do. In eggPlant, you can use a single script to perform testing on many platforms such as Windows, Mac, Linux, and Solaris, etc.
The main advantage of a framework of assumptions, concepts and tools that provide support for automated software testing is the low cost for maintenance. If there is change to any test case then only the test case file needs to be updated and the driver Script and startup script will remain the same. Ideally, there is no need to update the scripts in case of changes to the application.
This article uses the term “tester” to refer to the person involved in testing software with automation tools. It is not meant to distinguish by job title or technical proficiency. Jim Hazen describes himself as a hybrid, or “technical tester,” because he can write test scripts and develop what he refers to as “testware.” The trend is to hire for multiple skillsets, but that does not mean the non-technical stakeholders involved in software development don’t benefit from automation testing.