If you're are just starting out, my suggestion is to take somebody who's experienced in playing the digital piano with you to test it out. That's your best safe-guard as it will be difficult for you to pick out problems.
The key thing to test are the key response and mechanism. Depending on how old the digital piano is (and how it's being used), the keys are usually the first to go. The electronic components are usually ok. Also make sure the buttons/faders are working. Also, check the connections (audio, headphones, pedals etc) and make sure they are not loose. Scratches etc are part and parcel of wear and tear, and they are very minor issues. However if you spot a large crack or some broken parts on the keyboard body, it shows it has been knocked/dropped and therefore damaged.
Also, if the DP you're getting is a portable one, then there's greater likelihood of wear and tear. A non-portable DP (e.g. Clavinova) won't experience drops.
- - - Updated - - -
If you're are just starting out, my suggestion is to take somebody who's experienced in playing the digital piano with you to test it out. That's your best safe-guard as it will be difficult for you to pick out problems.
The key thing to test are the key response and mechanism. Depending on how old the digital piano is (and how it's being used), the keys are usually the first to go. The electronic components are usually ok. Also make sure the buttons/faders are working. Also, check the connections (audio, headphones, pedals etc) and make sure they are not loose. Scratches etc are part and parcel of wear and tear, and they are very minor issues. However if you spot a large crack or some broken parts on the keyboard body, it shows it has been knocked/dropped and therefore damaged.
Also, if the DP you're getting is a portable one, then there's greater likelihood of wear and tear. A non-portable DP (e.g. Clavinova) won't experience drops.