Radiographic testing makes use of X-rays or gamma rays, whereas ultrasonic testing utilises mechanical vibrations similar to sound waves of higher frequency.