This painting is a definite work by Pietro Paolo Raggi, born in Genoa in 1646.
Expert appraisal by Dr. Davide Dotti, who after careful study affirms that it depicts the narrative of the First Book of Samuel (1-28) or, more simply, a "Scene of Necromancy."
There are several paintings by the same Raggi in the sanctuary of Desenzano and in the basilica of Alzano Lombardo