Are you testing the voltage to the motor (from the switch) while the motor is connected? To do so you will need to back-probe the electrical connector at the switch or motor. If the switch has failing contacts it may show voltage with the motor disconnected since there is no load, but when forced to pass current the voltage may drop to nearly nothing.