I've never bought a guitar without playing it, with one sort of exception.
Although I have bought a couple without playing them plugged in (Electrics)
My first guitar my parents bought and it was a Christmas present. So I never got to try it first.
My LP I bought without plugging it in, but it was used and the previous owner had put in different pickups, and I was going to be changing them anyways, so I didn't need to plug it in. If something else needed fixing wire-wise, it didn't matter either, as it could easily be fixed when the new pickups went in.