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 –

  1. Download and install the latest version of AutoHotKey
  2. Download my AutoHotKey template (Right Click and Save As…)
  3. 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.
  4. 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.)
  5. To launch the script automatically every time you start your PC,
    1. Select the script(template) file, and press Control-C.
    2. 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.]
    3. 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