WARNING: This page is about a different car, the 2016 Hyundai Elantra GT and 2015 Hyundai Elantra GT. However, it is still accessible from the selected car via links, so may be relevant.
Connect the GDS on the Data Link Connector (DLC).
Measure the output voltage of the RPS at idle and various Engine speed.