A method of operating a diagnostic device for performing a refractive errors assessment, the diagnostic device including a display configure to render dynamically adjusted, binocular or dichoptic visual stimuli to a user, a varifocal optics system orientated between the display and the user's eyes, an ocular reflex analyzer emitting light signals towards the user's eye s and obtaining light signal reflected from selected part of the eye to measure eye accommodation during an on-going visual stimulation, an eye tracking system configured to track movement of the user's eyes, and a processor, the method including the processor executing the algorithm steps of:
- displaying visual stimuli on the display based on desired refractive errors assessment test procedure;
- collecting eye movement data using eye tracking system;
- collecting ocular accommodation data using the ocular reflex analyzer;
- and
- determining best refractive correction and ocular behavior based on collected eye movement data and ocular behavior data.