How do you test a power window motor to see if it is bad?

You gain access to the motor wiring harness and apply 12 VDC to see if the motor functions.

Tester