This article is not really related to QTP but if you’re someone who has to spend long hours on computer (which I’m sure you do), watch the video below on how I try to automate any repetitive work.
Not sure whether automation using QTP has hit my nervous system, I try to automate ANY computer based task that I feel would need to be done more than twice. The task could be writing a similar email, retrieving values from a web page and more.
In the video below I am going to show you a free tool. Once you watch the video, don’t forget to download the free template I have created for you. (Click below to watch the video.)

Now follow these steps to install this free tool -
- Download and install the latest version of AutoHotKey
- Download my AutoHotKey template (Right Click and Save As…)
- Right click on this file and select “Run Script”. Type lqtp on a notepad, if that expands to http://www.learnqtp.com/ then the tool is installed properly.
- Now you can customize the template in your editor of choice (notepad, wordpad, notepad++ etc). (Tip: The special character # in AutoHotKey script means that you need to press the windows key on your keyboard.)
- To launch the script automatically every time you start your PC,
- Select the script(template) file, and press Control-C.
- Right-click the Start button (typically at the lower left corner of the screen) and choose “Explore All Users”.
- Navigate to the Startup folder inside the Programs folder.
- From the menu bar, choose Edit -> Paste Shortcut. The shortcut to the script should now be in the Startup folder.
Please leave your comments below and let me know how you intend to use this tool. Enjoy!



20 comments ↓
wow.. nice one.. very informative..
This is a wonderful application which makes life easy. Thanks for sharing!!!
good one to reduce our time spending on repetitive work
thank u ankur
Thanks Ankur for sharing this..This is really very good tool for our daily use purpose in office .
thank you very much ankur for sharing such nice tool which our work going to less by using this tool
Outstanding Ankur..
Its too good. I am not able to validate mutiple tabs functionality in browser IE8. Only ist URL is getting opened. Kindly suggest.
nice ankur, super……
Extraordinary tool to reduce time and effort on doing same stuff.. Thanks Ankur…Do share more valuable inputs in future also…..
Ankur, kindly suggest me for multiple tabs functionality as only first url is getting opened…..
This is a very handy tool but use it with caution as per Norton. See here what Norton/Symantec has to say about this tool – http://safeweb.norton.com/report/show?url=autohotkey.net
Thanks ankur.Verymuch useful tool.Do share some more information abt this tool ,if any.
@Chanchal: You can check with AutoHotKey documentation for IE.
@Aravind: AutoHotKey is quite a renowned tool. There may be false positives from some anti-virus companies.
As a automation tester nice to see this kind of techniques…gud work and thought to spread the knowledge that u r aware of is nice…
Ankur, Yes it could be a false positive from Norton, while McAfee’s SiteAdvisor considers it safe (Green). http://www.siteadvisor.com/sites/autohotkey.com
Very nice tool Ankur. Thanks for sharing this.
Thank you Ankur!
Very useful. I am writing batch file for opening urls and folders. I will use this for auto text.
thnx, this tool really helps in saving one’s time
This is a great tool Ankur.
I intend to use it on every opportunity , like writing mail
replying to mails ,
opening favorite web sites etc….
Thanks Ankur! Its a really interesting and useful info in day to day activities….
I would love something like this to do the job for me!
Leave a Comment