That should work.
What are you using for antennas? At the minimum, you should have 17 cm of straight wire soldered to the ANT terminal of both transmitter and receiver.
also tried to connect the two data-out and data-in ports of the two board directly
Did you also connect the grounds?