The invention discloses a display panel, an electronic device and a test method. The display panel comprises a plurality of data lines that are arranged parallel to each other and a display array, wherein the data lines extend in a first direction, the display array comprises a plurality of pixel units that are arranged in an array manner, the pixel units and the data lines are equal in quantity, and one line of pixel units are electrically connected with a data line correspondingly; in a first direction, a test switch circuit is arranged on one side of the display array, and driving lead pins and test lead pins are arranged on the other side of the display array; the test switch circuit has a control end, an input end and an output end; the driving lead pins are electrically connected with the control end, the driving lead pins are used for inputting switch control signals, the test lead pins are used for inputting test signals, the test lead pins are electrically connected with the input end via part of the data lines, and the rest of the data lines are connected with the output end. According to a technical solution of the display panel, the electronic device and the test method, the data lines are reused as signal lines for the test lead pins, and narrow frame design can be facilitated.