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
If you want to keep track of further articles on UFT (QTP). I recommend you to subscribe by email below and have new UFT articles sent directly to your inbox.
pallavi bm says
Thank you very much for sharing this information.. it really makes our work easy… 🙂
Ankur Jain says
@Pallavi: Glad it helped you!
Shalini Chaudhuri says
Will it work on outlook email,ppt?
Ankur Jain says
@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.
Sudhansu says
This is really cool. Specially with the frequently used comments/questions/everything. This would help me save time.
Ankur Jain says
@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.
zini says
fantastic idea. I will try this. 🙂
soumya says
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!
Rahul says
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….
Fahim Aslam says
thnx, this tool really helps in saving one’s time
sashidhar says
Thank you Ankur!
Very useful. I am writing batch file for opening urls and folders. I will use this for auto text.
Anish Pillai says
Very nice tool Ankur. Thanks for sharing this.
Aravind says
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
Anand Kumar Y says
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…
Deepthi says
Thanks ankur.Verymuch useful tool.Do share some more information abt this tool ,if any.
Aravind says
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
Ankur says
@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.
chanchal says
Ankur, kindly suggest me for multiple tabs functionality as only first url is getting opened…..
Archana says
Extraordinary tool to reduce time and effort on doing same stuff.. Thanks Ankur…Do share more valuable inputs in future also…..
mrudula says
nice ankur, super……
chanchal says
Its too good. I am not able to validate mutiple tabs functionality in browser IE8. Only ist URL is getting opened. Kindly suggest.
Dileep says
Outstanding Ankur..
pranith says
thank you very much ankur for sharing such nice tool which our work going to less by using this tool
Vivek Mishra says
Thanks Ankur for sharing this..This is really very good tool for our daily use purpose in office .
rajani says
good one to reduce our time spending on repetitive work
thank u ankur
hemant says
This is a wonderful application which makes life easy. Thanks for sharing!!!
roopa says
wow.. nice one.. very informative..