To the best of my knowledge penicillin was found by chance, not trail and error. (A scientist left a petri dish of bacteria over night to test something, but when he came back in the morning the bacteria was dying due to penicillin g being present.)
Relenza, which helps cure influenza, was made...