KitchenAid Dishwasher

Dishwasher won’t run at all, replaced control board, will now fill with water but motor doesn’t run (wash cycle doesn’t operate). Motor not operating, could problem be the motor or the capacitor?