Product review (5 stars): Did the Job and Saved me some Bucks!
I would love to give directions for how to fix your dishwasher, but I'm afraid that some idiot will harm themselves and blame me, so I'll limit my comments factoids about the thermostat and dishwasher.  You can draw your own conclusions:

1- My dishwasher was not warming the water, and was not drying the dishes
2- I replaced the heating element first - complete waste of time and money
3- When I replaced the thermostat, like another reviewer noted, there were signs the thermostat overheated before it failed
4- When I replaced the heating element, there was no change.  When I replaced the thermostat the water was again hot, and the dishes were dry.
5- My old thermostat would no longer carry any continuity with my Ohm tester, but my new thermostat does
6- The thermostat is positioned so that it is never exposed to water.  It appears to detect heat radiating through the bottom of the basin
7- The whole job took less than 15 minutes and one phillips screwdriver
8- I was sure check that there was no power running to the dishwasher so I wouldn't be lying on the floor flopping like a trout and unable to pull my arm back out of the unit if I touched something 'hot'.  If you don't know how to cut the power to the dishwasher, or to disconnect the power at the connection point beneath the dishwasher, cancel your order and pay a repairman.