Esophageal cancer can be diagnosed through an imaging test (CT or CAT, MRI or PET scans), a barium swallow or an endoscopy exam. If one of these tests determines further testing, your doctor will ...