How do I test drain solinoid

Dish washer wont drain. I can manually press solinoid at the correct time during the cycle and it will drain. solinoid moves freely. how can i test to make sure the solinoid is faulty. Thanks in advance

Here are your parts includes a wiring diagram
Replacement parts for MAYTAG MDB2400AWT Dishwasher - Undercounter | AppliancePartsPros.com

Check for voltage across it.
If it gets 120 volts when it should and is not pulling in then it is toast.
If it does not get voltage odds are the timer is toast.