When your dishwasher fails to heat its not always the element which has failed. Thermostatic, wiring damage and electronic board faults can also be responsible. Best to call a professional to deal with this as tracing the cause is the first thing to do here.