A method for testing the electromagnetic compatibility of a radar detector with at least one onboard pulse signal transmitter, the radar detector and each onboard transmitter belonging to the same platform, by eliminating the external echo component in the signals received by the radar detector, the method comprising: - a training phase including, for each onboard transmitter: - an acquisition subphase seeking to obtain detected pulses, each pulse being characterized by characteristics, the characteristics including at least the date of arrival of said pulse and the carrier frequency of said pulse, the subphase including: - acquiring signals derived from pulses emitted by said onboard transmitter and each corresponding to the external echo component, to obtain the detected pulses, and - acquiring characteristic measurements of the detected pulses, - a computing subphase including: - distributing the detected pulses into classes grouping together the pulses for which at least two characteristics have a shared value range, and - selecting classes including a number of pulses greater than or equal to a predetermined threshold, to obtain selected classes, and - an elimination phase including: - building an elimination range, an elimination range being the set of pulses detectable by the radar detector belonging to the selected classes, and - eliminating, in the signals received by the radar detector, pulses belonging to the elimination range. - a training phase including, for each onboard transmitter: - an acquisition subphase seeking to obtain detected pulses, each pulse being characterized by characteristics, the characteristics including at least the date of arrival of said pulse and the carrier frequency of said pulse, the subphase including: - acquiring signals derived from pulses emitted by said onboard transmitter and each corresponding to the external echo component, to obtain the detected pulses, and - acquiring characteristic measurements of the detected pulses, - a computing subphase including: - distributing the detected pulses into classes grouping together the pulses for which at least two characteristics have a shared value range, and - selecting classes including a number of pulses greater than or equal to a predetermined threshold, to obtain selected classes, and - an acquisition subphase seeking to obtain detected pulses, each pulse being characterized by characteristics, the characteristics including at least the date of arrival of said pulse and the carrier frequency of said pulse, the subphase including: - acquiring signals derived from pulses emitted by said onboard transmitter and each corresponding to the external echo component, to obtain the detected pulses, and - acquiring characteristic measurements of the detected pulses, - acquiring signals derived from pulses emitted by said onboard transmitter and each corresponding to the external echo component, to obtain the detected pulses, and - acquiring characteristic measurements of the detected pulses, - a computing subphase including: - distributing the detected pulses into classes grouping together the pulses for which at least two characteristics have a shared value range, and - selecting classes including a number of pulses greater than or equal to a predetermined threshold, to obtain selected classes, and - distributing the detected pulses into classes grouping together the pulses for which at least two characteristics have a shared value range, and - selecting classes including a number of pulses greater than or equal to a predetermined threshold, to obtain selected classes, and - an elimination phase including: - building an elimination range, an elimination range being the set of pulses detectable by the radar detector belonging to the selected classes, and - eliminating, in the signals received by the radar detector, pulses belonging to the elimination range. - building an elimination range, an elimination range being the set of pulses detectable by the radar detector belonging to the selected classes, and - eliminating, in the signals received by the radar detector, pulses belonging to the elimination range.