How is farsightedness diagnosed at the doctors?

Exam. Checking a refraction, can be autorefractor, phoropter--manual or automated, trial frame/loose lenses, cycloplegic refraction, etc. Depends on age and amount.