yup, warm up engine 1st. next pull the EFI fuse so you loose spark and fuel. have something hold the throttle body open. pull all spark plugs. compression tester installed and crank engine over 5-8 times, but try to keep them the same for each cylinder.
it helps to have a battery charger hooked up to the battery to keep a constant cranking speed