ActiveX component can’t create object: ‘Mercury.ObjectRepositoryUtil’ – User friendly Tech help
Recently we got this error while running our .vbs file, external to UFT.
n
It is a common error that one can encounter while working with .VBS files.
n
Let us focus on the possible solution for the same.
n
Please feel free to share your experience on the same.As always their are 100 of solutions for a problem, and you never know that you are holding the best solution 🙂
n
Machine Details :- 64 Bit
n
Problem :- Microsoft VBScript runtime error (800A01AD)
n
ActiveX Error Message |
n
Solution :-
n
1.Get the path of Your .vbs file having the “ObjectRepositoryUtil” code
n
2.Open CMD prompt
n
3.Copy paste the following code of line,
n
%SystemRoot%SysWow64cscript
n
4. Add the File path to this, so our code of line will be
n
%SystemRoot%SysWow64cscript “File Path of .vbs”
n
5.Press Enter and we are done.Our script executes with following messages
n
Command Prompt |