In New York State, field sobriety tests are part of the police academy training and Department of Protocol that a police officer is supposed to employ before they make a determination whether to arrest your or let you go in connection with a DWI stop.
If an officer stops you for a traffic infraction and believes that you might be intoxicated, they will ask you if you’ve been drinking, ask you to exit the car, and then have you perform a standardized field sobriety test.