Adding Library using AOM+Error message as 'Invalid number'
I have following code in vbs file.
Dim App 'As Application
Set App = CreateObject("QuickTest.Application")
App.Visible = True
Note:'Common_Functions' is a Library resource in ALM
When I execute this file from UFT, getting the error as:'Invalid number'.
How can we add function library using AOM?
Thanks in advance..
Why are you not running from ALM instead of AOM?
Your approach is wrong. You shouldn't run AOM scripts from UFT. If you want to associate a function library dynamically, look at LoadFunctionLibrary method.
Tags for this Thread