1997 pontiac sunfire

It will turn over but will not start. It getting niether gas or spark. I have replace the camshaft posision censor. what could it be?

If there’s no fuel injection or ignition system function, most likely the problem is with the Crankshaft Position sensor. Not the Camshaft Position sensor.

Tester