[AfterTestRun] //MUST be static public static void AfterTestRun() { //Close AWG sessions CloseAllAWG(); // Close SCOPE sessions SCOPE.CloseAllScope(); // Close EXTSOURCE sessions EXTSOURCE.CloseAllExternalSources(); }