I am trying to add custom counters for tested application; however, when I get to the Counter Window as shown in the attached picture, my app name is not shown in the list.
I open Taks Manager and see my app in there.
Please give me some ideas? Thanks.
I am using windows 10.
Solved! Go to Solution.
Might be a silly question, but was your application running when you start to create the counter?
From the documentation:
|Note:||If your application is not running at the moment of counter creation, close the wizard, launch the application and repeat the procedure from the beginning.|
Yes, my application is running when trying to add counters for it.
I can see my application in Task Manager window, but not in the Performance Counter.
The first step of selecting the performance counter is selecting the host. Are you certain that you selected the proper machine/host name in the wizard?
I copy the system name from "System Information", and paste to the Performance Counter. So, yes I am sure that I have the correct name.
Can you show us your application in the TestComplete Object browser as that is how TestComplete views applications? It could be that your application is there but is a child off of some other system process. It would be good to see how TestComplete sees your application rather than just Windows task manager.
Now it happends again after TC crashes.
My UAC is still disable.
Reboot my system
launch my test app
go to Performace Counter, and my app name is not showing anymore.
Does anyone have any idea?
I found the answer. The reason is I did NOT restart my computer after disabling UAC.
Now it works fine.