Reflux with aqueous sodium hydroxide
Neutralise with dilute nitric acid
Add silver nitrate
Cl- = White precipitate (AgCl), dissolves in conc and dilute NH3
Br- = Cream precipitate (AgBr), dissolves in conc NH3
I- = Pale yellow precipitate (AgI), does not dissolve in NH3