Window wash motor test good but does not work on 1999 Hyundai Sonata

The window washer motor will not go on to put out the water, all the easy things have been done, fluid fine, fuse good, power to motor fine, motor good. Could it be the button that you push or could there be a bad wire that comes out of the washer motor ? That other wire that comes out of the washer motor where does it go? I know when you ground it the motor works but will not shut off. So where does this wire go? Or am I going in the wrong direction ? It is fustrating when you test and every thing is good and then you can not find the last componant. Thanks Kason

Asked by for the 1999 Hyundai Sonata