Light bulbs

You're in a room with three switches that open three lightbulbs in a separate room. You don't know which switch turns on which lightbulb. How do you find out which switch goes to which lightbulb by entering the other room only once? You don't have any help, you can't see the other room while you are in the room with the other switches or vice versa, you can't make any device that extends your reach into the other room, etc.