AFP testing is typically done through a blood test. The sample is analyzed in a laboratory to measure the amount of AFP present. The results can help in the diagnosis, monitoring, and management of certain cancers. For pregnant women, AFP levels are also measured as part of prenatal screening for genetic disorders.