If your dishwasher has stainless steel tub you have to use
heater kit which includes control board.
The kit Part number: AP3841139
Also make sure you are using correct fuse kit and you are installing new wires.
The fuse kit Part number: AP3178588
The resistance of the heater is 10-35ohms.
Check the thermistor 48-53 K ohms at 77*F between P2-2 and P7 at the control board.
The thermistor Part number: AP3039201
The hi-limit thermostat may not be opening.
The hi-limit Part number: AP3010530
Thank you. Post the results.