Forum Discussion
OK... under Mapped Objects, you should see a collopsed node that says "Sys". Expand that. Somewhere in that list is your app (you called it "MyApp"). Click on that.
In the right hand side then, you should see all the properties being used to map your application. For example, in this screenshot, I'm mapping the Windows Paint application as Aliases.mspaint and it is using the simple criteria that it has a process name of "mspaint".
If, on the off chance, MS Paint starts and it has a DIFFERENT process name than "mspaint", even though the application is running, Aliases.mspaint will return an object not found error.
I got it working. I had the script start the application, and then the script could find the process. I'm still not sure why it couldn't find the process if it didn't start the application, but this works. Thanks.
- rlent9 years agoContributor
For some reason, I don't see Sys under here. (Workbench is my application). It does work when I have the script start the application, but I am curious why it didn't work otherwise. If I don't figure it out, I'll be OK. Thanks again
- tristaanogre9 years agoEsteemed Contributor
You have the Mapped Objects part of the panel collapsed so you're only viewing the aliases. That's OK because the properties of the aliases should match the properties on the mapped objects.
My guess is, at this point, since it looks like you only have ProcessName as a property (I can see that much) and that running it from the scripts fixes the problem then most likely you are running the application under one user privilege level but TestExecute is running under a level that cannot see it. That's my best guess without more information... but I'm glad it's working now.