Set Appliance State:

Isolate Mains Power to appliance as per TOPs P4
Set Multimeter to Resistance Set meter to measure resistance
Remove the connector from the gas valve

Measurement:

Test 1:
Measure the resistance between the two outer terminals
of the gas valve.
Expect approximately 4.2 kohms.
Test 2:
Measure the resistance between the top terminal of the gas valve and the earth at the incoming mains supply.
Expect a resistance greater than 1 Mohm.

Are the resistances measured as above?