In this paper, we propose the design of a robotic system to semi-automatically align components in the Ronchi test; the robotic system will align the Ronchi tester with the surface being tested. In this work, we present the control system design of a rail system with two degrees of freedom, which allows semiautomatic alignment of the Ronchi tester with the surface in production. Informative visual markings (IVM) are used to achieve this [1]. The IVM help locate the system coordinates of the optical surface with respect to the basic system coordinates of the rail system. Quantification of the alignment is performed using the value of non-integer interference order, which is calculated to generate the simulated ronchigram which more closely resembles the experimental ronchigram [2].