An electrocardiogram (ECG) is a non-invasive diagnostic test that measures the heart’s electrical activity or heartbeat. It is recorded using electrodes or sticky patches placed strategically over the chest and extremities. These electrodes pick up on the heart’s electrical activity to produce a graph of waveforms that shows your physician multiple cardiac cycles.