Electrocardiogram (ECG). This test records the electrical activity of your heart through electrodes attached to your skin. Impulses are recorded as waves and displayed on a monitor or printed on paper.
This test helps your doctor diagnose heart rhythm problems and damage to your heart from a heart attack that may be underlying heart failure.