passenger door power window doesn't work on 2003 Chevrolet Avalanche 1500

passenger door power window doesn't work, hear clicking when press the button. How can I figure out if it's the switch or the motor?

Asked by for the 2003 Chevrolet Avalanche 1500
You'll need to get in there with a voltmeter or test light to determine if the motor is getting power or not, and determine why if it isn't. It sounds like the switch is working, so it's likely the motor or wiring.
Try smacking the door while operating the switch, see if the motor starts to work.
1 more answer
if its just clicking in the switch its the switch if you get a humm from the window motor when holding the switch its the motor