With the sender wires completely disconnected but installed in the tank, one of the two connections at the sender should show a short to ground (zero ohms) and the other should have some resistance to ground (either empty or full depending on the type).
Test this and let me know.
What happens to the gauge when the sender wire is disconnected at the sender and the ignition is turned on?