The test involves the collection of stool samples over a few days. The samples are then examined under a microscope to identify the presence of ova (eggs) and parasites. In some cases, molecular techniques such as PCR (Polymerase Chain Reaction) may be used to enhance detection accuracy.