The fecal occult blood test (FOBT) is performed as part of the routine physical examination during the examination of the rectum. It is used to detect microscopic blood in the stool and is a screening tool for colorectal cancer.