An electronic device comprising: one or more wireless communication modules (100, 310, 410), wherein a wireless communication module (100, 310, 410) among the one or more wireless communication modules (100, 310, 410) 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 (100, 310, 410) are performed after adjusting the phase shifter of the wireless communication module (100, 310, 410), wherein the phase shifter of the wireless communication module (100, 310, 410) is adjusted based on phase offset information stored in the memory of the wireless communication module (100, 310, 410), wherein the phase offset information is determined based on a phase difference between the wireless communication module (100, 310, 410) 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 (100, 310, 410) and a frequency output of the reference wireless communication module or a relationship between an output power of the wireless communication module (100, 310, 410) and an output power of the reference wireless communication module. one or more wireless communication modules (100, 310, 410), wherein a wireless communication module (100, 310, 410) among the one or more wireless communication modules (100, 310, 410) 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 (100, 310, 410) are performed after adjusting the phase shifter of the wireless communication module (100, 310, 410), wherein the phase shifter of the wireless communication module (100, 310, 410) is adjusted based on phase offset information stored in the memory of the wireless communication module (100, 310, 410), wherein the phase offset information is determined based on a phase difference between the wireless communication module (100, 310, 410) 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 (100, 310, 410) and a frequency output of the reference wireless communication module or a relationship between an output power of the wireless communication module (100, 310, 410) 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 (100, 310, 410) are performed after adjusting the phase shifter of the wireless communication module (100, 310, 410), wherein the phase shifter of the wireless communication module (100, 310, 410) is adjusted based on phase offset information stored in the memory of the wireless communication module (100, 310, 410), wherein the phase offset information is determined based on a phase difference between the wireless communication module (100, 310, 410) 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 (100, 310, 410) and a frequency output of the reference wireless communication module or a relationship between an output power of the wireless communication module (100, 310, 410) and an output power of the reference wireless communication module.