The physical and drug test are done after getting your CDL permit, but before passing the license test. Once you are a licensed driver, your name goes into a pool for random drug testing. You can also be tested if you are involved in an accident.