Generate your Test Data easily using MS Word !!! Lorem Ipsum Lorem Ipsum ….

As as developer we often need to generate dummy data to in forms for various purposes like test the fields sizes etc.
Most of Testers uses most common (and favorite) Lorem Ipsum text.
To generate it there are utilities available on net which generates Lorem Ipsum text as per required text.

But very few know instead of using third party tools, MS provides built in functionality in MS Word 2007.

Two ways in MS Word you can generate this random texts.

First way is

in which
x = Number of paragraphs
y = Number of lines in each paragraph.

where x,y parameters are optional. so if you omit both its total random
using =rand generates localized sample text (localized means the sample text appears in language according to Microsoft Word localization) which more looks like it’s generated from some help file of Word.

Second way is

in which again
x = Number of paragraphs
y = Number of lines in each paragraph.

and both are optional.
This will generate our famous Lorem Ipsum ….. dummy text. This is not localized text although.

Note :
If any of this functions not works in your MS Word 2007, it means you have turned off “Replace Text as you Type” option located at Word Options > Proofing option (on the left pane) > AutoCorrect Tab.
Just turn it on and it will start working.

Enjoy …..

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna.


1 Comment

  1. February 28, 2012 at 3:27 PM

    […] first I applied the simple logic using MS Word Lorem Macro trick. wooo I created 14000 pages but file size was just 3 MB. What !!! […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: