Advantages and Guidelines of Automated Testing


"Automated Testing" is automating the manual testing process currently in use. This requires that a formalized "manual testing process", currently exists in the company or organization.

Automation is the use of strategies, tools and artifacts that augment or reduce the need of manual or human involvement or interaction in unskilled, repetitive or redundant tasks.

Minimally, such a process includes:

Detailed test cases, including predictable "expected results", which have been developed from Business Functional Specifications and Design documentation

A standalone Test Environment, including a Test Database that is restorable to a known constant, such that the test cases are able to be repeated each time there are modifications made to the application.

The following types of testing can be automated

Functional - testing that operations perform as expected.

Regression - testing that the behavior of the system has not changed.

Exception or Negative - forcing error conditions in the system.

Stress - determining the absolute capacities of the application and operational infrastructure.

Performance - providing assurance that the performance of the system will be adequate for both batch runs and online transactions in relation to business projections and requirements.

Load - determining the points at which the capacity and performance of the system become degraded to the situation that hardware or software upgrades would be required.

Benefits of Automated Testing

Reliable: Tests perform precisely the same operations each time they are run, thereby eliminating human error

Repeatable: You can test how the software reacts under repeated execution of the same operations.

Programmable: You can program sophisticated tests that bring out hidden information from the application.

Comprehensive: You can build a suite of tests that covers every feature in your application.

Reusable: You can reuse tests on different versions of an application, even if the user interface changes.

Better Quality Software: Because you can run more tests in less time with fewer resources

Fast: Automated Tools run tests significantly faster than human users.

Cost Reduction: As the number of resources for regression test are reduced.

Choosing the right tools for the job and targeting the right areas of the organization to deploy them can only realize these benefits. The right areas where the automation fit must be chosen.

The following areas must be automated first

1. Highly redundant tasks or scenarios

2. Repetitive tasks that are boring or tend to cause human error

3. Well-developed and well-understood use cases or scenarios first

4. Relatively stable areas of the application over volatile ones must be automated.

Automated testers must follow the following guidelines to get the benefits of automation:

? Concise: As simple as possible and no simpler.

? Self-Checking: Test reports its own results; needs no human interpretation.

? Repeatable: Test can be run many times in a row without human intervention.

? Robust: Test produces same result now and forever. Tests are not affected by changes in the external environment.

? Sufficient: Tests verify all the requirements of the software being tested.

? Necessary: Everything in each test contributes to the specification of desired behavior.

? Clear: Every statement is easy to understand.

? Efficient: Tests run in a reasonable amount of time.

? Specific: Each test failure points to a specific piece of broken functionality; unit test failures provide "defect triangulation".

? Independent: Each test can be run by itself or in a suite with an arbitrary set of other tests in any order.

? Maintainable: Tests should be easy to understand and modify and extend.

? Traceable: To and from the code it tests and to and from the requirements.

For more visualization of this article and free training tutorials on Testing: http://www.exforsys.com/content/category/17/259/340/

Exforsys offers free training and career help specializing in C, C++, C#, Java, J2EE, .NET, PeopleSoft, SAP, Siebel, Oracle Apps, Data warehousing, Oracle/SQL Server/DB2 and Testing. Please visit http://www.exforsys.com for more Training Tutorials, for IT Interview questions visit http://www.geekinterview.com, for articles and resources visit http://www.itquestionbank.com







Related News



Gridiron: Gridiron nation shows no mercy - UW Badger Herald

Washington Post

Gridiron: Gridiron nation shows no mercy
UW Badger Herald, WI -Dec 3, 2008
He also led the Longhorns to victory over three top 10 opponents before falling to Texas Tech on a last-second pass. While rival quarterback Sam Bradford ...
Behind the scenes of the Bowl Championship SeriesBaylor University The Lariat Online
This computer and pollster give OU the nod over TexasSportingNews.com
LIKE IT IS : Big 12 foolish to let BCS standings break tieArkansas Democrat Gazette
Dallas Morning News - Denver Post
all 2,281 news articles


Personal Tech: Digital cameras go big on video - Salt Lake Tribune

Personal Tech: Digital cameras go big on video
Salt Lake Tribune, United States -Nov 24, 2008
By Ron Harris AP Writer The holiday season brings good tidings for shutterbugs. Whether you're shopping for someone new to digital cameras or a seasoned ...

Washington Post Personal Technology Columnist - Washington Post

Washington Post Personal Technology Columnist
Washington Post, United States -11 hours ago
4 at 2 pm ET to discuss recent reviews, answer your personal tech questions and provide gadget advice for this holiday season. Read Rob's latest tech tips ...

Can Clean Tech Beget ... - InternetNews.com

Can Clean Tech Beget ...
InternetNews.com -20 hours ago
"We found new ways to use personal computers and solve things." Now, he adds, the demand for energy is more, not less. Deninger, speaking at the AlwaysOn ...

Personal Tech: Army to use video games for training - Salt Lake Tribune

Personal Tech: Army to use video games for training
Salt Lake Tribune, United States -Dec 1, 2008
It will watch trends in commercial video games and look for technologies that can be used in training -- but it does not plan to compete with the industry. ...

AMD lowers revenue target, cites weak demand - MarketWatch

SlashGear

AMD lowers revenue target, cites weak demand
MarketWatch -9 hours ago
... said AMD's move highlights the softening tech market, particularly for PCs. Intel and AMD are the top makers of microprocessors for personal computers. ...
Three local tech companies lower earnings forecastsAustin American-Statesman
AMD Warns of a Revenue ShortfallBusinessWeek
all 205 news articles

Cancer-stricken swimmer on comeback trail - International Herald Tribune

Cancer-stricken swimmer on comeback trail
International Herald Tribune, France -5 hours ago
Shanteau finished second to Olympic gold medalist Ryan Lochte in the 200-yard individual medley, beating his personal best when he touched in 1 minute, ...

First Western Trust Bank Opens New Office in Denver Tech Center - MarketWatch

First Western Trust Bank Opens New Office in Denver Tech Center
MarketWatch -14 hours ago
First Western's new location, at 5460 South Quebec Street, Suite 200, is a full-service office, providing private banking, investment management, personal...

10 Things You Can Do to Give Your Computer a "Makeover" - MarketWatch

10 Things You Can Do to Give Your Computer a "Makeover"
MarketWatch -Dec 2, 2008
This according to BluePhone ( www.bluephone.com), the personal tech support hotline and "At Home Help Desk" that helps consumers get maximum value out of ...

Padlock your personal data - PSU Collegio (subscription)

Padlock your personal data
PSU Collegio (subscription), KS -9 hours ago
Low-tech scams include mail theft, dumpster diving, rummaging through rubbish containing personal information, solicitation and shoulder surfing, ...