kenmore dishwasher malfunction

Hi I have a kenmore ultrawash quietguard4 dishwasher, myproblem is that it stopped running through all its cyles. I tried the different diagnostic tests, i.e. heated dry-hitemp wash and also hitemp wash- normal wash. The control panel lights up and seems to run the tests,and i am able to start the washer again, but it stops before it is done and flashes the clean light seven times. I think the element is heating the water. can anyone help? I ant afford a new machine.