I disconnected the water inlet valve and I can not put it back the right way.
Answer Hello Sussy. We will need your model number to help you with this. Please post your model number with a new question on the parts page. http://www.appliancepartspros.com/modelnumber_locator.aspx
How do you test this valve? Washer agitator starts auto w/o water.
Answer Hello Brad. Based on the information you provided, it is not the valve that is bad, but the pressure switch and hose W10339326 will need to be replaced. Hope this helps.