Using Performance Counters in a Web Application
I understand TestComplete uses performance counters from Windows Performance Monitor to measure the memory usage and processor utilisation of an application. In order to add such a counter, the relevant process must already be running and available in the Add Counter wizard under Current Project Properties.
Of course, when I run a web application in my automated test the process ID will be different every time the process is launched. This means I'll have to re-enter the performance counters every time the app is restarted, which is obviously very impractical. Is there any way to measure the performance of the specific process launched by TestComplete using the corresponding ID?