Salt analysis using spectroscopy A few days ago, I learned the lengthy process of salt analysis during my practicals. The process is based on deductive reasoning but is too lengthy. 

What I am thinking is, can't it be done using the fact that all molecules have unique emission spectra? I searched for it and found that it's the same thing as the flame test which was covered in my class.

But a flame test is only used for metal ions. So, my question is: Is there a way in which I can determine the metal ion as well as the radical part(anion part) of the salt using spectroscopic methods? What equipment would I need for it?
Two of the methods are:

Atomic Absorption Spectroscopy - similar to the flame test, but is usually quantitative. The sample is heated (in a flame or furnace) and the absorbance at a defined wavelength is measured against standardized solutions. It will work for any atom if you use a tunable laser.

ICP/MS (Inductively Coupled Plasma/Mass Spectrometry) - a solution of the compound is ionized and passed into a mass spectrometer. Some atoms (especially halogens) cannot be properly ionized and passed into the mass spectrometer. Oxygen and nitrogen (and a few others) would be difficult to quantify since it may come from impurities in the sample.