I tried to connect to SA Api from Quick Test Professional. But it ran into an error and displays "ActiveX-Component cannot create an Object: "SAClient80MP.SAapi".
Can anybody help me?
I tried to connect to SA Api from Quick Test Professional. But it ran into an error and displays "ActiveX-Component cannot create an Object: "SAClient80MP.SAapi".
Can anybody help me?
When calling CreateObject
from QTP you get VBScript's native CreateObject, this means that your question is VBScript/COM and doesn't really have to do with QTP.
To verify that I'm correct you can place the CreateObject
line in a .vbs
file and try to run it.
The way COM works is that it looks for a key with the same name as the progid in the registry (under HKEY_CLASSES_ROOT
) so in this example you should look for HKEY_CLASSES_ROOT\SAClient80MP.SAapi
.
For information on how to trouble shoot this see my answer to this similar question.