What is the make and model number of your unit, please?
Ok The problem you are having is the lid switch. To diagnose this properly you will need the service manual for your unit.
What I have done is upload the service manual for your unit. It has all the diagnostic proceedures and is clearly illustrated. You can get it by clicking here.
To download this file:
On the first page scroll down to the bottom and select "FREE"
On the next page enter the letters in the box and select "download"
Save the file to your hard drive and open it with a .pdf reader. I recommend FoxIt reader. (foxit.com) Its smaller than adobe and no spyware.If there is something in the manual that you do not understand just post here, and I will walk you through the proceedure.
If this answer satisfies your question please click on the accept button. If it does not, please tell me so. You are not expected to accept any answer that you are not happy with. I do expect you to let me know if you are not satisfied, and what I can do to put a smile on your face.
Thank you for using Just Answer. Please tell someone about us.Best regards; The Home SmithyAfter you have accepted it is important that you leave positive feedback.