We describe experimental and related theoretical work on the measurement of the Casimir force using semiconductor test bodies. This field of research started in 2005 and several important and interesting results have already been obtained. Specifically, the Casimir force or its gradient was measured in the configuration of an Au-coated sphere and different semiconductor surfaces. It was found that the force magnitude depends significantly on the replacement of the metal with a semiconductor and on the concentration of charge carriers in the semiconductor material. Special attention is paid to the experiment on the optical modulation of the Casimir force. In this experiment the difference in Casimir force between an Au-coated sphere and a Si plate in the presence and in the absence of laser light was measured. Possible applications of this experiment are discussed, specifically, for the realization of the pulsating Casimir force in three-layer systems. Theoretical problems arising from the comparison of the experimental data for the difference in Casimir force with the Lifshitz theory are analyzed. We consider the possibility to control the magnitude of the Casimir force in phase transitions of semiconductor materials. Experiments on measuring the Casimir force gradient between an Au-coated sphere and a Si plate covered with rectangular corrugations of different characters are also described. Here, we discuss the interplay between the material properties and nontrivial geometry and the applicability of the proximity force approximation. The review contains comparison between different experiments and analysis of their advantages and disadvantages.