Just went through this last weekend, none of mine worked. Pulled them both out of the door frame and they were so corroded they wouldn't make contact anymore. A little corrosion removal and good as new.
I would run a ground (jumper) to your door switches while they are removed and check for power with a test light, and verify that you didn't buy bad switches. If no volts present start back-tracking.