L1 (white) is Hi speed, L2 (black) is common and A (red) is Low speed.
Turn off power, disconnect the wires from the motor and make sure that they are not touching anything.
Turn on power, but don’t activate any speed. Check each line to ground and each line to the other lines. Each wire should test as 0 volts to ground and 0 volts to the other wires.
Starting on High speed, you should have 240 between white and black and 0 volts between black and red and zero volts between white and red.
Starting on Low speed, you should have 240 volts between black and red and 0 volts between white and red and 0 volts between white and black.
Turn off all power.
Next, with the wires still off of the motor, remove both capacitors and test the resistance between L1 and L2, L1 and A, and the resistance between L2 and A.
Do not do anything that you are not sure that you can do safely.
Do at your own risk.