QTP and AutoIt - A deadly combination!

From the last post about creating COM objects , here is another solution that can help you create AutoIt objects within QTP:
  1. Go to http://www.autoitscript.com/autoit3/downloads.shtml and download the zip file.
  2. Extract the file and traverse to the Install -> AutoItX folder.
  3. Copy the AutoItX3.dll file to the following path Windows Drive:\WINDOWS\system32 folder.
  4. Now register the dll by typing "regsvr32 AutoItX3.dll" in the cmd and look for the message "Registration succeeded"
  5. Set oAutoIt = CreateObject("AutoItX3.Control") 
That's how easy it is to start using AutoIt from within QTP.

No comments:

Post a Comment