 For most purposes and in most cases the capacitor must be disconnected from circuit.Many DVMs (digital volt meters) have a capacitance-measuring function.These usually operate by charging and discharging the capacitor under test with a known current and measuring the rate of rise of the resulting voltage; the slower the rate of rise, the larger the capacitance.