Hello.
Hpv infects the basal layer of the skin. Therefore infection can be established only when there is an access to them. Microscopic trauma is enough.
The infected person (having the active phase) sheds the virus particles whether showing symptoms (such as warts) or not, as the dead cells normally sloughed off.
So to put it in simple words, not necessarily - genital warts can also appear in areas where there was no direct original contact with the source (due to the shedding). Therefore, the condom offers a limited protection against HPV, YET PLEASE DO REMEMBER IT:S HIGHTLY IMPORTANT TO PRACTICE SAFER SEX IN EVERY SEXUAL CONTACT, for you and your partner's health. It's also important to use it also during the foreplay.
This way or another, clinical HPV infection (such as warts) on the testicles is quite uncommon.
It's possible for the same infection in the same indidual to cause symptoms partially, for example infected skin showing warts in one area but not showing warts in another area nearby.
It is where you had contact, where you the get the warts.