Unplug the electrical cord from the wall outlet and pull the washer away from the wall a couple of feet.
Examine the control console and determine how it is secured to the washer. On most washers there are two screws on the end caps that are removed to disengage the console. Some models have spring clips in the front of the console where it connects to the washer. The spring clips are released by sliding a putty knife between the console and the washer and pushing in on the clips, once they are located by feeling them with the putty knife. Flip the console back once it is loose.
Pull off the wiring harness from the door switch plug. Squeeze the tabs on either side of the plug to release the harness.
Set the ohm meter scale to zero. An ohm meter is a device which checks electrical continuity to ascertain if an electrical device has failed. Place the probes of the ohm meter on the terminals of the door switch plug. If the meter reads zero, the switch is bad and should be replaced.
Depress the switch with a chopstick and test the continuity. With the switch pressed in, the ohm meter should register zero. If the switch registers continuity with the switch depressed, replace the switch.