Unplug the dryer power cord if you have not already done so when disassembling the cabinet. Place a piece of masking tape around the bottom or left wire of the thermostat, depending upon how the thermostat terminals are pointing. This helps ensure that you reattach the wires correctly after testing.
Pull the wires off the thermostat terminals with a pair of needle-nose pliers. Grab the wires where they connect to the terminal when pulling them off. This prevents accidentally breaking the wires.
Set the scale on your multimeter to the RX1 setting, according to the instructions for your model. Touch the end of one multimeter probe on one of the thermostat terminals and the other probe to the remaining terminal.
Read the scale on your multimeter. A good thermostat will provide a reading of zero. If the scale shows any other reading, replace the thermostat with a new one.