I replaced the pump on my Kitchenaid dishwasher, but then the heater did not work. The resistance of the heater and the thermostat checked out fine. I thought I reset the control panel by pressing 3 buttons 3 times in a row (which gave the code 7-1, indicating the heating element). The resistance of the heater and the thermostat checked out fine. The problem, I think, was that I canceled the diagnostic function after it gave the code, so it seems the panel was not fully reset. I had to let the washer go through the full diagnostic process and run through the different functions, (and not interrupt it). That fixed the heater.
-sb