Showing posts with label Download files of different sizes. Show all posts
Showing posts with label Download files of different sizes. Show all posts

In early 2007, when I was testing an Installation Product, I use to prepare files of different sizes manually which used to kill half of my time.At that time we do not know about any free tools to generate files. Even after preparing those files and performing testing at the end of the day we used to delete them to reduce memory problems. This is a repeating manual mundane task that one has to perform before he/she knows about “Size Based File Generator” in Testersdesk.com.

I will also show how this tool works. Please follow the below steps and refer the screen shots provided for more details:

Step 1: Do register (I assure you that it is worth It.) and log on to http://www.testersdesk.com/

Step 2: Click on the Tab “Test Data Generation Toolkit – to generate test inputs” which will be as shown below:



Step 3:
Now you will see a set of test data generation tools in different boxes. Click on the box “Size Based File Generator”. Now you will see the tool opening with tool information in the right side of the page which will be as shown below:



Step 4: You will see three fields in this screen, one to provide the required file size, one to select the measurement unit (KB, MB or GB) of the file and the other to select the type of file (Mixed data, numeric, alphabets, Alphanumeric, Special Characters, Binary) i.e., one can select what type of data should be there in the generated file.


Step 5:Let us take a sample example to generate a file of size 2 MB, with alphanumeric data. Fill the fields as below:

  • Please provide the file size as a rounded integer: provide 2 as input
  • Please select a unit of measurement: Select MB from the drop down.
  • What type of data should be inserted into the generated file? : Select “Alphanumeric” from the drop down.which will be as shown below:



Step 6:
Click on “Download Windows Batch-file” button.


Step 7: After clicking on the button “Download Windows Batch-file”, you will see a “batch file” downloading on your machine. Save that “Batch file” anywhere on your machine, for example save it on your Desktop.


Step 8: Now you will see a batch file “SaveAndRunThis_Alphanumeric2MB(2)” saved on your desktop.


Step 9: Double click on that batch file saved on your desktop to create a 2 MB, Alphanumeric file on your desktop. You can open the 2 MB file created and see that it consists of alphanumeric data. The batch file created is very small in size when compared with the file created. The main advantage here is that you can delete the file created after using it and save the batch file so that you can create the file whenever you need it. Please see below image for more details:



Do explore the other tools as well at http://www.testersdesk.com/
which are useful in the areas of test design and test data preparation.