No potential difference between the negative terminal of battery A and positive terminal of battery B?
Measuring over two separate batteries won't work as they have no reference between each other. Connecting two separate batteries with a single wire does not complete a circuit so current does not flow. It only makes the connected battery terminals to be at same potential, so you can build a 3V battery from two 1.5V batteries.