In presence of electric and magnetic field, the cathode rays travel in straight line is not the result. Actually, they are deflected by electric and magnetic field. When the rays are passed between two electrically charged plates, these are deflected towards positively charged plate. In magnetic field, they are deflected at a right angle to both the field and to the direction of particle.