Your heart test , also known as an electrocardiogram or ECG, provides a record of your heart's electrical performance while you're relaxed . This standard test involves placing small electrodes to your torso , arms, and legs . The ECG machine then displays these electrical signals , allowing your