Fetching details from the dictionary...
trial and error
何度も試行錯誤を重ねた。
I went through repeated trial and error.
試行錯誤の末にようやく完成した。
After much trial and error, it was finally completed.
科学の進歩は絶え間ない試行錯誤によって支えられている。
Scientific progress is sustained by constant trial and error.