'trial-and-error' definitions:

Definition of 'trial-and-error'

(from WordNet)
adjective
Trying out various means or theories until error is satisfactorily reduced or eliminated; "he argued that all learning is a trial-and-error process that resembles biological evolution"
adjective
Relating to solving problems by experience rather than theory; "they adopted a trial-and-error procedure"