Your doctor may examine your rectum and anus using a gloved finger and lighted scopes. Additional diagnostic tests including a stool test that detects for blood in your feces may also be used to diagnose hemorrhoids.