A resting electrocardiogram (ECG), also known as a 12-lead ECG, is a frequently performed test that measures the electrical activity of your heart. During this test, small electrodes are attached to your chest, arms and legs to record the consistent impulses that regulate your heart's beat. A resting ECG can assist doctors in detecting a variety o