expression

By trial and error.

Theme: knowledge Keyword: experience

means

By testing different approaches and learning from unsuccessful attempts.

Example

They learned by trial and error how to keep the seedlings alive through summer.