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:
- Go to http://www.autoitscript.com/autoit3/downloads.shtml and download the zip file.
- Extract the file and traverse to the Install -> AutoItX folder.
- Copy the AutoItX3.dll file to the following path Windows Drive:\WINDOWS\system32 folder.
- Now register the dll by typing "regsvr32 AutoItX3.dll" in the cmd and look for the message "Registration succeeded"
Set oAutoIt = CreateObject("AutoItX3.Control")