The test is usually conducted in a healthcare providerâs office or hospital. The pregnant woman will lie down in a comfortable position. Two belts with sensors will be placed around her abdomen: one to measure the fetal heart rate and the other to detect uterine contractions. The mother may be given a button to press whenever she feels the baby move. The test usually takes about 20 to 40 minutes.