Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

monkey testing software for windows apps

I would like to stress test a win32 application by sending a lot of random keystrokes to it, and I wonder if anyone could point me to some software I could use. Ideally, I should be able to specify which keystrokes can be sent, and control rate (random min/max).

like image 641
Drealmer Avatar asked Oct 27 '08 10:10

Drealmer


People also ask

What is monkey testing in software testing with example?

Definition: Monkey testing is a type of software testing in which a software or application is tested using random inputs with the sole purpose of trying and breaking the system. There are no rules in this type of testing. It completely works on the tester's mood or gut feeling and experience.

What is difference between monkey testing and gorilla testing?

Gorilla Testing is similar to monkey testing, the only difference being that it tests particular modules, whereas monkey testing tests the system as a whole. Each module in a product is picked and random valid and invalid inputs are fed into it until the module crashes.

What is difference between ad hoc testing and monkey testing?

Ad Hoc Testing is an informal and random style of testing performed by testers who are well aware of the functioning of software. It is also referred to as Random Testing or Monkey Testing. Tester may refer existing test cases and pick some randomly to test the application.


3 Answers

Have a look at the Fuzz Testing of Application Reliability website of the University of Wisconsin. They did a research study some years ago to test the reliability of desktop software and on that page you find a link to their FTP site providing fuzz testing tools.

I've used the fuzz-nt tool from that site for my own tests and successfully found several bugs in our application. It has no option to choose the keyboard input values (but source is provided). Instead it lets you choose from these sources of random data:

  • random keyboard events
  • random mouse events
  • random windows events (to be used with care or better not at all)
like image 148
Bananeweizen Avatar answered Oct 16 '22 16:10

Bananeweizen


Have a look at AutoIt. It has a COM interface, so you can script it from any language that supports COM. I've written Python scripts to automate GUIs.

like image 4
jrb Avatar answered Oct 16 '22 14:10

jrb


I would use a macro software, like AutoIt, as jrbushell said, or AutoHotkey. They also allow random clicks... :-) Both are free.

like image 1
PhiLho Avatar answered Oct 16 '22 15:10

PhiLho