Sputter deposition is a versatile and industrially important deposition technique for thin films, with increasing demand for matching the characteristics of thin film materials to specific requirements. The actual film properties are largely determined by sputtering parameters such as pressure conditions, temperature and power settings. By means of various X-ray diffraction and scattering techniques, it is shown that the characterization of film formation and growth is feasible in real time at synchrotron sources, thus adding an important dimension to the fundamental understanding of the evolution of thin film microstructure. In particular, grazing incidence small-angle X-ray scattering, grazing incidence X-ray powder diffraction and X-ray reflectometry are used in a complementary manner to study the influence of deposition temperature and substrate choice on the crystallization kinetics and growth of polycrystalline BaTiO $$_3$$ films.