public int WaitForCounterToStabilize(string counterName, int timeout = 20000, int pollStep = 500) { AutoTestSession.CounterContext context = session.CreateNewCounterContext(counterName); return(session.WaitForCounterToStabilize(context, timeout, pollStep)); }