Remove the housing of microwave oven. High voltage capacitor with high rating diode Discharge the capacitor using nose plier. Carefully short the terminals of capacitor using nose pliers After discharging the capacitor, remove the wires connected to the capacitor terminals using nose pliers. Check the capacitor using continuity tester.
If the capacitor is found to be shorted, replace the capacitor. Remove the bracket of the capacitor mounted on the body of microwave oven. Replace the capacitor with the same parameters, like capacitance value, voltage rating, Mount the capacitor on the body of microwave oven, connect the wire to the terminals of new capacitor.