Try measuring with an ohmmeter. You will not damage anything that way and should be able to easily determine which wire is connected to the wiper. If the results are meaningless, then you probably have an active device which needs power rather than a simple pot. In that case the question asked by AK2DM needs to be answered.
Lynn