Search:
NewArticleDaily your source of new articles posted everyday

Home | Computers | Software

Automated Program Tests with a fine autoclicker.

By: Denis Safonov

Even if your software doesn't have many control units (buttons, menu items, settings), it's not a light task to test them all after each new version. Sometimes, a developer pays no attention to this business, because he worked at new functions and didn't modify the old ones, and they are supposed to work properly. This may result in new releases with invalid main functions.

In the article you can see how to produce software testing with the fine autoclicker. You should only replay the tasks you need to see that your program functions well or to detect every bug rapidly.

In this article AutoClickExtreme autoclicker will produce testing of Backup Expert (an extremely popular backup software). We'll test the prime program function - back up of a certain folder with size verifying of the resulting archive.

To make the experiment unmistakable, we shall pack one and the same folder - "D:\automated software testing\backup expert\test folder". The first thing, we'll place the folder in the archive, and right before each test we'll move away the folder "D:\automated software testing\backup expert\test folder" and bring back it from the archive. All the things shouldn't be done manually, but with the help of an ordinary *bat file. We'll give it the name "start testing.bat".

rmdir /Q /S "D:\automated software testing\backup expert\test folder"
mkdir "D:\automated software testing\backup expert\test folder"
xcopy /S "D:\automated software testing\backup expert\arch\test folder" "D:\automated software testing\backup expert\test folder\"
start C:\"Program Files"\"Backup Expert"\BackupExpert.exe

In the Test folder we can see nearly 100 files situated in the root folder and in it's subfolders. The whole size is 5 529 784 bytes. This size is to be found in the packed folder properties (unpacked size).

Now everything is organized for the autoclicker work. This software should press Record and right after that we stop it with pressing Shift twice to insert our *bat file (it is to restore the original test folder). Afterwards we agree to run the application.

Afterwards, in the autoclicker software we should press "Continue Record" and, by means of Pixel Conrol alone, we record our clicks on Backup Expert (we must do all actions suggested by the wizard to direct the program what and how to pack). Straight after creating the job "Automated software testing", using Pixel Control we are to record the task to lauch packing. In autoclicker table of events you should trace Pixel Control parts.

The last 3 events are colored blue, for they were added after the root Record had been made. All of the three events are highly purposeful: event 45 - made to wait the moment the packing is accomplished by detecting the message: "Status: Successful", event 46 - to launch the resulting archive, action 47 - must control the size. It should be equal to 5 529 784 bytes, for the test folder is always restored and it's size is to be the same.

Your first test is ready to use. The estimated time to get done the Record is 20 minutes with all pauses for thinking. I needed 30 minutes more to perform "start testing.bat" file, cause I had to look for a number of the functions in Google. And I needed 10 minutes more to make ready the test folder. All in all , the first test can be done in an hour, this is not very swift, at first glance, but now it takes only 17 seconds to make automated software testing of the prime function with the autoclicker. Yet all the next following tests are sure take by far less time. One can also create a Record for changing and packing of the optional files placed in the test folder using the option "backup type = Differential (new and modified since last full backup)" + 100% result control. You can control packing of the most exotic cases. It's true that, AutoClickExtreme autoclicker will not completely substitute for alive (thoughtful) software testing, h!
owever it is able to be your safe assistant.

Article Source: http://www.newarticledaily.com

Denis Safonov, the autoclicker developer. www.autoclickextreme.com

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive Software Articles Via RSS!


© 2008 New Article Daily. All Rights Reserved.
Use of our service is protected by our Privacy Policy and Terms of Service

Powered by Article Dashboard