Turning the motor over via the starter relay bypasses the need to keep going in and out if the cab. It also bypasses the fuel pump from being activated.
You need to stop the fuel delivery before compression testing. I pull the fuel pump fuse while the car is running and let it die before doing any compression testing. Replace the fuel pump fuse when you're done testing.