How is stomach cancer diagnosed?

Biopsy. Cancer may be suspected on x-ray or endoscopic examination. Definitive diagnosis needs a biopsy and examination of the tissue by a pathologist.
Gastroscopic biopsy. Final diagnosis is made after gatroscopic biopsy.