There are several tests your health care provider may do to help diagnose gastroparesis. These tests may include the use of the following:  Upper GI endoscopy. Upper GI series. Ultrasound. Gastric emptying scintigraphy. Breath test.