A resting electrocardiogram (ECG), also known as an electrocardiogram at rest, is a non-invasive test that records the electrical activity over time. During this examination, electrodes are attached on your chest, arms, and legs to detect the heartbeats produced by your heart. This essential information reveals details about your heart's capacity.