Forum Discussion
TestedApps doesn't want a project name as a parameter. It wants an application name.
- Olya5 years agoNew Contributor
Yes, but in my case the project name matches the application name.
When I change the code as follows it starts working properlyThis is function in my extension
Sub FillLoginForm("App")
App.Items("ApplicationName").Run()
End SubThis is my function call, by using extension
Sub Test()
WMI.FillLoginForm TestedApps
End Sub- AlexKaras5 years ago
Champion Level 1
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... - Marsha_R5 years ago
Champion Level 3
Is there still a problem? Looks like you fixed it by updating the parameter.