whirlpool gas range

my oven stopped working then the broiler stopped a week later the top burners work when I try to put on oven or broiler I get no spark from either igniter I took apart back panels seen if all wires were in put back together took off oven igniter sanded electrode replaced tried oven and nothing later that night my wife was going to broil a steak was going to manually lite with match but it actually went on. then later tried the oven witch also worked they were good for about a week now there off again by then my new igniters I purchased arrived so I tried new one in oven nothing happened. so im stumped any suggestions. gas does come on but no spark