How to test fuel sender

The only way I know how to test the sender is out of the tank and ohm test. With the wire going back to the tank ground it with a test light. If you get a on off repeating signal then your wire is good. But your sending unit is not. Ground the sending unit and it should work.