An electronic device comprising: one or more wireless communication modules , wherein a wireless communication module among the one or more wireless communication modules comprises: an antenna array including at least one antenna element; a phase shifter configured to control a phase of a beam radiating from the antenna array ; a processor connected to the phase shifter and configured to perform beamforming by controlling the phase shifter ; and a memory , wherein tests for an output power and beamforming performance of the wireless communication module are performed after adjusting the phase shifter of the wireless communication module , wherein the phase shifter of the wireless communication module is adjusted based on phase offset information stored in the memory of the wireless communication module , wherein the phase offset information is determined based on a phase difference between the wireless communication module and a reference wireless communication module , and wherein the phase difference is based on a relationship between a frequency output of the wireless communication module and a frequency output of the reference wireless communication module or a relationship between an output power of the wireless communication module and an output power of the reference wireless communication module . one or more wireless communication modules , wherein a wireless communication module among the one or more wireless communication modules comprises: an antenna array including at least one antenna element; a phase shifter configured to control a phase of a beam radiating from the antenna array ; a processor connected to the phase shifter and configured to perform beamforming by controlling the phase shifter ; and a memory , wherein tests for an output power and beamforming performance of the wireless communication module are performed after adjusting the phase shifter of the wireless communication module , wherein the phase shifter of the wireless communication module is adjusted based on phase offset information stored in the memory of the wireless communication module , wherein the phase offset information is determined based on a phase difference between the wireless communication module and a reference wireless communication module , and wherein the phase difference is based on a relationship between a frequency output of the wireless communication module and a frequency output of the reference wireless communication module or a relationship between an output power of the wireless communication module and an output power of the reference wireless communication module . an antenna array including at least one antenna element; a phase shifter configured to control a phase of a beam radiating from the antenna array ; a processor connected to the phase shifter and configured to perform beamforming by controlling the phase shifter ; and a memory , wherein tests for an output power and beamforming performance of the wireless communication module are performed after adjusting the phase shifter of the wireless communication module , wherein the phase shifter of the wireless communication module is adjusted based on phase offset information stored in the memory of the wireless communication module , wherein the phase offset information is determined based on a phase difference between the wireless communication module and a reference wireless communication module , and wherein the phase difference is based on a relationship between a frequency output of the wireless communication module and a frequency output of the reference wireless communication module or a relationship between an output power of the wireless communication module and an output power of the reference wireless communication module . <EOS>