First add dilute nitric acid, followed by silver nitrate solution. Chloride gives a white precipitate, bromide gives a cream precipitate, iodide gives a yellow precipitate
Take a sample of the metal and hold on a spatula in a flame from a Bunsen burner and witness the colour that the flame turns dependent on the metal being tested