Chemical analysis is done by spectrometer of each heat.
Other testing facilities are available like hardness & mechanical tests etc.
Metallurgical microscope with image analyzer software is available to check micro structure, grain size after heat treatment.