System and a method for electrically testing a semiconductor wafer, the
method including: (a) scanning a charged particle beam along at least one
scan line while maintaining an electrode located at a vicinity of the
wafer at a first voltage that differs from a voltage level of a first
scanned portion of the wafer, and collecting charged particles scattered
from the first scanned portion; (b) scanning a charged particle beam
along at least one other scan line while maintaining the electrode at a
second voltage that differs from a voltage level of a second scanned
portion such as to control a charging state of at least an area that
comprises the first and second scanned portions; and (c) repeating the
scanning stages until a predefined section of the wafer is scanned.