Hi I have a 2007 Nissan quest my battery and break light is on so I check the battery and alternator there good I check the spark plug if it's spark it doesn't so i check the coil theres no power on the coils so replace the crankshaft sensor still no spark all the fuse is good now my window doesn't work my key ignition light is on but the car cranks but no spark tnxz

almost always that's either a bad alternator or bad wiring to the alternator. I would double check the alternator myself first.