Bosch dishwasher SHE55M02UC /50 pump motor Wiring may not be connected properly

Brand: Bosch
Model Number: SHE55M02UC /50
Main Symptom: Pump Motor Not Running
What happens & when: Replaced but connections may not be correct. When power was applied something continued to run.

Error Code (if any):
Parts or tests already tried:
Photos / video link:

If there is a motor running when in the off position then check the pan under the unit and make sure that there is not water in it. If there is then this will likely be a water valve issue.