Kenmore dishwasher not heating water or drying

My Kenmore dishwasher has not been cleaning dishes well lately and now it seems it has stopped drying well too. I know that the water during the wash cycle is not staying hot nor is it hot in the tub during the drying cycle. I have just replaced the heating element and hi limit thermostat to no avail. Please help me troubleshoot what else it could be. Thanks in advance.

Hello,

Which cycles and options did you set?

If the heating element and the hi-limit thermostat did not fix the problem and there is nothing wrong with the wires and settings, replace the control board.

Gene.