An electrocardiogram, abbreviated ECG or EKG, is a quick, painless test that records the heart's electrical signals through electrodes placed on the skin. Among many other things, it measures the QT interval.
A clinician may order one before or during treatment when heart rhythm is a consideration.