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.
tidy up service Glenview ..1. With mapping software you can create a report that... Read More
In our small article we'll consider Microsoft Business Solutions Great... Read More
Here is some free software tools to help you build... Read More
How would you like to prevent spyware and adware from... Read More
C/SIDE (Client/Server Integrated Development Environment) - The core of... Read More
Mapping Software Improves Data VisualizationFrom the outset, it is important... Read More
In 2004 Oracle, Inc. made its new step toward J2EE... Read More
When Great Plains Software was designing and developing Great Plains... Read More
It would be easy to think, like most people apparently... Read More
Disclaimer: All the thoughts expressed are my views only! Your... Read More
Fundraising software lets you connect with donors in a way... Read More
Ad-Aware and Spybot are probably the two most well known... Read More
The COSMIC FP (function point) software quality metric, is no... Read More
So let's begin crunching down these 300 images using Adobe... Read More
The major reason I recommend getting your hands on real... Read More
We will base our prognosis on our Microsoft Business Solutions... Read More
There are many commands that are used in linux on... Read More
Great Plains Accounting, accounting package for mid-size and small companies... Read More
Just imagine: you are walking, say, towards your car, and... Read More
If you would like to pick something from Microsoft, or... Read More
MicroWorld Technologies, Inc. the leading solutions provider in the area... Read More
It won't matter how effective your WinRunner Team is if... Read More
After almost two decades of existence, Quark has become the... Read More
This article is the third of a series of articles... Read More
With thousands of web pages added to the Net every... Read More
maid service near Winnetka .."Pfishing", sometimes spelled "Phishing", is a word that's used to... Read More
In order to implement VLANs in a network environment, you'll... Read More
TCO (Total Cost Ownership) is the buzzword in... Read More
Vince Lombardi once said that, "The achievements of an organization... Read More
Ad-Aware and Spybot are probably the two most well known... Read More
Need help making sense of algebra? Have algebra lectures in... Read More
Microsoft Business Solutions CRM is web-based CRM application, deploying all... Read More
Almost all new and major brand of PCs come with... Read More
Beginning with Domino version R4 it has integration with the... Read More
This is the tutorial where we really get into programming.... Read More
IntroductionDuring the early years of our modern computer era, very... Read More
Anyone who has ever used Microsoft Word knows that it... Read More
Whether you need to close a sale, gather end-user feedback,... Read More
The intuitive algorithm.Roger Penrose considered it impossible. Thinking could never... Read More
Customer Relationship Management (CRM) is a strategy and processes used... Read More
XML parser is a software module to read documents and... Read More
Microsoft Great Plains ? ERM from Microsoft Business Solutions and... Read More
All your software is stored on a hard-drive. But how... Read More
Most computer users use spreadsheets software such as Microsoft Excel... Read More
Microsoft Business Solutions Great Plains has Project Accounting module where... Read More
Every organization which creates collaborative documents, whether they are budgets,... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
I love new technology. I am still ready to wait... Read More
Adware is a type of Spyware program that displays some... Read More
In part III of this ISDN primer, we learned that... Read More
Software |