Solution for EMI/EMC precompliance testing and troubleshooting