This may or may not work depending on the circuit topology of the UPS, but what I have done repairing a UPS before is actually to power it up will all the inverter output transistors out of circuit and checking for proper switching waveforms at the gate connections of the transistors. Usually you do get a few cycles of switching before the UPS fails its self diagnostics and shuts down the inverter drive.
The reason I do this is that more often than not, output transistors blowing is due to a problem in the drive circuits rather than the output circuits themselves. If one or more transistors aren't getting proper switching waveform, you get a nearly instant bang, usually due to one or more transistors in the H-bridge coming on when it shouldn't be.
Once I've confirmed proper gate switching waveforms then I put all the transistors back in circuit and hope for the best. I've had rather good luck using this repair strategy.
Important note: don't just lift the gates of the transistors, remove them completely from circuit. Floating gates can cause the transistors to inadvertently switch on resulting in a big bang - don't ask me how I know.