I have just changed the dishwasher for a bosch and so far so good the electrics are away from any water and are unlikely to get damp unless the dishwasher leaked up the wall at the back.
if I have any more of this problem it obviously is some other problem but I am sure it is a faulty batch of hotpoints but we will see.
Thanks for your advice I know it was a bit of a tricky one.
I must admit they didn't seem very surprised at the shop I got the feeling I was not the first!!