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.
Great Plains Integration Manager scripting and translation - overview for... Read More
For a windows user like me, just can watch with... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics/eEnterprise... Read More
While I was in college, if you would have asked... Read More
C++ Function templates are those functions which can handle different... Read More
COMMAND LINE FUNCTIONA powerful command line script processor has been... Read More
Words we choose to describe things and phenomena often show... Read More
Considering whether or not your software company should hire a... Read More
When reading an article where some term is used often,... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Shareware is software that you can try before you buy;... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
I like my software simple. If it's too complex or... Read More
Internet worms. Is your PC infected?If your computer has become... Read More
With the advent of 'Service Pack 2' for Windows XP... Read More
This short paper will expand on two key reasons to... Read More
Microsoft Great Plains could be tuned and setup to fit... Read More
What is Groupware?Have you ever had to manage document collaboration... Read More
The purpose of one of our projects was MS Exchange... Read More
Stop the Runaway MouseWhat's the "runaway mouse?" You've seen it...you... Read More
The intentions of this short tutorial are not to teach... Read More
I started using PIP (Picture It Publishing) Platinum 2002 right... Read More
We would like first emphasize the change in the paradigm.... Read More
MicroWorld Technologies, Inc. the leading solutions provider in the area... Read More
Some companies that are in need of fleet management may... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
Microsoft Great Plains may be recommended for international freight forwarding... Read More
Microsoft Business Solutions offers several ERP applications: Great Plains, Navision,... Read More
Programming Help for BeginnersWe write programs to instruct computers. When... Read More
You have gotten those E_Mails buy software at deep discounts.... Read More
Table of Contents1) Introduction 2) Related Work 3) Framework 4)... Read More
Here is some free software tools to help you build... Read More
If you copy something from a Web site or elsewhere...... Read More
Does Microsoft care for WebmastersIt's always been a problem with... Read More
IntroductionSurprised, by the title? well, this is a tour of... Read More
Microsoft Business Solutions Great Plains might be considered as ERP... Read More
Innovative Maintenance Systems (IMS) is one company that offers solutions... Read More
Which Type of Shop Can Rely On A Home Built... Read More
DBxtra is a powerful query and reporting tool that hides... Read More
Once a business idea is selected, it is highly recommended... Read More
Since Version 8.0 Microsoft Business Solutions Great Plains & Great... Read More
(1) Avoid using the same variable again and again for... Read More
Great Plains Integration Manager scripting and translation - overview for... Read More
If you are to buy a HelpDesk & Asset Management... Read More
Itâ??s easy to understand why you might be drawn to... Read More
Google Inc. has launched a new software package that allows... Read More
The objective for Zandi Digital is to make available clever... Read More
What is IRC?IRC is Internet Relay Chat. It is a... Read More
Just when you thought you were Web savvy, one more... Read More
Microsoft Great Plains has full-featured Manufacturing suite of modules: Capacity... Read More
Microsoft Business Solutions CRM is web-based CRM application, deploying all... Read More
Sales are all about leverage, because there is only so... Read More
For those who are unclear on the differences between the... Read More
The title of "software engineer" has got to be among... Read More
There are many commands that are used in linux on... Read More
Does Microsoft Have any Real Competition? Copyright (c) 2003 Gregory... Read More
This tutorial covers OLAP solutions used by Data warehouses and... Read More
Microsoft Great Plains might be considered as ERP platform to... Read More
Microsoft Business Solutions Great Plains version 8.5, 8.0, 7.5, Great... Read More
We are in a transition phase in the Managerial Administration... Read More
Case study: A secretary using Corel WordPerfect 7 is often... Read More
It is now common thing when large corporation selects mid-market... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Spyware and malware are large problems for Internet users today... Read More
Writing software manuals is boring, isn't it? We often think:... Read More
Did you ever give a thought to the number of... Read More
Software |