Not every software testing project can or should be automated. Before your department accepts a new test automation project, you should establish a process by which projects are reviewed and either accepted or rejected. This can be done with a simple Test Automation Acceptance Checklist.
Repeatable Test Cases with Static Data
The true cost benefit of test automation is achieved only when the same scripts are executed multiple times. The first execution is very expensive because it includes the one-time cost of the automation tools and 100% of the Test Automation engineer's time. When the scripts are executed again, the cost of test automation declines sharply. The tool has already been purchased and the scripts have already been coded. If there have been changes in the application, the scripts may require maintenance before being executed. Maintenance on minor software updates should be minimal.
Because test automation is only successful when the scripts can be executed multiple times, only application which require the same test cases to be executed with the same data are good candidates for automation. For example, a mortgage application that needs to be regression tested on a weekly basis could be a good candidate for test automation. Script maintenance is minimal and the scripts can enter a mortgage application using the same group of test data in a fraction of the time it would take a manual tester to test the same functionality.
On the other hand, a mortgage origination system, which cannot use the same test data for each iteration would not be a good automation candidate. Due to the nature of mortgage systems, data could be staged in various states of approval or rejection, based on the current data and the departments who have already processed their part of the mortgage application. If the script cannot easily figure out what data to enter in the software, it is not a good automation candidate.
Another problem with automating this type of complex system is that the test environment often contains a sampling of production data that is refreshed on a periodic basis. Sometimes this can be overcome by rebuilding the test data when the test environment is refreshed. The feasibility of rebuilding test data on a regular basis depends on the complexity of the application. You will have to make that decision on a case-by-case basis.
Application or Environmental Stability
Environmental stability is crucial to a successfully automating a software testing project. Scripts cannot be coded in a timely manner if the application environment is unavailable, experiences frequent down-times, or excessive defects and errors.
Little or No Application or Environment Downtime
It takes longer to write scripts than it does to manually test the same functionality. Most automation tools are watered down version of C or Visual Basic, which means that writing automated scripts is essentially programming and takes adequate time and specialized skills. Unlike manual test cases, which can sometimes be written based off requirements and mock-ups, automated tools require the actual application. When a test environment is unavailable, automation engineers cannot create scripts, which prolongs the project and ends up costing more.
Excessive downtime can consist of any of the following:
Unstable Environment
Lack of Infrastructure Support
Frequent Application Updates
Buggy Code
Effects of Environment Instability on Script Development and Execution
When an application or environment is unstable, scripting progress is dramatically slowed or stopped altogether. In some cases, it's possible to continue scripting, but this may causes more work at a later date. For example, if you are scripting in buggy code, you may have to script around error messages and the scripts will have to be revised at a later date. Or, you may only be able to create scripts to a certain point and finish them at a later date. To help avoid and decrease environment instability, read the chapter on Service Level Agreements.
Timely Defect Fixes
Application defects do not have to be detrimental to an automated software testing project. When defects are fixed in a timely manner, scripting can continue without significant downtime. When estimating an automated testing project, it's always best to add some buffer time that will accommodate for defect reporting and revisions.
When defect fixes take an excessive amount of time to resolve and are causing the automated software testing project to be delayed, it's time to pull together a meeting. Invite all the major players and discuss the root of the problem and what everyone can to improve the situation. Maybe development is spending too much time trying to reproduce the problem and having your automation team enter better description would help them turn the defect fixes around faster. Maybe you can work together to classify defects and establish reasonable fix times for each classification. For example, a Critical defect needs to be fixed that day while a High defect needs to be fixed with in 24 hours.
Responsive Contact Person
When your team takes on a new automated testing project, you will need a contact person. This person is responsible for making sure you have the business requirements and answering questions about how the application works. This will not be his or her main job, so you will need to make sure he or she is responsive. If you cannot get adequate business requirements, test data, or questions answered, your automation project will not be successful.
Copyright 2004. Danna Henderson. All Rights Reserved.
Danna Henderson has helped many organizations automate their software testing with WinRunner. For information on creating robust, data driven scripts, and successful automated testing, visit WinRunner Experts.
![]() |
|
![]() |
|
![]() |
|
![]() |
Microsoft Outlook is one of the most widely used software... Read More
What is RAID RECOVERY?RAID stands for Redundant Array of Inexpensive... Read More
C++ Function templates are those functions which can handle different... Read More
This article is the third of a series of articles... Read More
Looks like Microsoft Great Plains becomes more and more... Read More
Ok... Where to start?Well, I guess I will start at... Read More
GroupwareThe internet is full of 1.5 million to 7 million... Read More
Do you remember that frustrating feeling when you find an... Read More
While I was in college, if you would have asked... Read More
Need help making sense of algebra? Have algebra lectures in... Read More
Fundraising software lets you connect with donors in a way... Read More
Features Additionally, Vista will include many other new features.Aero Vista... Read More
Microsoft Business Solutions Great Plains has many years of successful... Read More
Trying to figure out a stream in banning one email... Read More
This is intermediate level SQL scripting article for DB Administrator,... Read More
The objective for Zandi Digital is to make available clever... Read More
Customer Relationship Management or CRM is a combination of enterprise... Read More
Microsoft Business Solutions Great Plains is very generic accounting application... Read More
Since its release in 1987, QuarkXpress had made an immediate... Read More
Simply put, fleet maintenance allows companies to monitor and maintain... Read More
Here is some free software tools to help you build... Read More
Most people understand that the "hardware" part of their computer... Read More
The purpose of one of our projects was MS Exchange... Read More
A UNIX Shell is in simplest terms, a command line... Read More
Whether you need to close a sale, gather end-user feedback,... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
Icons are used everywhere; right from software applications, to internet... Read More
If you have Great Plains Dynamics/eEnterprise (version 6.0 or earlier)... Read More
Spyware is software or hardware installed on a computer without... Read More
Linux essentials:It's free for download but you have to pay... Read More
Disclaimer: All the thoughts expressed are my views only! Your... Read More
1. With mapping software you can create a report that... Read More
You would like to protect your documents, wouldn't you? Reasons... Read More
Microsoft Business Solutions ? Great Plains is designed to meet... Read More
The most important things you can do for your computer... Read More
Microsoft Great Plains, Navision, Solomon and Axapta are Microsoft Business... Read More
The first thing that you will notice about Linux Red... Read More
Microsoft CRM and IBM Lotus Notes Domino seem to be... Read More
During the years of our consulting practice, which comes back... Read More
What is Interactive Mapping?Interactive mapping is a visual display medium... Read More
Linux essentials:It's free for download but you have to pay... Read More
So, why should you use any O/R mapping tool? I... Read More
Viruses and spyware usually show up on your computer one... Read More
The purpose of one of our projects was MS Exchange... Read More
After seeing many people complain about their weak Internet security... Read More
Spyware and Adware infest over 90 percent of computers in... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Microsoft Business Solutions Great Plains serves to the wide spectrum... Read More
When it comes to running an office, the SOHO entrepreneur... Read More
Great Plains Fixed Assets Management module is a robust tool... Read More
Background: For many organizations like ours, the interim target of... Read More
Shareware has been fighting the stigma of being misunderstood for... Read More
Think of this, first we had the HAM Radio, then... Read More
I've been active in the Cisco Certification track for four... Read More
When you first think about multicurrency ? you probably have... Read More
I started using PIP (Picture It Publishing) Platinum 2002 right... Read More
For a long time now Microsoft's Internet Explorer has ruled... Read More
What is Colossus?Colossus is software licensed to about twenty-five insurance... Read More
Microsoft has never released a service pack for Windows98 SE,... Read More
Java has come along a long way. Many would agree... Read More
When you visit department stores and see that majority of... Read More
GroupwareThe internet is full of 1.5 million to 7 million... Read More
Microsoft Business Solutions Great Plains, Navision, Axapta, Solomon and CRM... Read More
In this small article we will show you the possible... Read More
The Microsoft system preparation utility for Windows 2000 is a... Read More
What is Tripwire?Tripwire is a form intrusion detection system (IDS)... Read More
Software |