ComputerHunter.org

 

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







Google News - Top Stories

ITV.com

Obama eyes economy, his own challenges
USA Today - 2 hours ago
By Todd Plitt, USA TODAY By Kathy Kiely, USA TODAY CHESTER, Va. - Barack Obama, whose oratory and opposition to the war in Iraq helped propel him to the Democratic presidential nomination, said Thursday he's preparing for an election that he believes ...
Obama 7 up on McCain in state Detroit Free Press
Loserville - Obama moves right San Francisco Chronicle
FOXNews - Washington Post - Los Angeles Times - Flathead Beacon
all 2,013 news articles


Times Online

Death Toll From Pakistan Arms Plant Suicide Attack Rises to 70
Bloomberg - 33 minutes ago
By Khalid Qayum and Michael Heath Aug. 22 (Bloomberg) -- The death toll from an attack by two Pakistani suicide bombers at an armaments plant near the capital, Islamabad, climbed to 70 people, police said.
Video: Pakistan arms depot hit by double suicide attack - 21 Aug 08 AlJazeeraEnglish
Bombers kill 60 in Pakistan factory attack Financial Times
guardian.co.uk - Kansas City Star - New York Times - New York Sun
all 1,560 news articles


Seattle Post Intelligencer

Two McCain offices evacuated after letter threat
Reuters - 3 hours ago
By Keith Coffman DENVER (Reuters) - Two offices of John McCain's US presidential campaign, in Colorado and New Hampshire, were evacuated on Thursday, and several staffers were hospitalized, after threatening or suspicious envelopes arrived in the mail, ...
McCain offices receive threatening letters, campaign says CNN
Officials: Threat sent to McCain Colorado office The Associated Press
New York Sun - My Fox Colorado.com - AFP - Monsters and Critics.com
all 592 news articles


ABC News

Relatives seek to identify Spain crash victims
Reuters - 1 hour ago
By Martin Roberts MADRID (Reuters) - Grieving relatives on Thursday tried to identify charred bodies from the wreckage of a Spanish jet which crashed at Madrid airport on its second attempt at takeoff after mechanical problems.
Video: Spain Mourns Victims of Crash AssociatedPress
Spanish plane that crashed had overheated gauge International Herald Tribune
Xinhua - The Associated Press - Financial Times - AFP
all 3,952 news articles


BBC News

US getting aid to Georgia but not to South Ossetia
CNN - 1 hour ago
WASHINGTON (CNN) -- The United States has sent 25 planeloads of humanitarian assistance to Georgia even as aid experts try to determine the full extent of the crisis.
Russians dig in but still promise Georgia pullout The Associated Press
Russians set withdraw troops from Georgia AFP
BBC News - Bloomberg - Reuters UK - Washington Post
all 5,588 news articles

Google
 

Copyright © 2006 Computer Hunter - A Division of Arthur´s Job Base