TPC automation framework