Gilmartin had been offered a new deal by Saddlers boss Chris Hutchings and the two clubs are now expected to agree a compensation package.
He will compete for a starting place with Watford's other young goalkeeper, 22-year-old Scott Loach.
Source: BBC Sport
Source: BBC Sport