Trial
late Middle English (as a noun): from Anglo-Norman French, or from medieval Latin triallum . The verb dates from the 1980s.
wiktionary
From Middle English trial, triall, from Anglo-Norman trial, triel, from trier(“to pick out, cull”) + -al. More at English try.
From Latin tri- (stem of trēs(“three”)) + -al, on the pattern of dual.
etymonline
trial (n.)
mid-15c., "act or process of testing, a putting to proof by examination, experiment, etc.," from Anglo-French trial, noun formed from trier "to try" (see try (v.)). Sense of "examining and deciding of the issues between parties in a court of law" is first recorded 1570s; extended to any ordeal by 1590s.
As an adjectival phrase, trial-and-error is recorded from 1806. Trial balloon (1826) translates French ballon d'essai, a small balloon sent up immediately before a manned ascent to determine the direction and tendency of winds in the upper air, though the earliest use in English is figurative.