Q: Power window (just 1) isn't working. Does it have to be a wiring issue? on 2007 Pontiac Torrent

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
Front passenger power window isn't working (closed). all other windows are fine. Auto door lock in that door is fine. Is it a wiring problem, or something else?
(1) Answer
Could be both. Try a test light to the window motor inside the door. Test the wiring harness connected on the window motor to see if there is power.Have someone move the switch on the drivers main panel. If you get power going the the harness, of course that will tell you its the motor. If you don't get power then you know it's in the switch.