A method for testing a photovoltaic panel connected to an electronic module. The electronic module includes an input attached to the photovoltaic panel and a power output. The method activates a bypass to the electronic module. The bypass provides a low impedance path between the input and the output of the electronic module. A current is injected into the electronic module thereby compensating for the presence of the electronic module during the testing. The current may be previously determined by measuring a circuit parameter of the electronic module. The circuit parameter may be impedance, inductance, resistance or capacitance.