Dishwasher fills but does not wash

Dishwasher will fill with water but the motor will only come on for a few seconds at a time…but it does drain…I would like to have a tech sheet to run a diagnostic test…it does not show any fault codes