Answer:
OK, well Earth Loop Tester have a permanent magnet in it. When we rotate it, the flux cut the the conductor and consequently an emf is produced. As we connect the two point of the tester to the earth it complete the circuit and current start flowing through it.
The ratio of voltage and current give us the Impedance of Earth.