The deflectometry provides an optical testing method with ultra-high dynamic range. In this paper, a microscopic testing method based on deflectometric technique is proposed to quantitatively evaluate the microstructures according to the wavefront aberration. To achieve the real-time and accurate wavefront testing for microstructure evaluation, a colorcoded phase-shifting fringe pattern is applied to illuminate the test object. It avoids the sequential projection of multistep phase-shifting fringes in traditional deflectometry, enabling the transient wavefront testing. The feasibility of the proposed transient microscopic testing method is demonstrated by the experiment. The proposed method enables accurate and transient testing of microstructures with high dynamic range, minimizing the environmental disturbance.