maytag dishwasher will not operate

dishwasher will not run,there is power to the door switch and both sides of the door switch come on and off when continuity through the switch is checked. any thoughts before i am forced to buy a timer which is the next step as far as the repair sites i have visited