1. A system to perform optical and electrical tests, to adjust the focus and to seal the lens of digital fixed-focus cameras comprising: a control system having interfaces to a robot system and to means for executing optical and electrical tests, focusing and sealing of a lens; a means of executing optical and electrical tests and focusing and sealing a lens, being controlled by said control system, comprising a fixed and a rotatable part, wherein said fixed part is comprising a light source, optical lenses, two diffusers, a test pattern, electrical connections, a glue dispenser, height gauges, and wherein the rotatable part, holding the camera module to be tested, is comprising electrical probes and a means to move and to adjust the focus of said camera modules by moving the lens barrel; and a means to move the camera modules to be tested.