An ECG is a relatively simple test to perform. It is non-invasive and does not hurt. Patches are placed on the skin to detect electrical impulses that the heart generates. These impulses are recorded by an ECG machine and the results are sent directly to your doctor. The test normally takes 5 to 15 min to perform.