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 on the full screen button to watch the video in full size.)
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 https://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.
- On Windows 10/11, go to
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
[On earlier versions of Windows – 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.] - Right click -> 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!
Additional Reading: 11 Awesome Tools That Will Make You A Productivity Ninja
Thank you very much for sharing this information.. it really makes our work easy… 🙂
@Pallavi: Glad it helped you!
Will it work on outlook email,ppt?
@Shalini: Yes, it installs as a Windows application. So it will work across your system; whether it is a browser, word, outlook, ppt, excel, UFT IDE etc.
This is really cool. Specially with the frequently used comments/questions/everything. This would help me save time.
@Sudhansu: Yes, what we have shown is just the tip of an iceberg. You can do a lot of things with AutoHotKey. Check their site and forums.
fantastic idea. I will try this. 🙂
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!
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….
thnx, this tool really helps in saving one’s time
Thank you Ankur!
Very useful. I am writing batch file for opening urls and folders. I will use this for auto text.
Very nice tool Ankur. Thanks for sharing this.
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
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…
Thanks ankur.Verymuch useful tool.Do share some more information abt this tool ,if any.
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
@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.
Ankur, kindly suggest me for multiple tabs functionality as only first url is getting opened…..
Extraordinary tool to reduce time and effort on doing same stuff.. Thanks Ankur…Do share more valuable inputs in future also…..
nice ankur, super……
Its too good. I am not able to validate mutiple tabs functionality in browser IE8. Only ist URL is getting opened. Kindly suggest.
Outstanding Ankur..
thank you very much ankur for sharing such nice tool which our work going to less by using this tool
Thanks Ankur for sharing this..This is really very good tool for our daily use purpose in office .
good one to reduce our time spending on repetitive work
thank u ankur
This is a wonderful application which makes life easy. Thanks for sharing!!!
wow.. nice one.. very informative..