Object required: 'TestedApps' error
Hello,
I am trying to run the script which is using the extension created by me. But I get an error: Object required: 'TestedApps'. Here is the function which I am trying to run using WMI object. Can anyone help to handle this error?
This is function in my extension
Sub FillLoginForm()
TestedApps.Items("ApplicationName").Run()
End Sub
This is my function call, by using extension
Sub Test()
WMI.FillLoginForm
End Sub
Hi,
> script which is using the extension
If you are talking about Script Extension, then TestedApps object is not available to the Script Extension (https://support.smartbear.com/testcomplete/docs/working-with/extending/script/objects-reference/index.html).
But it is interesting that TestedApps object can be passed as a parameter and the code works as expected...