Arduino Uno board Wireless communication with 2 Xbee S1

I'm trying to do a wireless connection with Arduino Uno board and Xbee, Without connecting the Uno board and Xbee uno shield with my labtop, I want to run my code.

The code runs well when I connect it with my labtop, and when I connect the first xbee and second xbee on the xbee shield and Uno board, the 2 xbee communicates well. But when I disconnect the Xbee shield and Uno board with my labtop, it doesn't work. Please help me..


Check for 5 volts at the 5v pin.