An eye exam may be used to diagnose glaucoma. The doctor will need to examine the inside of the eye by looking through the pupil, often while the pupil is dilated. The doctor will usually perform a complete eye exam.
During eye exams, your doctor will use tonometry to check your eye pressure. After applying numbing drops, the tonometer is gently pressed against the eye and its resistance is measured and recorded. 
Tonometry is used to check your eye pressure
An ophthaolmoscope can be used to examine the shape and color of your optic nerve. The ophthalmoscope magnifies and lights up the inside of the eye. If the optic nerve appears to be cupped or is not a healthy pink color, additional tests will be run. Pressure in the eye is normal in about 25% of people with glaucoma. This is called normal-tension glaucoma. There are other problems that cause optic nerve damage.

An ophthalmoscope is used to examine your optic nerve
Gonioscopy is used to check whether the angle where the iris meets the cornea is open or closed. This helps your doctor determine if they are dealing with open-angle glaucoma or narrow-angle glaucoma. 
Goniscopy is used to help your glaucoma type
Tests to diagnose glaucoma include: