During the driving test, when encountering a railroad crossing, you should:
Pass another vehicle on the tracks if the other vehicle is going too slow.
Get out of the vehicle to check for a train.
Not change gears while your vehicle is on the tracks.
During the on-road driving test, do not stop, change gears, pass another vehicle, or change lanes while any part of your vehicle is in a railroad crossing.