Earthweb
Images Events Jobs Premium Services Media Kit Network Map E-mail Offers Vendor Solutions Webcasts
 SUBJECTS:
 FEATURES:
IT Management Webcasts:
The Role of Security in IT Service Management

Preparing for an IT Audit

More Webcasts


Search EarthWeb Network

internet.commerce
Be a Commerce Partner
Remote Online Backup
Find Software
Prepaid Phone Card
Best Price
Web Hosting Directory
Corporate Gifts
Promote Your Website
PDA Phones & Cases
Build a Server Rack
Shop
Disney World Tickets
Imprinted Promotions
Promotional Golf
Baby Photo Contest

Linked Data Planet Conference & Expo

IT Management : Columns: Coming of Age: Test Automation Grows Up

Heroes Happen Here Launch Events
Attend the upcoming launch of three powerful new products, take a test drive, meet the teams, and leave with promotional copies of Windows Server 2008, Microsoft SQL Server 2008, and Microsoft Visual Studio 2008. Register here. »

 
Install What You Need with Windows Server 2008
Windows Server 2008 is Microsoft's most full-featured server operating system yet, so it's ironic that one of its most exciting new features is an install option that cuts out most of the other features. Paul Rubens explores why a Server Core installation makes a great deal of sense in many instances. »

 
Simplify Big Business IT for Small and Midsize Companies
Windows Small Business Server 2008 and Windows Essential Business Server 2008 deliver all-in-one solutions to help fuel growth for customers and partners. »

 
Q&A with Bob Muglia: Senior VP, Server and Tools Division
Bob Muglia, senior vice president, Server and Tools Division, discusses Microsoft's new interoperability principles and the steps the company is taking to increase the openness of its products. »

 
Q&A with Lutz Ziob, GM of Microsoft Learning
Lutz Ziob, the general manager of Microsoft Learning, talks about how IT professionals can become certified heroes within their enterprises by getting trained and certified in Windows Server 2008. »

- ITSMWatch Newsletter -
Tech Focus: Security

Cybersecurity: Laws Only Go So Far

Mozilla Firefox vs. Internet Explorer: Which is Safer?

Is Your Blog Leaking Trade Secrets?

The Las Vegas Counterfeiting Story: Is Your Privacy Worth More Than a Poker Chip?

Stopping Spammers at The Point of Sale

Product Watch
IOGEAR KVM - Includes Audio/Peripheral Sharing
Coverity Prevent / Coverity Thread Analyzer - Analyze Source Code For Defects, Security Vulnerabilities
USSD Series - SDRAM-Based Solid State Drives to 256 GB
UltraSMS - Send SMS From Your PC
Sentinel Sensors - Wi-Fi Based Temperature Monitoring Especially For Cold Storage

more products >>

Datamation Definitions
data mining
ERP
extranet
grid computing
intranet
network appliance
outsourcing
storage
VPN
virus
FREE Tech Newsletters

Verisign Whitepaper: Maximizing Site Visitor Trust Using Extended Validation SSL. Increase confidence on your site and see more conversions. Learn how by downloading this whitepaper.

Coming of Age: Test Automation Grows Up
January 26, 2005
By Linda G. Hayes

Everyone wants test automation. As applications become more complex and pose greater risks, testing costs more and takes longer. With time to market the new mantra and budget constraints a fact of life, automating the testing process is the holy grail. No surprise there.

But what is surprising is the amount of test automation that isn't happening. With almost a billion and a half spent on software quality tools each year, you would expect the majority of testing to be fully automated. But while there have been strides in automating stress tests -- which is logical, since manually creating large traffic volumes is not practical -- functional testing is automated less than 10% of the time. What gives?

The fact is that test automation technology has changed radically over the past 20 years, but most companies have failed to keep pace. To understand why your tests are probably not automated yet, it helps to understand how we got here. As someone who has been in the industry since the PC came out, I can give you a first-hand tour.

Infancy: Capture/Playback

At first test tools were small and kind of cute. They provided functionality called capture/playback, which in a nutshell recorded manual tests in the form of keystrokes and screens and then simply replayed them, looking for differences. Easy and quick.

Looking back now, what were we thinking? Trying to automate tests this way is like trying to record your drive to work so you can play it back the next day while you read the paper. Sure you can capture the steering wheel, gas and brake pedals, but when you play it back there is no guarantee the light will still be green or there won't be a car in the lane when you move over. A wreck is inevitable.

Many companies who enthusiastically bought these tools and recorded thousands of scripts were dismayed to find themselves trying to debug miles of incomprehensible keystrokes, trying to understand what went wrong, where and why. Most gave up and went back to testing manually because it took less time. Ironic.

Adolescence: Scripting

As a test-tool vendor, we realized we were causing wrecks so we scrambled to add new commands to allow testers to make decisions, branch, loop and generally control the flow of the playback. Using our car analogy, we allowed logic that specified if the light was green to step on the gas, if red to step on the brake, and if yellow to measure the distance and decide which pedal to push.

And while these new features solved the old problems, they added new ones. Most testers aren't programmers, so these new commands were foreign to them and required skills they did not have. They either hacked their way through it, creating yet more miles of poorly structured code, or they called in the militia in the form of contract programmers or additional technical resources -- who created even more miles of uniquely structured code.

In either case, companies woke up after scripting frenzies with a hangover known as maintenance. Coding every test case can yield more code than the application being tested, and every time the software changed all the tests had to be updated. Again, many gave up and went back to manual testing, because now automation not only took more time than ever, it took more expensive resources than before.

Teen Years: Frameworks

Automation groups who lived through several projects and releases came to realize that they had to develop reusable libraries that non-technical testers could use and were easier to maintain, and frameworks were born. Frameworks are essentially libraries of components to perform standard testing tasks that can be assembled into test cases by those who arent necessarily programmers. Of course this made perfect sense in many ways -- dividing the task between automation skill and application knowledge -- but it still required a long term development and maintenance project. It is not uncommon for a company to invest half a million or more -- annually -- to develop and maintain an automation library. Ouch.

Adulthood: Commercial Applications

After several years and millions upon millions of dollars were spent on custom, internally developed frameworks, a new-class commercially supported automation frameworks emerged. These new solutions are more like applications instead of do-it-yourself languages, and they are developed and supported by vendors.

Just as many companies finally quit developing their own accounting applications and started buying them because it was cheaper than building their own, so are companies looking for test automation starting to realize that test automation is becoming a commodity. There is no need to craft totally custom frameworks and scripts: all that is unique to each application are the test cases, not the mechanics of how they are executed.

Maturity: Growing Up

What's interesting about this sojourn is that there are still, to this day, companies that are looking for capture/playback tools and believe that that is how automation is done. There are also companies who still have contractors busily writing tens of thousands of lines of test code, or who are spending hundreds of thousands on their own special framework.

Again, no surprise. The force of habit is powerful. It took decades before some companies gave up their own general ledger programs and converted to cheaper, more powerful commercial products. It is a fact of life that old habits die hard and not all decisions are made for truly economic-only reasons.

But the key is this: just because you have done something before or are still doing it, does not mean you should do it again or keep doing it. If you have been doing automation for a long time, maybe it's time to stop, step back and start over. Sometimes a fresh start is in fact a quantum leap.

Tools:
Add itmanagement.earthweb.com to your favorites
Add itmanagement.earthweb.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

Columns Archives



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES