How Do Home Pregnancy Tests Work? These tests work by measuring the quantity of a hormone called human chorionic gonadotropin (hCG) in your urine. Once you have conceived, it will take about 10-14 days for hCG to show up in your urine. History of the Pregnancy Test. How to Take a Pregnancy Test.