Page 144 - SOFTWARE TESTING & QUALITY ASSURANCE
P. 144
Unit 9: Automation Testing
more practical than any other alternative method. The coverage measures allow an individual to
understand the problems of a selected algorithm for random testing, and hence provide opportunities
for future improvement.
TestIT! (from TdgTeam) is a powerful testing tool that generates great quantity
of random but real-life data.
When testers perform random testing, they must ensure that the tests are adequately
random.
9.2.1 Gorilla Testing
Gorilla Testing is a testing technique used to verify defensive programming. Defensive programming
refers to a programming method wherein the incorrect inputs that are expected to be given by the user
are predicted, and thus the program is designed to put up with such inputs. Gorilla testing is highly
recommended for testing of gaming software.
Assume that a game is given to a small child who is unaware of how to play the
game. The child would press the keys arbitrarily; that is, incorrect input is
given. In such cases, the software must respond properly. Hence, gorilla testing
is used.
It is utilized to check user interfaces in application software for people who are unaware of software
products and their usage. Gorilla testing is an easy testing process. The tester has to merely press the
keys and check if the software succeeds. In case, an incorrect input is given, then a dialog box appears
on the screen. If the error message does not appear on the screen, then the error handling routines have
to be improved. But if the system hangs, then it is a major defect that needs to be rectified.
Did you know? Justin Forrester and Barton Miller of University of Wisconsin developed a random
testing tool named Fuzz. This tool has the capacity to send valid and invalid Win32
messages or random valid and invalid keyboard and mouse events to a Windows
application to carry out Gorilla testing on the application. If the installed software is
reliable, the system would not hang or crash. However, it was found that Access 2000,
PowerPoint 2000 and Word 2000 failed this test!
9.2.2 Monkey Testing
Monkey testing is yet another type of random testing technique. It is used with a fully automated
testing tool. Whenever this testing is performed, it executes mouse clicks on the screen or keystrokes on
the keyboard randomly. The monkey testing technique comes under the category of black-box testing.
Following are the different types of monkey testing techniques:
1. Dumb Monkey Testing: Dumb monkey testing is the initial and the lowest level of testing service.
This technique can be run by anyone who has limited or no knowledge of testing. This simply
means that the testing process is not pre planned. Following are the services provided by the
dumb monkey software testing:
(a) It estimates the required time and staff for testing.
(b) It does not require pre- planning of the test process and acceptance criteria.
(c) It executes tests by clicking through an application or software.
(d) It provides quick results.
LOVELY PROFESSIONAL UNIVERSITY 137