trial and error
US /ˈtraɪəl ənd ˈer.ər/
UK /ˈtraɪəl ənd ˈer.ər/

1.
prueba y error, ensayo y error
the process of experimenting with various methods of doing something until one finds the most successful
:
•
Learning to ride a bike is often a process of trial and error.
Aprender a andar en bicicleta es a menudo un proceso de prueba y error.
•
We found the best solution through a lot of trial and error.
Encontramos la mejor solución a través de mucho ensayo y error.